Cms

Perhaps this is better?

```python
from django.apps import apps
from django.conf.urls import include, url

from . import views


def app_url(app):
    return url(r'^{}/'.format(app.label), include(app.cms_urls))


def urls(managed_apps):
    yield url(r'^$', views.CMSIndex.as_view(), name='index')
    yield from map(app_url, managed_apps)


managed_apps = apps.get_app_config('cms').managed_apps


urlpatterns = [
    url('', include(list(urls(managed_apps)), namespace='cms')),
]

```