mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-28 23:43:22 +00:00
feat: Création nouveau style / pagination profils annuaires
This commit is contained in:
@ -282,12 +282,13 @@ DATE_FORMAT = '%d-%m-%Y %H:%M'
|
||||
|
||||
EXPIRATION_SESSION_NB_SEC = 10
|
||||
|
||||
NB_RESULT_PER_PAGE = 8
|
||||
NB_RESULT_SUBSCRIPTIONS_PER_PAGE = 8
|
||||
NB_RESULT_PROFILES_PER_PAGE = 15
|
||||
NB_MAX_PAGE = 100
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DEFAULT_PAGINATION_CLASS': 'Subscriptions.pagination.CustomPagination',
|
||||
'PAGE_SIZE': NB_RESULT_PER_PAGE,
|
||||
'DEFAULT_PAGINATION_CLASS': 'Subscriptions.pagination.CustomSubscriptionPagination',
|
||||
'PAGE_SIZE': NB_RESULT_SUBSCRIPTIONS_PER_PAGE,
|
||||
'DEFAULT_AUTHENTICATION_CLASSES': (
|
||||
'rest_framework_simplejwt.authentication.JWTAuthentication',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user