pylint cleanup

This commit is contained in:
David Baumgold
2013-08-01 13:55:05 -04:00
parent 64ad5567f3
commit 741bbb3f92
2 changed files with 12 additions and 0 deletions

View File

@@ -1,5 +1,12 @@
"""
Views that are only activated when the project is running in development mode.
These views will NOT be shown on production: trying to access them will result
in a 404 error.
"""
# pylint: disable=W0613
from mitxmako.shortcuts import render_to_response
def dev_mode(request):
"Sample static view"
return render_to_response("dev/dev_mode.html")

View File

@@ -1,3 +1,8 @@
"""
URLconf for development-only views.
This gets imported by urls.py and added to its URLconf if we are running in
development mode; otherwise, it is ignored.
"""
from django.conf.urls import url
urlpatterns = (