diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-08-20 11:01:10 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-08-20 11:01:10 +0200 |
commit | 58d1eb02ce4273ec5abb65763471147f7cdc6c6d (patch) | |
tree | 7aac99cdc8b56588b63f4020200cd9630bc91468 /monkey | |
parent | 2ec25e5ddaa41c32ab96f93dd2ad6a40646290b6 (diff) |
Remove unneeded DB init stuff from monkey.action
Diffstat (limited to 'monkey')
-rwxr-xr-x | monkey/action.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/monkey/action.py b/monkey/action.py index 0a6a7cb..121dced 100755 --- a/monkey/action.py +++ b/monkey/action.py @@ -252,12 +252,7 @@ def compress(actions): if __name__ == '__main__': import sys, os.path sys.path.append(os.path.dirname(os.path.realpath(__file__)) + '/..') # the parent directory is the app directory -# import django -# os.environ['DJANGO_SETTINGS_MODULE'] = 'webmonkey.settings' -# django.setup() - import db.models - db.models.init() from db.models import Solution # print all problem ids |