mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-29 17:29:45 +03:00
Merge 8f5d61324d
into 677927d786
This commit is contained in:
commit
e0f0e82ae5
|
@ -11,6 +11,10 @@ https://docs.djangoproject.com/en/dev/ref/settings/
|
|||
from __future__ import absolute_import, unicode_literals
|
||||
|
||||
import environ
|
||||
# import os
|
||||
|
||||
# BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
|
||||
ROOT_DIR = environ.Path(__file__) - 3 # (/a/b/myfile.py - 3 = /)
|
||||
APPS_DIR = ROOT_DIR.path('{{ cookiecutter.repo_name }}')
|
||||
|
@ -95,6 +99,13 @@ ADMINS = (
|
|||
MANAGERS = ADMINS
|
||||
|
||||
# DATABASE CONFIGURATION
|
||||
# DATABASES = {
|
||||
# 'default': {
|
||||
# 'ENGINE': 'django.db.backends.sqlite3',
|
||||
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
||||
# }
|
||||
# }
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# See: https://docs.djangoproject.com/en/dev/ref/settings/#databases
|
||||
DATABASES = {
|
||||
|
|
Loading…
Reference in New Issue
Block a user