Changeset - 79e6860776bf
[Not reviewed]
0 2 0
Daniel Takamori (pono) - 20 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("""\
www/conservancy/urls.py
Show inline comments
...
 
@@ -27,6 +27,10 @@ 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),
0 comments (0 inline, 0 general)