add stub dashboard page
This commit is contained in:
@ -35,6 +35,7 @@ INSTALLED_APPS = [
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'dashboard',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@ -52,8 +53,9 @@ ROOT_URLCONF = 'procat2.urls'
|
||||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [],
|
||||
'APP_DIRS': True,
|
||||
'DIRS': ['templates'],
|
||||
#'APP_DIRS': True,
|
||||
#'DIRS': [os.path.join(BASE_DIR, 'templates')],
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
'django.template.context_processors.debug',
|
||||
|
||||
@ -16,7 +16,11 @@ Including another URLconf
|
||||
from django.contrib import admin
|
||||
from django.urls import include, path
|
||||
|
||||
from dashboard.views import dashboard
|
||||
|
||||
urlpatterns = [
|
||||
path('', dashboard, name='root'),
|
||||
path('dashboard', dashboard, name='dashboard'),
|
||||
path('admin/', admin.site.urls),
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user