Changeset - 79e6860776bf
[Not reviewed]
0 2 0
Daniel Takamori (pono) - 21 months ago 2022-07-06 18:21:07
pono@sfconservancy.org
use utf-8 encoding to get local testing working

also patched urls.py for easier changing of static locations for
local testing
2 files changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/assignment/terms.py
Show inline comments
 
# -*- coding: utf-8 -*-
 
import textwrap
 

	
 
TERMS = textwrap.dedent("""\
 
    Copyright Assignment Agreement
 

	
 
    By checking the box below and submitting this form, you (``Assignor'') enter
www/conservancy/urls.py
Show inline comments
...
 
@@ -24,12 +24,16 @@ from conservancy import feeds, frontpage, sponsors
 
import conservancy.apps.fundgoal.views as fundgoal_views
 
import conservancy.static.views as static_views
 

	
 
admin.autodiscover()
 

	
 
urlpatterns = [
 
    # Uncomment these 3 lines when testing locally to get static content
 
    #url(r'^css', static_views.index),
 
    #url(r'^img', static_views.index),
 
    #url(r'^js', static_views.index),
 
    url(r'^$', frontpage.view),
 
    url(r'^sponsors$', frontpage.view),
 
    url(r'^sponsors/$', sponsors.view),
 
    url(r'^sponsors/index.html$', sponsors.view),
 
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
 
    url(r'^admin/', admin.site.urls),
0 comments (0 inline, 0 general)