Skip to content
This repository has been archived by the owner on Mar 22, 2020. It is now read-only.

Commit

Permalink
add ProjectScoreAttribute viewset
Browse files Browse the repository at this point in the history
  • Loading branch information
johncosta committed Sep 28, 2013
1 parent 034b94b commit b6c1da4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scorinator/score/viewsets.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from rest_framework import viewsets

from score.models import ProjectScore, ScoreAttribute
from score.models import ProjectScore, ScoreAttribute, ProjectScoreAttribute


class ProjectScoreViewSet(viewsets.ModelViewSet):
Expand All @@ -11,3 +11,8 @@ class ProjectScoreViewSet(viewsets.ModelViewSet):
class ScoreAttributeViewSet(viewsets.ModelViewSet):

model = ScoreAttribute


class ProjectScoreAttribute(viewsets.ModelViewSet):

model = ProjectScoreAttribute

0 comments on commit b6c1da4

Please sign in to comment.