Tuesday, October 9, 2012

Re: invalid syntax (admin.py, line 25)

Jim Wombles <jwombles@gmail.com> wrote:

> I'm working through the Django Tutorial: Photo Organizer and Sharing App and I am getting an invalid syntax error in line 25 of admin.py:
>
> 1st = [x[1] for x in self.tags.values_list()]
>

Forget django: just go into the python interpreter and say

1st = 3

Same error, right? :-)

Nick

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate