Fix Django warning about old TEMPLATES_* settings.

This commit is contained in:
Ben Sturmfels 2021-12-17 18:35:50 +11:00
parent b2e952f3b8
commit d11ed137fa
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -34,13 +34,6 @@ REDIRECT_TABLE = {
'www.sf-conservancy.org': 'sfconservancy.org', 'www.sf-conservancy.org': 'sfconservancy.org',
} }
_root_dir = os.path.abspath(os.path.dirname(__file__))
TEMPLATE_DIRS = (
os.path.join(_root_dir, 'templates'),
os.path.join(_root_dir, 'static'),
)
del _root_dir
LOGGING = { LOGGING = {
'version': 1, 'version': 1,
'disable_existing_loggers': False, 'disable_existing_loggers': False,