AK
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(file)))
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
Size: a a a
AK
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(file)))
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
S
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(file)))
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
AK
AK
AK
S
AK
S
AK
AK
S
AK
python manage.py shell- как вариант, можно посмотреть так.
from django.conf import settings
settinds.DATABASES
AK
AK
S
ЕЕ
mc
ЕЕ
mc