Commit 984340b2 authored by Nicolas Joyard's avatar Nicolas Joyard

Update d-r dependency

parent c52592d6
......@@ -25,30 +25,6 @@ from representatives_recommendations.api import (
)
class RQLCountryViewSet(CountryViewSet):
filter_backends = CountryViewSet.filter_backends + [RQLBackend]
class RQLChamberViewSet(ChamberViewSet):
filter_backends = ChamberViewSet.filter_backends + [RQLBackend]
class RQLConstituencyViewSet(ConstituencyViewSet):
filter_backends = ConstituencyViewSet.filter_backends + [RQLBackend]
class RQLGroupViewSet(GroupViewSet):
filter_backends = GroupViewSet.filter_backends + [RQLBackend]
class RQLMandateViewSet(MandateViewSet):
filter_backends = MandateViewSet.filter_backends + (RQLBackend,)
class RQLRepresentativeViewSet(RepresentativeViewSet):
filter_backends = RepresentativeViewSet.filter_backends + (RQLBackend,)
class RQLDossierViewSet(DossierViewSet):
filter_backends = DossierViewSet.filter_backends + (RQLBackend,)
......@@ -63,16 +39,16 @@ class RQLVoteViewSet(VoteViewSet):
router = routers.DefaultRouter()
router.register('countries', RQLCountryViewSet, 'api-country')
router.register('chambers', RQLChamberViewSet, 'api-chamber')
router.register('constituencies', RQLConstituencyViewSet, 'api-constituency')
router.register('countries', CountryViewSet, 'api-country')
router.register('chambers', ChamberViewSet, 'api-chamber')
router.register('constituencies', ConstituencyViewSet, 'api-constituency')
router.register('dossiers', RQLDossierViewSet, 'api-dossier')
router.register('dossier_scores', DossierScoreViewSet, 'api-dossierscore')
router.register('groups', RQLGroupViewSet, 'api-group')
router.register('mandates', RQLMandateViewSet, 'api-mandate')
router.register('groups', GroupViewSet, 'api-group')
router.register('mandates', MandateViewSet, 'api-mandate')
router.register('proposals', RQLProposalViewSet, 'api-proposal')
router.register('recommendations', RecommendationViewSet, 'api-recommendation')
router.register('representatives', RQLRepresentativeViewSet,
router.register('representatives', RepresentativeViewSet,
'api-representative')
router.register('scores', RepresentativeScoreViewSet, 'api-score')
router.register('vote_scores', VoteScoreViewSet, 'api-votescore')
......
......@@ -18,7 +18,7 @@ setup(name='political-memory',
'django-filter>=0.13,<0.14',
'django-libsass>=0.7,<0.8',
'django-representatives-votes==0.0.24',
'django-representatives==0.0.33',
'django-representatives==0.0.34',
'django-rql-filter>=0.1.3,<0.2',
'django-taggit>=0.17,<0.18',
'django>=1.8,<1.9',
......
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