Hi ,
I am using page processors to use some dynamic data on some pages. I
have sucessfully used tyhis on some URL like 'test' but when I try to use
it on home page it doesn't work.
*Code :*
*Working -> *
@processor_for("test")
def page_slug_processor(request, page):
return HttpResponseRedirect("/events/")
*Doesn't work ->*
@processor_for("/")
def page_slug_processor(request, page):
return HttpResponseRedirect("/events/")
Can someone tell me the correct way to do this .
Thanks
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.