Can you post the entire stack trace? You may have to run a bit up the chain in the race to track down the problem.
-James On Jun 15, 2015 2:40 PM, "Shekar Tippur" <[email protected]> wrote: > > > > Hello, > > This maybe a generic question. How do I troubleshoot something like this. > The stacktrace is not really helpful as it does not point to the code that > is causing this issue. > > TypeError at /product/ > > 'function' object is not iterable > > Request Method:POSTRequest URL:http://127.0.0.1:8000/product/Django > Version:1.8.2Exception Type:TypeErrorException Value: > > 'function' object is not iterable > > Exception > Location:/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/django/core/urlresolvers.py > in resolve, line 238Python Executable: > /Library/Frameworks/Python.framework/Versions/3.4/bin/python3.4Python > Version:3.4.3Python Path: > > ['/Users/ctippur/PycharmProjects/project1', > '/Users/ctippur/PycharmProjects/project1', > '/Library/Frameworks/Python.framework/Versions/3.4/lib/python34.zip', > '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4', > > '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/plat-darwin', > > '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/lib-dynload', > > '/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages' > > > - Shekar > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > 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/3d689375-1afe-448e-95b4-54ecbab2cd77%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/3d689375-1afe-448e-95b4-54ecbab2cd77%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 [email protected]. To post to this group, send email to [email protected]. 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%2Be%2BciVh7fmPgHuvD9KHjDz6pSJG2zoa1dsW1PffvBf%3DUV4iqQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

