On Mon, 2007-10-22 at 14:12 -0500, jake elliott wrote:
> this is probably another really simple view.  you can use
> HttpResponseRedirect - or if you really want to end up using a generic
> view remember that you can call them within your own views also.
> 
> # views.py
> from django.views.generic.simple import redirect_to
> def myview(request):
>     # something
>     return redirect_to(url=mycalculatedurl)

by the way here's a great txt by james bennett about doing this kind of
wrapping:

http://www.b-list.org/weblog/2006/nov/16/django-tips-get-most-out-generic-views/

best
jake



--~--~---------~--~----~------------~-------~--~----~
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