summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@araneo.org>2015-08-20 11:01:10 +0200
committerTimotej Lazar <timotej.lazar@araneo.org>2015-08-20 11:01:10 +0200
commit58d1eb02ce4273ec5abb65763471147f7cdc6c6d (patch)
tree7aac99cdc8b56588b63f4020200cd9630bc91468
parent2ec25e5ddaa41c32ab96f93dd2ad6a40646290b6 (diff)
Remove unneeded DB init stuff from monkey.action
-rwxr-xr-xmonkey/action.py5
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