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:
parent
dda9702778
commit
79e6860776
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import textwrap
|
||||
|
||||
TERMS = textwrap.dedent("""\
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue