This repository has been archived on 2025-05-04. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
django-decorator-include/testproject/settings.py

25 lines
447 B
Python
Raw Normal View History

import os.path
DEBUG = True
TEMPLATE_DEBUG = DEBUG
BASE_DIR = os.path.dirname(__file__)
def absolute_path(path):
return os.path.normpath(os.path.join(BASE_DIR, path))
SITE_ID = 1
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': absolute_path('database.sqlite3'),
}
}
INSTALLED_APPS = (
'django.contrib.sites',
'decorator_include',
)
ROOT_URLCONF = 'decorator_include.tests.urls'