1. Hector Garcia
  2. django-rbac

Commits

Hector Garcia  committed 2466869

Moved sqlite file creation to avoid early error when running syncdb while dest folder did not exist

  • Participants
  • Parent commits 88daea5
  • Branches default

Comments (0)

Files changed (2)

File .hgignore

View file
 syntax: glob
 *.pyc
-example/db/dev.db
+example/dev.db
 

File example/localsettings.py

View file
 INTERNAL_IPS = ('127.0.0.1',)
 
 DATABASE_ENGINE = 'sqlite3'
-DATABASE_NAME = os.path.join(os.path.dirname(__file__), 'db/dev.db')
+DATABASE_NAME = os.path.join(os.path.dirname(__file__), 'dev.db')
 
 TEMPLATE_DIRS = (
     os.path.join(os.path.dirname(__file__), 'templates'),