hi, i know this question is well-known problem. but i have some different question about this
** Win7, 32-bit
i'm new in django and sqlite
i'm following the book named "Learning Website Development with Django"
so i made "$python manage.py syncdb" and my project name was bookmarksdb (in setting.py, i wrote relative path)
first time, it was successful. i saw "it worked!" message in web-browser
but i didnt make admin account, so i deleted whole project folder.
then i followed same course again. (project name was 'bookmarksdb' too, and relative path)
but i can't do that again after i delete project folder.
$python manage.py syncdb
OperationalError: unable to open database file
when i change a project name, it works.
but i want make 'bookmarksdb'again because i'm following the book
how can i fix this.
asked 31 Aug '13, 23:20
The database that you are working on might be locked/sys can't find it, as the error indicated that it can't access it, so either try & check settings.py for the configuration for the db & its location or delete the app & project & start again with admin & additional app, it might be possible that the configuration might be conflicting, it would be rather advisable to start again rather than trying to find the errors in settings.py. if you would still like to proceed with same settings post the contents of settings.py & your project structure.
You can however download the demo projects from here for the book Learning Website Development with Django.