File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 10
10
https://docs.djangoproject.com/en/3.2/ref/settings/
11
11
"""
12
12
import os
13
+ import sys
13
14
from pathlib import Path
14
15
16
+
15
17
# Build paths inside the project like this: BASE_DIR / 'subdir'.
16
18
BASE_DIR = Path (__file__ ).resolve ().parent .parent
19
+ SRC_DIR = BASE_DIR .parent / "src"
17
20
18
21
# Quick-start development settings - unsuitable for production
19
22
# See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/
62
65
},
63
66
]
64
67
ASGI_APPLICATION = "test_app.asgi.application"
68
+ sys .path .append (str (SRC_DIR ))
65
69
66
70
# Database
67
71
# https://docs.djangoproject.com/en/3.2/ref/settings/#databases
72
76
}
73
77
}
74
78
75
-
76
79
# Password validation
77
80
# https://docs.djangoproject.com/en/3.2/ref/settings/#auth-password-validators
78
81
AUTH_PASSWORD_VALIDATORS = [
You can’t perform that action at this time.
0 commit comments