i was following the django 1.7 documentation and having issue in creating an app part 3
-- please help
TypeError at /polls/34/results/
'function' object has no attribute '__getitem__'
| Request Method: | GET |
|---|---|
| Request URL: | http://127.0.0.1:8000/polls/34/results/ |
| Django Version: | 1.9 |
| Exception Type: | TypeError |
| Exception Value: | 'function' object has no attribute '__getitem__' |
| Exception Location: | C:\Python27\Scripts\news\news\urls.py in <module>, line 8 |
| Python Executable: | C:\Python27\python.exe |
| Python Version: | 2.7.9 |
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/342e437d-0eb4-41c3-baec-7e1d2787d887%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment