Saturday, August 2, 2014

Re: Going throught the Django tutorial help pls

FieldError at /polls/


Cannot resolve keyword 'name' into field. Choices are: choice, id, pub_date, question
   

   
     
     
   


   
     
     
   


   
     
     
   

   
     
     
   
   
     
     
   
   
     
     
   
   
     
     
Request Method:GET
Request URL:http://127.0.0.1:8000/polls/
Django Version:1.6.5
Exception Type:FieldError
Exception 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 1283
Python Executable:/usr/bin/python
Python Version:2.7.6
Python 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+unsubscribe@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.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment