#2351: MySQL syntax error on object.all().count(), when called from template
------------------------------+---------------------------------------------
Reporter: gumuz | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Database wrapper | Version:
Severity: normal | Resolution:
Keywords: |
------------------------------+---------------------------------------------
Comment (by [EMAIL PROTECTED]):
this error only happens for me when nesting -- ie if i try:
{{{
{% for object in category.object_set.all %}
{{ object.subobject_set.count }}
{% endfor %}
}}}
i get the same error.
--
Ticket URL: <http://code.djangoproject.com/ticket/2351>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates
-~----------~----~----~----~------~----~------~--~---