use utf-8 encoding to get local testing working

also patched urls.py for easier changing of static locations for
local testing
This commit is contained in:
Daniel Pono Takamori 2022-07-06 11:18:22 -07:00
parent dda9702778
commit 79e6860776
Signed by: pono
GPG key ID: 17BB4167325DAA02
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import textwrap
TERMS = textwrap.dedent("""\

View file

@ -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),