misc cleanup

This commit is contained in:
Michael DeHaan
2013-03-22 18:16:40 -04:00
parent e405c9b746
commit 85897049d9
3 changed files with 8 additions and 7 deletions

View File

@@ -91,10 +91,11 @@ class OrganizationsAdminsList(BaseList):
class OrganizationsProjectsList(BaseSubList):
model = Project
parent_model = Organization
relationship = 'projects'
serializer_class = ProjectSerializer
permission_classes = (CustomRbac,)
parent_model = Organization # for sub list
relationship = 'projects' # " "
# I can see the projects from the organization if:
# I'm the superuser