linked dashboard into project
parent
f27f590b7b
commit
0eccefe51c
|
|
@ -44,6 +44,7 @@ INSTALLED_APPS = [
|
||||||
"django.contrib.messages",
|
"django.contrib.messages",
|
||||||
"django.contrib.staticfiles",
|
"django.contrib.staticfiles",
|
||||||
"core.apps.CoreConfig",
|
"core.apps.CoreConfig",
|
||||||
|
"dashboard.apps.DashboardConfig",
|
||||||
]
|
]
|
||||||
|
|
||||||
MIDDLEWARE = [
|
MIDDLEWARE = [
|
||||||
|
|
@ -131,7 +132,7 @@ STATIC_ROOT = BASE_DIR / "static"
|
||||||
|
|
||||||
# User model and authentication
|
# User model and authentication
|
||||||
AUTH_USER_MODEL = "accounts.User"
|
AUTH_USER_MODEL = "accounts.User"
|
||||||
# LOGIN_REDIRECT_URL = 'dashboard:dashboard'
|
LOGIN_REDIRECT_URL = "dashboard:dashboard"
|
||||||
LOGOUT_REDIRECT_URL = "core:homepage"
|
LOGOUT_REDIRECT_URL = "core:homepage"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,4 +22,5 @@ urlpatterns = [
|
||||||
path("admin/", admin.site.urls),
|
path("admin/", admin.site.urls),
|
||||||
path("", include("core.urls", namespace="core")),
|
path("", include("core.urls", namespace="core")),
|
||||||
path("accounts/", include("accounts.urls")),
|
path("accounts/", include("accounts.urls")),
|
||||||
|
path("dashboard/", include("dashboard.urls", namespace="dashboard")),
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue