changes made to comply with pylint refactored the code to comply with PEP8 further changes made to comply with quality changes made as suggested
15 lines
406 B
Python
15 lines
406 B
Python
"""
|
|
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=unused-argument
|
|
from __future__ import absolute_import
|
|
|
|
from edxmako.shortcuts import render_to_response
|
|
|
|
|
|
def dev_mode(request):
|
|
"Sample static view"
|
|
return render_to_response("dev/dev_mode.html")
|