diff --git a/Login/__pycache__/settings.cpython-38.pyc b/Login/__pycache__/settings.cpython-38.pyc index 769e346..b14092f 100644 Binary files a/Login/__pycache__/settings.cpython-38.pyc and b/Login/__pycache__/settings.cpython-38.pyc differ diff --git a/Login/settings.py b/Login/settings.py index 654810c..cee56f8 100644 --- a/Login/settings.py +++ b/Login/settings.py @@ -1,15 +1,5 @@ -""" -Django settings for Login project. - -Generated by 'django-admin startproject' using Django 3.1.7. - -For more information on this file, see -https://docs.djangoproject.com/en/3.1/topics/settings/ - -For the full list of settings and their values, see -https://docs.djangoproject.com/en/3.1/ref/settings/ -""" +import os from pathlib import Path # Build paths inside the project like this: BASE_DIR / 'subdir'. @@ -58,7 +48,7 @@ TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', - 'DIRS': [], + 'DIRS': [os.path.join(BASE_DIR, 'templates')], 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [