from django.urls import path from . import old_views from slides import pages from . import views from . import actions # These are slides url urlpatterns = [ path("action/create-blank-template/", actions.create_blank_template), path("view/get-public-templates/", views.get_public_templates), path("view/get-public-template/", views.get_public_template), path("page/serve-image/", pages.serve_image), path("action/create-presentation/", actions.CreatePresentation), path("view/presentation/", views.presentation), path("view/dashboard/", views.dashboard), path("view/presentation-settings/", views.presentation_settings), path("view/present/", views.present), path("action/save-slide/", actions.SaveSlide), # Creating new presentation from a template # Creating new slide at the end path("action/create-slide/", actions.CreateSlide), # Delete slide by order path("action/delete-slide/", actions.DeleteSlide), # Reorder slide by direction path("action/move-slide/", actions.MoveSlide), path("action/toggle-template/", actions.ToggleTemplate), path("action/save-presentation-settings/", actions.SavePresentationSettings), path("action/change-presentation-title/", actions.ChangePresentationTitle), # Present slide # These are template related stuff # OLD STUFF ============================================================ path("template//", old_views.get_template_by_id), ] # These are renderer url urlpatterns += [ path("iframe/rerender/", old_views.rerender), path("iframe//", old_views.serve_index_file), path("iframe///", old_views.serve_file), ]