2
0

urls.py 519 B

1234567891011121314
  1. from django.urls import include, path, re_path
  2. from django.contrib import admin
  3. from wagtail.documents import urls as wagtaildocs_urls
  4. from coderedcms import admin_urls as crx_admin_urls
  5. from coderedcms import search_urls as crx_search_urls
  6. from coderedcms import urls as crx_urls
  7. urlpatterns = [
  8. path("django-admin/", admin.site.urls),
  9. path("admin/", include(crx_admin_urls)),
  10. path("docs/", include(wagtaildocs_urls)),
  11. path("search/", include(crx_search_urls)),
  12. re_path(r"", include(crx_urls)),
  13. ]