linked core app into project
parent
d77cbd0d8d
commit
e4f2cd1fe4
|
|
@ -43,6 +43,7 @@ INSTALLED_APPS = [
|
|||
"django.contrib.sessions",
|
||||
"django.contrib.messages",
|
||||
"django.contrib.staticfiles",
|
||||
"core.apps.CoreConfig",
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
|
|
@ -130,8 +131,8 @@ STATIC_ROOT = BASE_DIR / "static"
|
|||
|
||||
# User model and authentication
|
||||
AUTH_USER_MODEL = "accounts.User"
|
||||
# LOGIN_REDIRECT_URL = ''
|
||||
# LOGOUT_REDIRECT_URL = ''
|
||||
# LOGIN_REDIRECT_URL = 'dashboard:dashboard'
|
||||
LOGOUT_REDIRECT_URL = "core:homepage"
|
||||
|
||||
|
||||
# Default primary key field type
|
||||
|
|
|
|||
|
|
@ -20,5 +20,6 @@ from django.urls import include, path
|
|||
|
||||
urlpatterns = [
|
||||
path("admin/", admin.site.urls),
|
||||
path("", include("core.urls", namespace="core")),
|
||||
path("accounts/", include("accounts.urls")),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue