Re: Django templates: accessing list element attributes throws error

2011-03-17 Thread Nathanael Abbotts
Thanks, will try that once I get to my computer : ) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googl

Django templates: accessing list element attributes throws error

2011-03-17 Thread Nathanael Abbotts
I have a list of python objects with attributes, which is supplied to the django templating engine. I access the first element in the list, to get a particular attribute 'title', from it. Here is the code: {{ list|first.title }} The error given is: TemplateSyntaxError: Could not parse the remai

Re: docs.djangoproject.com may be down!

2011-03-15 Thread Nathanael Abbotts
Looks like it's back up! Worries over, we hope. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegro

docs.djangoproject.com may be down!

2011-03-15 Thread Nathanael Abbotts
I cannot access http://docs.djangoproject.com/ can anyone else? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsub