OpenSlides/openslides/urls_apps.py

16 lines
408 B
Python
Raw Normal View History

2018-08-22 06:22:28 +02:00
from django.conf.urls import include, url
2019-08-20 12:00:54 +02:00
from openslides.saml import SAML_ENABLED
2018-08-22 06:22:28 +02:00
from openslides.utils.plugins import get_all_plugin_urlpatterns
urlpatterns = get_all_plugin_urlpatterns()
urlpatterns += [
2019-01-06 16:22:33 +01:00
url(r"^core/", include("openslides.core.urls")),
url(r"^users/", include("openslides.users.urls")),
2018-08-22 06:22:28 +02:00
]
2019-08-20 12:00:54 +02:00
if SAML_ENABLED:
urlpatterns += [url(r"^saml/", include("openslides.saml.urls"))]