Hi Dan,
In the shell, did you re-import your Poll model?
(>>> from polls.models import Poll)
I think you might use a previous version of your model (without the
changes), and that's why it doesn't recognize it.
I might be wrong though :)
Please let me know if it worked.
Shai.
On Thu, Mar
https://docs.djangoproject.com/en/1.6/intro/tutorial01/
I've looked at this several times, and I was hoping to get the proverbial
set of extra eyes.
I made it almost to the bottom of the page, but while I'm in the Python
shell, I type the following:
>>> p = Poll.objects.get(pk=1)
>>>
2 matches
Mail list logo