On Wednesday, March 28, 2012 3:56:12 PM UTC-7, coded kid wrote:
Template:
{% for status in status %}
That bit looks like it might cause trouble. You are assigning status to status. Normally you'd want something like...
{% for status in statuses %}
or
{% for status in status_list %}
or
{% item in status %}
Use whatever variable names you want as long as you're not clobbering variables that are needed while looping.
Toodle-loooooooooo................
creecode
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/3Kf6U0WIrMUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment