Resolve merge conflicts.

This commit is contained in:
Michael DeHaan
2013-04-17 20:35:01 -04:00
parent 7c5fcba037
commit 5336316f2e
2 changed files with 6 additions and 4 deletions

View File

@@ -43,6 +43,7 @@ class OrganizationsList(BaseList):
model = Organization model = Organization
serializer_class = OrganizationSerializer serializer_class = OrganizationSerializer
permission_classes = (CustomRbac,) permission_classes = (CustomRbac,)
filter_fields = ('name',)
# I can see the organizations if: # I can see the organizations if:
# I am a superuser # I am a superuser

View File

@@ -38,7 +38,8 @@ ADMINS = (
MANAGERS = ADMINS MANAGERS = ADMINS
REST_FRAMEWORK = { REST_FRAMEWORK = {
'PAGINATE_BY': 10, 'FILTER_BACKEND': 'rest_framework.filters.DjangoFilterBackend',
'PAGINATE_BY': 25,
'PAGINATE_BY_PARAM': 'page_size', 'PAGINATE_BY_PARAM': 'page_size',
'DEFAULT_AUTHENTICATION_CLASSES': ( 'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.BasicAuthentication', 'rest_framework.authentication.BasicAuthentication',