pylint cleanup
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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 = (
|
||||
|
||||
Reference in New Issue
Block a user