p.choice_set.all() error

2013-03-08 Thread Hugo Guzman
Hey there. I'm working through Part I of the "Writing your first Django app" tutorial and everything was going smoothly until I tried executing the following command: >>> p.choice_set.all() When I try running it I get the proceeding errors (below). I've attached my models.py file for context.

Re: p.choice_set.all() error

2013-03-08 Thread Victor Rocha
The only thing I can think of it is that your database is not up-to-date with your models. You could drop the database and do a syncdb, otherwise using south to migrate your database schema could be an option. Good luck, Victor Rocha RochApps On Thursday, March 7, 2013

Re: p.choice_set.all() error

2013-03-08 Thread Tom Evans
On Fri, Mar 8, 2013 at 3:39 AM, Hugo Guzman wrote: > Hey there. I'm working through Part I of the "Writing your first Django app" > tutorial and everything was going smoothly until I tried executing the > following command: > p.choice_set.all() > > When I try running it I get the proceeding e

Re: p.choice_set.all() error

2013-03-08 Thread Hugo Guzman
Thanks for the feedback. It's much appreciated. On Thursday, March 7, 2013 10:39:42 PM UTC-5, Hugo Guzman wrote: > > Hey there. I'm working through Part I of the "Writing your first Django > app" tutorial and everything was going smoothly until I tried executing the > following command: > > >>>