lambdalisue/django-inspectional-registration

custom login view

stushurik opened this issue · 4 comments

I'd like to use custom login view https://docs.djangoproject.com/en/1.8/_modules/django/contrib/auth/views/#login.
What is the best way for doing that ?

That is a matter of the django. This library is for registration and not for authentication.

yes, but registration.urls contains /login url, and it is mapped to auth.login view.
I'd like to map that url to another view.
I am talking about https://github.com/lambdalisue/django-inspectional-registration/blob/master/src/registration/urls.py#L50

It seems that it is hardcoded into library

Well https://github.com/lambdalisue/django-inspectional-registration#backward-incompatibility helps? Assigning False to REGISTRATION_DJANGO_AUTH_URLS_ENABLE skip the /login or whatever.

I may don't get what your problem.

Yes, this is it. Thank you.