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

Popular posts from this blog

Today Walkin 14th-Sept

Spring Elasticsearch Operations

Hibernate Search - Elasticsearch with JSON manipulation