API-Manager/apimanager/dynamicendpoints/urls.py

19 lines
486 B
Python
Raw Permalink Normal View History

2020-03-27 12:14:15 +00:00
# -*- coding: utf-8 -*-
"""
URLs for config app
"""
2024-10-31 11:56:29 +00:00
from django.urls import re_path
2020-03-27 12:14:15 +00:00
from dynamicendpoints.views import IndexView, dynamicendpoints_save,dynamicendpoints_delete
2020-03-27 12:14:15 +00:00
urlpatterns = [
2024-10-31 11:56:29 +00:00
re_path(r'^$',
2020-03-27 12:14:15 +00:00
IndexView.as_view(),
name='dynamicendpoints-index'),
2024-10-31 11:56:29 +00:00
re_path(r'save/dynamicendpoint', dynamicendpoints_save,
name='dynamicendpoint-save'),
2024-10-31 11:56:29 +00:00
re_path(r'delete/dynamicendpoint', dynamicendpoints_delete,
name='dynamicendpoint-delete')
2020-03-27 12:14:15 +00:00
]