Changeset - 5bef923cfec5
[Not reviewed]
0 2 0
Ben Sturmfels (bsturmfels) - 2 years 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
...
 
@@ -23,13 +23,13 @@ from djangocommonsettings import *
 

	
 
SITE_ID = 2
 
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')
 

	
 
REDIRECT_TABLE = {
 
    'www.sf-conservancy.org': 'sfconservancy.org',
 
}
www/conservancy/urls.py
Show inline comments
...
 
@@ -39,16 +39,12 @@ urlpatterns = [
 
    url(r'^feeds/?$', feeds.view),
 
    url(r'^news/', include('conservancy.apps.news.urls')),
 
    url(r'^blog/', include('conservancy.apps.blog.urls')),
 
    # 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),
 
    url(r'^copyleft-compliance', static_views.index,
 
                           {'fundraiser_sought' : 'vmware-match-0'}),
 
    url(r'^learn', static_views.index),
0 comments (0 inline, 0 general)