diff options
Diffstat (limited to 'core/management/commands')
-rw-r--r-- | core/management/commands/reset_db.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/management/commands/reset_db.py b/core/management/commands/reset_db.py index e95ddd9..c55a0b1 100644 --- a/core/management/commands/reset_db.py +++ b/core/management/commands/reset_db.py @@ -11,6 +11,9 @@ from django.core.urlresolvers import reverse from troggle.core.models import Cave, Entrance import troggle.flatpages.models +"""Pretty much all of this is now replaced by databaseRest.py +I don't know why this still exists +""" databasename=settings.DATABASES['default']['NAME'] expouser=settings.EXPOUSER expouserpass=settings.EXPOUSERPASS @@ -89,9 +92,10 @@ class Command(BaseCommand): def make_dirs(obj): """Make directories that troggle requires""" + pass # should also deal with permissions here. - if not os.path.isdir(settings.PHOTOS_ROOT): - os.mkdir(settings.PHOTOS_ROOT) + #if not os.path.isdir(settings.PHOTOS_ROOT): + #os.mkdir(settings.PHOTOS_ROOT) def import_caves(obj): import parsers.caves |