Changeset - d11ed137fae9
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 2 years ago 2021-12-17 07:35:50
ben@sturm.com.au
Fix Django warning about old TEMPLATES_* settings.
1 file changed with 0 insertions and 7 deletions:
0 comments (0 inline, 0 general)
www/conservancy/settings.py
Show inline comments
...
 
@@ -31,19 +31,12 @@ if DEBUG:
 
    ALLOWED_HOSTS.append('localhost')
 

	
 
REDIRECT_TABLE = {
 
    '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 = {
 
    'version': 1,
 
    'disable_existing_loggers': False,
 
    'formatters': {
 
        'default': {
 
            'format': '%(asctime)s %(levelname)s %(name)s: %(message)s',
0 comments (0 inline, 0 general)