WIP: local changes
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from django.urls import path, include
|
||||
from rest_framework.routers import DefaultRouter
|
||||
from . import views
|
||||
|
||||
router = DefaultRouter()
|
||||
router.register('contacts', views.ContactViewSet)
|
||||
router.register('relations', views.RelationViewSet)
|
||||
|
||||
urlpatterns = [
|
||||
path('', include(router.urls)),
|
||||
path('graph/', views.graph_data),
|
||||
path('relation-types/', views.relation_types),
|
||||
path('import/', views.import_contacts),
|
||||
]
|
||||
Reference in New Issue
Block a user