> You're using a variable "feedtype" that's not defined.
>
> It's the same thing as doing this in the Python interactive prompt:
>
>     print a + 1
>
> The variable "a" is not defined yet, so Python raises a NameError.
>
> The problem in your case is that your view won't know the value of
> feedtype until the URL is parsed. For that reason, you cannot put that
> logic in the URLconf.
>
> Adrian
>
> --
> Adrian Holovaty
> holovaty.com | djangoproject.com
>

Adrian,

I've just read your reply _after_ I submitted the ticket - please do
close it if necessary.

Just out of interest, what do you think the most elegant way to solve
this problem would be? Is it to write my own view and deal with the
pagination myself?

Many thanks to all who replied to this thread.

--Jon

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to