Skip to content
Snippets Groups Projects
Commit 96a1ab76 authored by Nathaniel Kofalt's avatar Nathaniel Kofalt
Browse files

Add stub database script

parent e8201223
No related branches found
No related tags found
No related merge requests found
import json
from .. import config
print 'This is the stub database maintenance script.'
print 'DB uri: ' + str(config.get_item('persistent', 'db_uri')))
user = config.db.users.find_one({})
user_j = json.dumps(user)
print 'Example user from db: ' + user_j
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment