Created
March 18, 2014 22:57
-
-
Save grobertson/9631596 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Add any additional URLs that should only be available when using the the | |
settings.development configuration. | |
See ``urls.defaults`` for a list of all URLs available across both | |
configurations. | |
""" | |
from configurations import Settings | |
from .defaults import * | |
from apps.site.views import page_not_found | |
#urlpatterns += patterns('', | |
# url(r'^static/(?P<path>.*)$', 'django.views.static.serve', { | |
# 'document_root': Settings.STATIC_URL, | |
# }), | |
#) | |
urlpatterns += patterns('', | |
url(r'^500/$', 'django.views.defaults.server_error'), | |
url(r'^404/$', page_not_found, name='404'), | |
url(r'^twitch/$', TemplateView.as_view(template_name='articles/alternate_templates/twitch-tv.html')), | |
) | |
import logging | |
logger = logging.getLogger() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment