Block django allauth default signup/login url
I am rendering my django-allauth signin/signup form through custom URLs.
from allauth.account.views import LoginView, SignupView
urlpatterns = [
...
url(r'^customurl/login/', LoginView.as_view(), name="custom_login" ),
url(r'^customurl/signup/', SignupView.as_view(), name="custom_singup" ),
...
]
These are working fine. The problem is django-allauth default singin/singup urls working also. How can I block default signin/signup URLs?
from Recent Questions - Stack Overflow https://ift.tt/3BoJCiA
https://ift.tt/eA8V8J
Comments
Post a Comment