TypeError at /admin/quiz/series/add/
argument of type 'NoneType' is not iterable
Request Method: POST
Request URL: http://10.0.1.72/admin/quiz/series/add/
Exception Type: TypeError
Exception Value:
argument of type 'NoneType' is not iterable
Exception Location: /usr/local/lib/python2.6/dist-packages/django/forms/models.py in save_instance, line 47
Got this error which had me stumped for a while. Turns out it's because I forgot to return self.cleaned_data at the end of my clean() and clean_<fieldname>() functions.
tyvm, kind sir!
ReplyDeletegot here via "django argument of type 'NoneType' is not iterable"