Fixed #40: added artist browsing view

This commit is contained in:
Eliot Berriot 2017-12-12 23:41:47 +01:00
parent 74926114e4
commit 926db0f366
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
6 changed files with 105 additions and 4 deletions

View file

@ -54,6 +54,7 @@ THIRD_PARTY_APPS = (
'rest_auth.registration',
'mptt',
'dynamic_preferences',
'django_filters',
)
# Apps specific for this project go here.
@ -298,7 +299,7 @@ REST_FRAMEWORK = {
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.IsAuthenticated',
),
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
'DEFAULT_PAGINATION_CLASS': 'funkwhale_api.common.pagination.FunkwhalePagination',
'PAGE_SIZE': 25,
'DEFAULT_AUTHENTICATION_CLASSES': (