[Update] 更新index view

This commit is contained in:
ibuler
2017-12-04 20:15:47 +08:00
parent 71a3079221
commit a5f9735906
50 changed files with 227 additions and 1583 deletions

View File

@@ -1,18 +0,0 @@
from django.conf.urls import url
from rest_framework import routers
from .. import api
app_name = 'audits'
router = routers.DefaultRouter()
router.register(r'v1/proxy-log', api.ProxyLogViewSet, 'proxy-log')
router.register(r'v1/command-log', api.CommandLogViewSet, 'command-log')
router.register(r'v1/replay-log', api.RecordLogViewSet, 'replay-log')
urlpatterns = [
url(r'^v1/proxy-log/receive/$', api.ProxyLogReceiveView.as_view(),
name='proxy-log-receive'),
]
urlpatterns += router.urls