Wednesday, September 25, 2019

redirect authenticated user in create view in django

hi
i used CreateView for registration in my project and i wanna prevent authenticated user from accessing to the register url and redirect it to another page
can anyone tell me how can i do it?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/a87cee2c-bfc9-4086-aefd-2342f6b55da7%40googlegroups.com.

No comments:

Post a Comment