Perhaps you should show your model definition and the complete traceback. A wild guess though, did you syncdb? On 2 Aug 2014 20:23, "Michael Carey" <mpc.t...@gmail.com> wrote:
> FieldError at /polls/ > > Cannot resolve keyword 'name' into field. Choices are: choice, id, pub_date, > question > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Request Method:GETRequest URL:http://127.0.0.1:8000/polls/Django > Version:1.6.5Exception Type:FieldErrorException Value: > > Cannot resolve keyword 'name' into field. Choices are: choice, id, pub_date, > question > > Exception > Location:/usr/local/lib/python2.7/dist-packages/django/db/models/sql/query.py > in names_to_path, line 1283Python Executable:/usr/bin/pythonPython > Version:2.7.6Python Path: > > ['/home/michael/workspace/new/mysite', > '/usr/lib/python2.7', > '/usr/lib/python2.7/plat-x86_64-linux-gnu', > '/usr/lib/python2.7/lib-tk', > '/usr/lib/python2.7/lib-old', > '/usr/lib/python2.7/lib-dynload', > '/usr/local/lib/python2.7/dist-packages', > '/usr/lib/python2.7/dist-packages', > '/usr/lib/python2.7/dist-packages/PILcompat', > '/usr/lib/python2.7/dist-packages/gst-0.10', > '/usr/lib/python2.7/dist-packages/gtk-2.0', > '/usr/lib/pymodules/python2.7', > '/usr/lib/python2.7/dist-packages/ubuntu-sso-client'] > > Server time:Sat, 2 Aug 2014 19:20:54 +0000 > > Thank you > > Michael C > > On Sunday, 3 August 2014 00:27:53 UTC+10, Collin Anderson wrote: >> >> What does the error say? >> > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/3af5d757-f76c-40ac-ab54-f2ff64aa69c2%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/3af5d757-f76c-40ac-ab54-f2ff64aa69c2%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BWjgXMao%3DmjCfsMdQer9pmZ3ZCDmW%2BDZQ5eEqyC6%3DjcQK1etQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.