This website requires JavaScript.
Explore
Help
Sign In
Personal
/
realms-wiki
Watch
1
Star
0
Fork
You've already forked realms-wiki
0
Code
Issues
Pull requests
Releases
Wiki
Activity
3d980e1459
realms-wiki
/
realms
/
modules
/
auth
/
oauth
/
__init__.py
6 lines
90 B
Python
Raw
Normal View
History
Unescape
Escape
systematic use of `from __future__ import absolute_import`. it eliminates `import NAME` confusion with very common names (eg. `import ldap` is very ambiguous: can be a ldap module from realms-wiki, a ldap module from flask-ldap-login, or `python-ldap` module. also cleant up a bit the import towards PEP8: builtin modules first, then 3rd party python packages, then local packages
2016-08-20 01:48:00 +03:00
from
__future__
import
absolute_import
fallback to default avatar if email is not set auth submodules are registered with initialized check if auth.local is loaded before accessing registration route check DB_URI before attempt to create db
2015-11-07 01:44:48 +02:00
from
.
.
models
import
Auth
Auth
.
register
(
'
oauth
'
)
Reference in a new issue
Copy permalink