fixed bug in welcome and added more examples

This commit is contained in:
Massimo Di Pierro
2012-04-06 09:01:35 -05:00
parent e76a918944
commit 9d33ff85ea
4 changed files with 17 additions and 8 deletions
+3 -1
View File
@@ -44,7 +44,7 @@ auth = Auth(db, hmac_key=Auth.get_or_create_key())
crud, service, plugins = Crud(db), Service(), PluginManager()
## create all tables needed by auth if not custom tables
auth.define_tables()
auth.define_tables(username=False, signature=False)
## configure email
mail=auth.settings.mailer
@@ -79,3 +79,5 @@ use_janrain(auth,filename='private/janrain.key')
## >>> for row in rows: print row.id, row.myfield
#########################################################################
## after defining tables, uncomment below to enable auditing
# auth.enable_record_versioning(db)