or, using proper the proper Python 3 relative imports (e.g., 'from .views import x') which are standard and unambiguous.
15 lines
329 B
Python
15 lines
329 B
Python
"""
|
|
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
|
|
|
|
from cms.djangoapps.contentstore.views.dev import dev_mode
|
|
|
|
urlpatterns = [
|
|
url(r'^dev_mode$', dev_mode, name='dev_mode'),
|
|
]
|