Linked accounts app into project.
parent
b29778834b
commit
3b7932e51a
|
|
@ -36,6 +36,7 @@ ALLOWED_HOSTS = eval(os.getenv("ALLOWED_HOSTS"))
|
|||
# Application definition
|
||||
|
||||
INSTALLED_APPS = [
|
||||
"accounts",
|
||||
"django.contrib.admin",
|
||||
"django.contrib.auth",
|
||||
"django.contrib.contenttypes",
|
||||
|
|
@ -126,6 +127,11 @@ USE_TZ = True
|
|||
STATIC_URL = "static/"
|
||||
STATIC_ROOT = BASE_DIR / "static"
|
||||
|
||||
|
||||
# User model and authentication
|
||||
AUTH_USER_MODEL = "accounts.User"
|
||||
|
||||
|
||||
# Default primary key field type
|
||||
# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field
|
||||
|
||||
|
|
|
|||
|
|
@ -14,9 +14,11 @@ Including another URLconf
|
|||
1. Import the include() function: from django.urls import include, path
|
||||
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
|
||||
"""
|
||||
|
||||
from django.contrib import admin
|
||||
from django.urls import path
|
||||
from django.urls import include, path
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path("admin/", admin.site.urls),
|
||||
path("accounts/", include("accounts.urls")),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in New Issue