dev.py 366 Bytes
Newer Older
David Baumgold committed
1 2 3 4 5
"""
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.
"""
6
# pylint: disable=unused-argument
David Baumgold committed
7
from edxmako.shortcuts import render_to_response
8 9 10


def dev_mode(request):
David Baumgold committed
11
    "Sample static view"
12
    return render_to_response("dev/dev_mode.html")