Posted By

magicrebirth on 10/11/10


Tagged

url redirect django


Versions (?)

Django simple url redirect


 / Published in: Django
 

URL: http://stackoverflow.com/questions/523356/python-django-page-redirect

  1. from django.http import HttpResponseRedirect
  2.  
  3. def myview(request):
  4.   ...
  5.   return HttpResponseRedirect("/path/")

Report this snippet  

You need to login to post a comment.