dsite/dsite/settings.py
Ching 97054f38fb [A] add token authentication
[U] update OfficeHoursAPI, use CreateAPIView
2019-06-19 18:56:00 +08:00

9 lines
244 B
Python

from .settings_default import *
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.BasicAuthentication',
'rest_framework.authentication.SessionAuthentication',
),
'PAGE_SIZE': 10
}