mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-28 12:34:00 +03:00
11 lines
213 B
Python
11 lines
213 B
Python
from rest_framework.routers import DefaultRouter
|
|
|
|
from . import views
|
|
|
|
app_name = "issue"
|
|
router = DefaultRouter()
|
|
|
|
router.register(r'summary', views.SummaryViewSet, basename='summary')
|
|
|
|
urlpatterns = router.urls
|