Files
edx-platform/cms/djangoapps/contentstore/views/dev.py
Feanil Patel 9cf2f9f298 Run 2to3 -f future . -w
This will remove imports from __future__ that are no longer needed.

https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00

15 lines
368 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 edxmako.shortcuts import render_to_response
def dev_mode(request):
"Sample static view"
return render_to_response("dev/dev_mode.html")