mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-03-16 22:20:24 +00:00
Use DRF PageNumberPagination to finish fixing DRF tests
This commit is contained in:
parent
829840f411
commit
e74593d4b4
1 changed files with 6 additions and 1 deletions
|
|
@ -145,4 +145,9 @@ STATICFILES_DIRS = (
|
|||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
MEDIA_URL = "/media/"
|
||||
|
||||
ADMIN2_THEME_DIRECTORY = "djadmin2theme_default"
|
||||
ADMIN2_THEME_DIRECTORY = "djadmin2theme_default"
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
|
||||
'PAGE_SIZE': 10
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue