Specifying a namespace in django.conf.urls.include() without providing an app_name is deprecated. Adding the app_name attribute in the included module.
15 lines
245 B
Python
15 lines
245 B
Python
"""
|
|
URLs for the Studio API app
|
|
"""
|
|
|
|
from __future__ import absolute_import
|
|
|
|
from django.conf.urls import include, url
|
|
|
|
|
|
app_name = 'cms.djangoapps.api'
|
|
|
|
urlpatterns = [
|
|
url(r'^v1/', include('cms.djangoapps.api.v1.urls', namespace='v1')),
|
|
]
|