File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 1010https://docs.djangoproject.com/en/3.2/ref/settings/
1111"""
1212import os
13+ import sys
1314from pathlib import Path
1415
16+
1517# Build paths inside the project like this: BASE_DIR / 'subdir'.
1618BASE_DIR = Path (__file__ ).resolve ().parent .parent
19+ SRC_DIR = BASE_DIR .parent / "src"
1720
1821# Quick-start development settings - unsuitable for production
1922# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
6265 },
6366]
6467ASGI_APPLICATION = "test_app.asgi.application"
68+ sys .path .append (str (SRC_DIR ))
6569
6670# Database
6771# https://docs.djangoproject.com/en/3.2/ref/settings/#databases
7276 }
7377}
7478
75-
7679# Password validation
7780# https://docs.djangoproject.com/en/3.2/ref/settings/#auth-password-validators
7881AUTH_PASSWORD_VALIDATORS = [
You can’t perform that action at this time.
0 commit comments