After some more reading and testing I'll try to answer myself, if any
of you could confirm if I'm on the right track please let me know and
please correct me if I'm not using the right terminology as well:

First, in my URLConf I have a url pattern like:

(r'^search/$', 'books.views.search', {}, 'search_page'),

I'm using a name url pattern here: 'search_page', that's the fourth
parameter and I've included an empty dictionary as third parameter,
can I just omit it?

Then at the revelant place in my view function I have:

return HttpResponseRedirect(reverse('search_page'))

It works for me, am I doing it correctly?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to