I'm working on registration page and for basic validation like if user 
already registered, password is complex or not etc .. for that I've created 
a separate file and and if all checks completed I am trying to redirect but 
from the secondary python file redirect and even render is not working it 
just simply return me the same registration page but when I use redirect on 
the same views.py file redirect is working. That is a weird behavior? Or I 
am doing something wrong?

this is what i am doing: https://pastebin.com/HTL1BgFh

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-rest-framework/ebc35337-fa48-4494-a721-3afefd8f02e1n%40googlegroups.com.

Reply via email to