Задать вопрос

Тел: +7 965 3737 888

499

Просмотров

1

Ответов

HttpResponseRedirectView - Redirect to a view

This is a quick shortcut to redirect the user to a view. The main gain is avoiding having to type 'from django.core.urlresolvers import reverse' every time you want to do a redirect!

Вопрос полезен? Да0/Нет0
file_2538.py(784.0б)
None

Ответы (1):

Ответkm0r3:29.10.2010
Ответ полезен? Да0/Нет0

There's django.shortcuts.redirect in Django 1.2, which I recommend.