diff --git a/django_rest_api/.settings.py.swp b/django_rest_api/.settings.py.swp new file mode 100644 index 0000000..a92fa76 Binary files /dev/null and b/django_rest_api/.settings.py.swp differ diff --git a/django_rest_api/__pycache__/settings.cpython-39.pyc b/django_rest_api/__pycache__/settings.cpython-39.pyc index c67c955..081b973 100644 Binary files a/django_rest_api/__pycache__/settings.cpython-39.pyc and b/django_rest_api/__pycache__/settings.cpython-39.pyc differ diff --git a/django_rest_api/settings.py b/django_rest_api/settings.py index 937f341..dac3480 100644 --- a/django_rest_api/settings.py +++ b/django_rest_api/settings.py @@ -15,8 +15,8 @@ import dj_database_url # add this import os # Build paths inside the project like this: BASE_DIR / 'subdir'. -BASE_DIR = Path(__file__).resolve().parent.parent - +#BASE_DIR = Path(__file__).resolve().parent.parent +BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.1/howto/deployment/checklist/