fixed pep8 in apps
This commit is contained in:
@@ -16,7 +16,7 @@ else:
|
||||
## connect to Google BigTable (optional 'google:datastore://namespace')
|
||||
db = DAL('google:datastore')
|
||||
## store sessions and tickets there
|
||||
session.connect(request, response, db = db)
|
||||
session.connect(request, response, db=db)
|
||||
## or store session in Memcache, Redis, etc.
|
||||
## from gluon.contrib.memdb import MEMDB
|
||||
## from google.appengine.api.memcache import Client
|
||||
@@ -47,7 +47,7 @@ crud, service, plugins = Crud(db), Service(), PluginManager()
|
||||
auth.define_tables(username=False, signature=False)
|
||||
|
||||
## configure email
|
||||
mail=auth.settings.mailer
|
||||
mail = auth.settings.mailer
|
||||
mail.settings.server = 'logging' or 'smtp.gmail.com:587'
|
||||
mail.settings.sender = 'you@gmail.com'
|
||||
mail.settings.login = 'username:password'
|
||||
@@ -60,7 +60,7 @@ auth.settings.reset_password_requires_verification = True
|
||||
## if you need to use OpenID, Facebook, MySpace, Twitter, Linkedin, etc.
|
||||
## register with janrain.com, write your domain:api_key in private/janrain.key
|
||||
from gluon.contrib.login_methods.rpx_account import use_janrain
|
||||
use_janrain(auth,filename='private/janrain.key')
|
||||
use_janrain(auth, filename='private/janrain.key')
|
||||
|
||||
#########################################################################
|
||||
## Define your tables below (or better in another model file) for example
|
||||
|
||||
Reference in New Issue
Block a user