Tuesday, March 1, 2011

newbie going through basic tutorial

Hi all,
I have been working with Python for quite a while now and I feel
pretty comfortable with it. I am in my last semester at college for a
computer science degree, so I also have the background behind a lot of
what Python does (objects, classes, all that). I am in a databases
class and one requirement is to install WAMP. I did so, and I figured
this would be the perfect time to play with django, which I have never
done before. I am working through the basic tutorial, with the polls
project, and am at the point where I run the command
python manage.py sql polls
I get a very long traceback, ending with sqlite3.OperationalError:
unable to open database file.
My file, creatively named "polls_db", is currently in my polls project
parent directory (which I named pkg1). That is, pkg1 holds the polls
app, polls_db (it has no extension - should it?), and the usual
settings.py, urls.py, and so on. I am not sure where I went wrong. Any
information would be great! TIA.

--
Have a great day,
Alex (msg sent from GMail website)
mehgcap@gmail.com; http://www.facebook.com/mehgcap

--
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.

No comments:

Post a Comment