jumpserver/apps/audits/urls/api_urls.py

18 lines
319 B
Python
Raw Normal View History

2018-04-06 03:27:52 +00:00
# ~*~ coding: utf-8 ~*~
from __future__ import unicode_literals
from django.conf.urls import url
from rest_framework.routers import DefaultRouter
from .. import api
app_name = "audits"
router = DefaultRouter()
2018-07-13 16:47:21 +00:00
router.register(r'ftp-log', api.FTPLogViewSet, 'ftp-log')
2018-04-06 03:27:52 +00:00
urlpatterns = [
]
urlpatterns += router.urls