summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-08-20 11:57:24 +0200
committerAleš Smodiš <aless@guru.si>2015-08-20 11:57:24 +0200
commit83fd8a32f663ddceb713d46fae3cf52df893123a (patch)
tree58dac52964a268e9827e9938449c152213da9f99
parent2302293e770e2b003c0d90cd5672af928c5f2e4e (diff)
parent58d1eb02ce4273ec5abb65763471147f7cdc6c6d (diff)
Merge branch 'master' of ssh://212.235.189.51:22122/codeq-server
-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