See what I said above about iterating through the fields in your view. Use logging, print statements, or dump output to a file.
On Wed, Apr 24, 2013 at 10:39 AM, Wissal Khadrouf WBC <wissal.khadrouf@wbc.ma> wrote:
That's what I was thinking,it's from the dataBut I dont know wich field and how to find out--2013/4/24 Shawn Milochik <shawn@milochik.com>
Try iterating through your output in the view and look at field, field.content, and if field.help_text. Somewhere you have a null value which is None in Python.Since the traceback you posted (if it's complete) is all from Django's code and not yours, then the error must be in your data.--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/r4VivI6pwOs/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--Cordialement.
Wissal KHADROUFWeb Development Engineer81 Avenue Mers sultan, Grand Casablanca, Maroc0660 347 547
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
e-mail: shawn@milochik.com
voicemail or fax: 206-350-8781blog: http://milocast.com
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment