Commit 98f31254 authored by Nicolas Joyard's avatar Nicolas Joyard

Add chambers to API

parent 2b15032d
from rest_framework import routers
from representatives.api import (
ChamberViewSet,
ConstituencyViewSet,
GroupViewSet,
MandateViewSet,
......@@ -23,6 +24,7 @@ from representatives_recommendations.api import (
router = routers.DefaultRouter()
router.register(r'chambers', ChamberViewSet, 'api-chamber')
router.register(r'constituencies', ConstituencyViewSet, 'api-constituency')
router.register(r'dossiers', DossierViewSet, 'api-dossier')
router.register(r'dossier_scores', DossierScoreViewSet, 'api-dossierscore')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment