From 58d1eb02ce4273ec5abb65763471147f7cdc6c6d Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Thu, 20 Aug 2015 11:01:10 +0200 Subject: Remove unneeded DB init stuff from monkey.action --- monkey/action.py | 5 ----- 1 file changed, 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 -- cgit v1.2.1