mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Resolve merge conflicts.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user