Re: Tutorial database problem
Hi,
you're creating your database file in /usr/bin which is intended for
system executable files, not databases etc. It's highly likely that
you don't even have write permissions there (unless you work using the
"root" account which is a big NO-NO).
Set your database file somewhere where you can write for sure, such
as /home/<myusername>/test_db.db.
You can easily find out if you have write permissions somewhere by
using the "touch" command, i.e. "touch /home/<myusername>/test_db.db -
it'll either create an empty file which means that this path is OK for
your database, or give you an error.
HTH
Jirka
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home