registration page
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -39,6 +39,7 @@ INSTALLED_APPS = [
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'crispy_forms',
|
||||
'accounts.apps.AccountsConfig',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
||||
@@ -17,6 +17,8 @@ from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
from django.views.generic.base import TemplateView
|
||||
from work import views
|
||||
from accounts import views as accounts_views
|
||||
from django.conf.urls import url
|
||||
|
||||
|
||||
|
||||
@@ -25,6 +27,7 @@ urlpatterns = [
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
# path('', TemplateView.as_view(template_name='home.html'), name='home'),
|
||||
path('', views.get_basic_workdata, name='home'),
|
||||
|
||||
path('register/', accounts_views.register, name='register'),
|
||||
# url(r'^signup/$', accounts_views.signup, name='signup'),
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user