2
0

admin_urls.py 415 B

123456789101112
  1. from django.urls import include, path
  2. from wagtail.admin import urls as wagtailadmin_urls
  3. from wagtailcrx.views import import_index, import_pages_from_csv_file
  4. urlpatterns = [
  5. path('codered/import-export/',
  6. import_index, name="import_index"),
  7. path('codered/import-export/import_from_csv/',
  8. import_pages_from_csv_file, name="import_from_csv"),
  9. path('', include(wagtailadmin_urls)),
  10. ]