Rename urls

This commit is contained in:
ibuler
2016-11-16 18:12:14 +08:00
parent 5745c8cc4a
commit aff37092bf
19 changed files with 164 additions and 83 deletions

View File

@@ -0,0 +1,14 @@
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')
urlpatterns = router.urls