Commits

Hector Garcia committed 2466869

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

Comments (0)

Files changed (2)

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

example/localsettings.py

 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'),