mirror of
https://github.com/aquatix/digimarks.git
synced 2025-12-07 00:15:10 +01:00
Print user keys on startup
This commit is contained in:
@@ -255,5 +255,10 @@ if __name__ == '__main__':
|
|||||||
Bookmark.create_table(True)
|
Bookmark.create_table(True)
|
||||||
User.create_table(True)
|
User.create_table(True)
|
||||||
|
|
||||||
|
users = User.select()
|
||||||
|
print 'Current user keys:'
|
||||||
|
for user in users:
|
||||||
|
print user.key
|
||||||
|
|
||||||
# run the application
|
# run the application
|
||||||
app.run(port=9999, debug=True)
|
app.run(port=9999, debug=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user