Changeset - 5bef923cfec5
[Not reviewed]
0 2 0
Ben Sturmfels (bsturmfels) - 4 months ago 2022-01-10 22:17:55
ben@sturm.com.au
Revert local development settings committed.

This reverts commit adf2229720fc10888b17dc54a1669278b1e5acae.
2 files changed with 1 insertions and 5 deletions:
0 comments (0 inline, 0 general)
www/conservancy/settings.py
Show inline comments
...
 
@@ -26,7 +26,7 @@ ROOT_URLCONF = 'conservancy.urls'
 

	
 
FORCE_CANONICAL_HOSTNAME = False if DEBUG else 'sfconservancy.org'
 

	
 
ALLOWED_HOSTS = ['www.sfconservancy.org', 'aspen.sfconservancy.org', 'sfconservancy.org',  u'104.130.70.210', '*']
 
ALLOWED_HOSTS = [ 'www.sfconservancy.org', 'aspen.sfconservancy.org', 'sfconservancy.org',  u'104.130.70.210' ]
 
if DEBUG:
 
    ALLOWED_HOSTS.append('localhost')
 

	
www/conservancy/urls.py
Show inline comments
...
 
@@ -42,10 +42,6 @@ urlpatterns = [
 
    # formerly static templated things... (dirs with templates)
 
    url(r'^error/(40[134]|500)(?:/index\.html|/|)$', static_views.handler),
 
    url(r'^error', static_views.index),
 
    url(r'^admin/css/', static_views.index),
 
    url(r'^css', static_views.index),
 
    url(r'^js', static_views.index),
 
    url(r'^img', static_views.index),
 
    url(r'^about', static_views.index),
 
    url(r'^activities', static_views.index),
 
    url(r'^donate', static_views.index),
0 comments (0 inline, 0 general)