If a view is decorated with the `login_required decorator', an anonymous user accessing that view is directed to the login page with the URL the view exists on preserved in the "next" variable which is passed to the login view and template. In the login template, I am trying to match the value of the "next" variable with a hard-coded string. However, no matter what I do, I cannot seem to be able to get {% ifequal next "value" %} to evaluate to True. The variable "next" does have that particular value (I verified both by printing it out and by making sure {% if next %} evaluates to True). However, the "ifequal" expression just doesn't work.
I have no idea why not. Any clues will be much appreciated. Thanks -- Ayaz Ahmed Khan --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---