shorten auth urls
This commit is contained in:
parent
5509f81818
commit
03b521702e
@ -22,8 +22,8 @@ from .views import SignUpView
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
path('accounts/signup/', SignUpView.as_view(), name='signup'),
|
||||
path('', include('django.contrib.auth.urls')),
|
||||
path('signup/', SignUpView.as_view(), name='signup'),
|
||||
path('', TemplateView.as_view(template_name='home.html'), name='home'),
|
||||
path('favicon.ico', RedirectView.as_view(url=staticfiles_storage.url('images/favicon.ico'))),
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user