You've got a syntax error in your code, likely wherever you have
"return Poll.objects.filter(" in your code.

"Outside a function" likely means that you have not correctly indented
your code, for example if your return has no indentation. Whitespace
in Python is significant and is part of the syntax.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOjXX8bs%2BJqNcGbpFpDOgxg8KnTy0R-x5%2BR2UXTQr36eRg7JBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to