jumpserver/apps/audits/urls/api_urls.py

15 lines
314 B
Python
Raw Normal View History

2016-11-16 10:12:14 +00:00
from django.conf.urls import url
from rest_framework import routers
from .. import api
app_name = 'audits'
router = routers.DefaultRouter()
2016-12-27 16:28:52 +00:00
router.register(r'v1/proxy-log/', api.ProxyLogViewSet, 'proxy-log')
router.register(r'v1/command-log/', api.CommandLogViewSet, 'command-log')
2016-11-16 10:12:14 +00:00
urlpatterns = router.urls