Skip to content
Snippets Groups Projects
Commit 60f73d0b authored by Tomáš Čejka's avatar Tomáš Čejka
Browse files

fixed errors with compatibility

parent 45e894a6
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,7 @@ admin.autodiscover() ...@@ -20,7 +20,7 @@ admin.autodiscover()
# Routers provide an easy way of automatically determining the URL conf. # Routers provide an easy way of automatically determining the URL conf.
router = routers.DefaultRouter() router = routers.DefaultRouter()
router.register(r'routes', RouteViewSet, base_name='route') router.register(r'routes', RouteViewSet, basename='route')
router.register(r'ports', PortViewSet) router.register(r'ports', PortViewSet)
router.register(r'thenactions', ThenActionViewSet) router.register(r'thenactions', ThenActionViewSet)
router.register(r'fragmentypes', FragmentTypeViewSet) router.register(r'fragmentypes', FragmentTypeViewSet)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment