from django.conf import settings urlpatterns=('', ... url('^%s$' %settings.LOGIN_URL[1:], 'django.contrib.auth.views.login', name="login") ... )
Post a Comment
No comments:
Post a Comment