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