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

Тел: +7 965 3737 888

517

Просмотров

0

Ответов

Doing redirect without request

When you neeed to do redirect and request object is not available, you can do it with exception.

Put exception handler somewhere request is available, for example to middleware or ModelAdmin.

Raise exception, where request is not available.

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