There seem to be an error I am getting in Dev Version of Django, I
just updated 1/2 hr ago.  It's
related to model back tracking, retrieving foreign key related
objects, line 31: p.question_set.all, in template.

ProgrammingError at /post/1/
(1064, "You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near 'body,1' at line 1")
Request Method:         GET
Request URL:    http://127.0.0.1:8000/post/1/
Exception Type:         ProgrammingError
Exception Value:        (1064, "You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right
syntax to use near 'body,1' at line 1")
Exception Location:     H:\xampp\python\lib\site-packages\MySQLdb
\connections.py in defaulterrorhandler, line 35


30      <ul>
31      {% for question in p.question_set.all %}
32      <li>{{ question.title }}</li>
33      <li>{{ question.body }}</li>
34      {% endfor %}
35      </ul>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to