· 6 years ago · May 24, 2019, 07:38 AM
1AssertionError at /api/v1/school/agreement/1639/
2When a serializer is passed a `data` keyword argument you must call `.is_valid()` before attempting to access the serialized `.data` representation.
3You should either call `.is_valid()` first, or access `.initial_data` instead.
4
5Request Method: GET
6Request URL: http://192.168.5.171:9880/api/v1/school/agreement/1639/
7Django Version: 2.1.7
8Python Executable: /root/cs_api/env/bin/python
9Python Version: 3.7.0
10Python Path: ['/root/cs_api', '/usr/local/lib/python37.zip', '/usr/local/lib/python3.7', '/usr/local/lib/python3.7/lib-dynload', '/root/cs_api/env/lib/python3.7/site-packages', '/']
11Server time: Fri, 24 May 2019 14:35:16 +0700
12Installed Applications:
13['djadmin',
14 'advanced_filters',
15 'django.contrib.admin',
16 'django.contrib.auth',
17 'django.contrib.sites',
18 'django.contrib.contenttypes',
19 'django.contrib.sessions',
20 'django.contrib.messages',
21 'django.contrib.staticfiles',
22 'celery',
23 'rest_framework',
24 'rest_framework_jwt',
25 'django_filters',
26 'corsheaders',
27 'drf_yasg',
28 'anymail',
29 'allauth',
30 'allauth.account',
31 'allauth.socialaccount',
32 'allauth.socialaccount.providers.google',
33 'allauth.socialaccount.providers.twitter',
34 'allauth.socialaccount.providers.facebook',
35 'allauth.socialaccount.providers.instagram',
36 'allauth.socialaccount.providers.linkedin_oauth2',
37 'career_support_models',
38 'cs_administrator.apps.CsAdministratorConfig',
39 'cs_advertisement.apps.CsAdvertisementConfig',
40 'cs_authentication.apps.CsAuthenticationConfig',
41 'cs_billing.apps.CsBillingConfig',
42 'cs_core.apps.CsCoreConfig',
43 'cs_candidate.apps.CsCandidateConfig',
44 'cs_employer.apps.CsEmployerConfig',
45 'cs_faq.apps.CsFAQConfig',
46 'cs_history.apps.CsHistoryConfig',
47 'cs_interview.apps.CsInterviewConfig',
48 'cs_job.apps.CsJobConfig',
49 'cs_log.apps.CsLogConfig',
50 'cs_message.apps.CsMessageConfig',
51 'cs_news.apps.CsNewsConfig',
52 'cs_organization.apps.CsOrganizationConfig',
53 'cs_profile.apps.CsProfileConfig',
54 'cs_region.apps.CsRegionConfig',
55 'cs_requirement.apps.CsRequirementConfig',
56 'cs_school.apps.CsSchoolConfig',
57 'cs_social.apps.CsSocialConfig',
58 'cs_transaction.apps.CsTransactionConfig',
59 'cs_user.apps.CsUserConfig',
60 'dbbackup']
61Installed Middleware:
62['django.middleware.security.SecurityMiddleware',
63 'corsheaders.middleware.CorsMiddleware',
64 'django.contrib.sessions.middleware.SessionMiddleware',
65 'django.middleware.common.CommonMiddleware',
66 'django.middleware.csrf.CsrfViewMiddleware',
67 'django.contrib.auth.middleware.AuthenticationMiddleware',
68 'django.contrib.messages.middleware.MessageMiddleware',
69 'django.middleware.clickjacking.XFrameOptionsMiddleware',
70 'djadmin.middleware.DJMiddleware']
71
72
73Traceback:
74
75File "/root/cs_api/env/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
76 34. response = get_response(request)
77
78File "/root/cs_api/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
79 126. response = self.process_exception_by_middleware(e, request)
80
81File "/root/cs_api/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
82 124. response = wrapped_callback(request, *callback_args, **callback_kwargs)
83
84File "/root/cs_api/env/lib/python3.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
85 54. return view_func(*args, **kwargs)
86
87File "/root/cs_api/env/lib/python3.7/site-packages/django/views/generic/base.py" in view
88 68. return self.dispatch(request, *args, **kwargs)
89
90File "/root/cs_api/env/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
91 495. response = self.handle_exception(exc)
92
93File "/root/cs_api/env/lib/python3.7/site-packages/rest_framework/views.py" in handle_exception
94 455. self.raise_uncaught_exception(exc)
95
96File "/root/cs_api/env/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
97 492. response = handler(request, *args, **kwargs)
98
99File "/root/cs_api/cs_school/views/agreement.py" in get
100 67. return Response(serializer.data, status=status.HTTP_200_OK)
101
102File "/root/cs_api/env/lib/python3.7/site-packages/rest_framework/serializers.py" in data
103 563. ret = super(Serializer, self).data
104
105File "/root/cs_api/env/lib/python3.7/site-packages/rest_framework/serializers.py" in data
106 258. raise AssertionError(msg)
107
108Exception Type: AssertionError at /api/v1/school/agreement/1639/
109Exception Value: When a serializer is passed a `data` keyword argument you must call `.is_valid()` before attempting to access the serialized `.data` representation.
110You should either call `.is_valid()` first, or access `.initial_data` instead.
111Request information:
112USER: komangsuryabagus@yahoo.co.id
113
114GET: No GET data
115
116POST: No POST data
117
118FILES: No FILES data
119
120COOKIES: No cookie data
121
122META:
123CONTENT_LENGTH = ''
124CONTENT_TYPE = 'text/plain'
125DJANGO_SETTINGS_MODULE = 'career_support_api.settings'
126GATEWAY_INTERFACE = 'CGI/1.1'
127HTTP_ACCEPT = 'application/json, text/plain, */*'
128HTTP_ACCEPT_ENCODING = 'gzip, deflate'
129HTTP_ACCEPT_LANGUAGE = 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7'
130HTTP_AUTHORIZATION = 'JWT eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJ1c2VyX2lkIjoyNiwidXNlcm5hbWUiOiJrb21hbmdzdXJ5YWJhZ3VzQHlhaG9vLmNvLmlkIiwiZXhwIjoxNTU4NzAxMzE0LCJlbWFpbCI6ImtvbWFuZ3N1cnlhYmFndXNAeWFob28uY28uaWQiLCJvcmlnX2lhdCI6MTU1ODY4MjQwMH0.WUbRkzz4lVsU6Kw9Y_tVpXYObwb6t6AGkGpOxS4fNq2bhIY5cgygDSNcbREYa0QZ8vLIQ93stZxiJXhU5ZHtGA'
131HTTP_CACHE_CONTROL = 'no-cache'
132HTTP_CONNECTION = 'keep-alive'
133HTTP_HOST = '192.168.5.171:9880'
134HTTP_ORIGIN = 'http://192.168.5.131:8080'
135HTTP_PRAGMA = 'no-cache'
136HTTP_REFERER = 'http://192.168.5.131:8080/agreement'
137HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36'
138LANG = 'en_US.UTF-8'
139PATH = '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin'
140PATH_INFO = '/api/v1/school/agreement/1639/'
141QUERY_STRING = ''
142REMOTE_ADDR = '192.168.5.131'
143REMOTE_HOST = ''
144REQUEST_METHOD = 'GET'
145RUN_MAIN = 'true'
146SCRIPT_NAME = ''
147SERVER_NAME = 'agencyportal'
148SERVER_PORT = '9880'
149SERVER_PROTOCOL = 'HTTP/1.1'
150SERVER_SOFTWARE = 'WSGIServer/0.2'
151TZ = 'Asia/Jakarta'
152wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>
153wsgi.file_wrapper = ''
154wsgi.input = <django.core.handlers.wsgi.LimitedStream object at 0x7f2e6d3344a8>
155wsgi.multiprocess = False
156wsgi.multithread = True
157wsgi.run_once = False
158wsgi.url_scheme = 'http'
159wsgi.version = '(1, 0)'
160
161Settings:
162Using settings module career_support_api.settings
163ABSOLUTE_URL_OVERRIDES = {}
164ADMINS = [('Dimas', 'dimas.ari@frisidea.com'), ('Surya', 'komang.suryadana@frisidea.com')]
165ADMIN_COLOR_THEME = 'blue'
166ADMIN_HEADER_TITLE = 'Career Support Administrator'
167ALLOWED_HOSTS = ['localhost', '127.0.0.1', '0abf327e.ngrok.io', '192.168.5.46', '192.168.5.171', '192.168.5.173']
168ANYMAIL = {'SENDGRID_API_KEY': '********************'}
169APPEND_SLASH = True
170AUTHENTICATION_BACKENDS = ['cs_core.backends.authentications_backend.SchoolAuthenticationBackend', 'cs_core.backends.authentications_backend.CandidateAuthenticationBackend', 'cs_core.backends.authentications_backend.EmployerAuthenticationBackend', 'allauth.account.auth_backends.AuthenticationBackend', 'django.contrib.auth.backends.ModelBackend']
171AUTH_PASSWORD_VALIDATORS = '********************'
172AUTH_USER_MODEL = 'career_support_models.User'
173BASE_DIR = '/root/cs_api'
174CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
175CACHE_MIDDLEWARE_ALIAS = 'default'
176CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
177CACHE_MIDDLEWARE_SECONDS = 600
178CANDIDATE_PORTAL_URL = 'http://localhost:8000'
179CELERY_ACCEPT_CONTENT = ['application/json']
180CELERY_BROKER_URL = 'redis://localhost:6379'
181CELERY_RESULT_BACKEND = 'redis://localhost:6379'
182CELERY_RESULT_SERIALIZER = 'json'
183CELERY_TASK_SERIALIZER = 'json'
184CELERY_TIMEZONE = 'Asia/Jakarta'
185CORS_ORIGIN_ALLOW_ALL = True
186CSRF_COOKIE_AGE = 31449600
187CSRF_COOKIE_DOMAIN = None
188CSRF_COOKIE_HTTPONLY = False
189CSRF_COOKIE_NAME = 'csrftoken'
190CSRF_COOKIE_PATH = '/'
191CSRF_COOKIE_SAMESITE = 'Lax'
192CSRF_COOKIE_SECURE = False
193CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
194CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
195CSRF_TRUSTED_ORIGINS = []
196CSRF_USE_SESSIONS = False
197DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'career_support', 'USER': 'frisidea', 'PASSWORD': '********************', 'HOST': '192.168.5.171', 'PORT': '5432', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
198DATABASE_ROUTERS = []
199DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
200DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
201DATETIME_FORMAT = 'N j, Y, P'
202DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y']
203DATE_FORMAT = 'N j, Y'
204DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y']
205DEBUG = True
206DEBUG_PROPAGATE_EXCEPTIONS = False
207DECIMAL_SEPARATOR = '.'
208DEFAULT_CHARSET = 'utf-8'
209DEFAULT_CONTENT_TYPE = 'text/html'
210DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
211DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
212DEFAULT_FROM_EMAIL = 'noreply@frisidea.com'
213DEFAULT_INDEX_TABLESPACE = ''
214DEFAULT_TABLESPACE = ''
215DISALLOWED_USER_AGENTS = []
216DJADMIN_DYNAMIC_FIELD_DISPLAY = True
217DJADMIN_FIELD_DEPTH = 1
218EMAIL_BACKEND = 'anymail.backends.sendgrid.EmailBackend'
219EMAIL_HOST = 'localhost'
220EMAIL_HOST_PASSWORD = '********************'
221EMAIL_HOST_USER = ''
222EMAIL_PORT = 25
223EMAIL_SSL_CERTFILE = None
224EMAIL_SSL_KEYFILE = '********************'
225EMAIL_SUBJECT_PREFIX = '[Django] '
226EMAIL_TIMEOUT = None
227EMAIL_USE_LOCALTIME = False
228EMAIL_USE_SSL = False
229EMAIL_USE_TLS = False
230EMPLOYER_PORTAL_URL = 'http://localhost:8000'
231FILE_CHARSET = 'utf-8'
232FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
233FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
234FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
235FILE_UPLOAD_PERMISSIONS = None
236FILE_UPLOAD_TEMP_DIR = None
237FIRST_DAY_OF_WEEK = 0
238FIXTURE_DIRS = []
239FORCE_SCRIPT_NAME = None
240FORMAT_MODULE_PATH = None
241FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
242IGNORABLE_404_URLS = []
243INSTALLED_APPS = ['djadmin', 'advanced_filters', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.sites', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'celery', 'rest_framework', 'rest_framework_jwt', 'django_filters', 'corsheaders', 'drf_yasg', 'anymail', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.google', 'allauth.socialaccount.providers.twitter', 'allauth.socialaccount.providers.facebook', 'allauth.socialaccount.providers.instagram', 'allauth.socialaccount.providers.linkedin_oauth2', 'career_support_models', 'cs_administrator.apps.CsAdministratorConfig', 'cs_advertisement.apps.CsAdvertisementConfig', 'cs_authentication.apps.CsAuthenticationConfig', 'cs_billing.apps.CsBillingConfig', 'cs_core.apps.CsCoreConfig', 'cs_candidate.apps.CsCandidateConfig', 'cs_employer.apps.CsEmployerConfig', 'cs_faq.apps.CsFAQConfig', 'cs_history.apps.CsHistoryConfig', 'cs_interview.apps.CsInterviewConfig', 'cs_job.apps.CsJobConfig', 'cs_log.apps.CsLogConfig', 'cs_message.apps.CsMessageConfig', 'cs_news.apps.CsNewsConfig', 'cs_organization.apps.CsOrganizationConfig', 'cs_profile.apps.CsProfileConfig', 'cs_region.apps.CsRegionConfig', 'cs_requirement.apps.CsRequirementConfig', 'cs_school.apps.CsSchoolConfig', 'cs_social.apps.CsSocialConfig', 'cs_transaction.apps.CsTransactionConfig', 'cs_user.apps.CsUserConfig', 'dbbackup']
244INTERNAL_IPS = []
245JWT_AUTH = {'JWT_PUBLIC_KEY': '********************', 'JWT_PRIVATE_KEY': '********************', 'JWT_ALGORITHM': 'HS512', 'JWT_PAYLOAD_GET_USERNAME_HANDLER': 'cs_core.handlers.jwt_get_username_from_payload_handler', 'JWT_RESPONSE_PAYLOAD_HANDLER': 'cs_core.handlers.jwt_response_payload_handler', 'JWT_VERIFY': True, 'JWT_VERIFY_EXPIRATION': True, 'JWT_EXPIRATION_DELTA': datetime.timedelta(seconds=18000), 'JWT_REFRESH_EXPIRATION_DELTA': datetime.timedelta(days=7), 'JWT_AUDIENCE': None, 'JWT_ISSUER': None, 'JWT_LEEWAY': 10, 'JWT_ALLOW_REFRESH': True, 'JWT_AUTH_HEADER_PREFIX': 'JWT'}
246LANGUAGES = [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')]
247LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
248LANGUAGE_CODE = 'en-us'
249LANGUAGE_COOKIE_AGE = None
250LANGUAGE_COOKIE_DOMAIN = None
251LANGUAGE_COOKIE_NAME = 'django_language'
252LANGUAGE_COOKIE_PATH = '/'
253LOCALE_PATHS = []
254LOGGING = {}
255LOGGING_CONFIG = 'logging.config.dictConfig'
256LOGIN_REDIRECT_URL = '/accounts/profile/'
257LOGIN_URL = '/accounts/login/'
258LOGOUT_REDIRECT_URL = None
259MANAGERS = []
260MEDIA_ROOT = '/root/cs_api/root_media'
261MEDIA_URL = '/media/'
262MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
263MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'djadmin.middleware.DJMiddleware']
264MIGRATION_MODULES = {}
265MONTH_DAY_FORMAT = 'F j'
266NUMBER_GROUPING = 0
267PASSWORD_HASHERS = '********************'
268PASSWORD_RESET_TIMEOUT_DAYS = '********************'
269PREPEND_WWW = False
270REST_FRAMEWORK = {'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.IsAuthenticated',), 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_jwt.authentication.JSONWebTokenAuthentication',), 'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend', 'rest_framework.filters.SearchFilter'), 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination', 'PAGE_SIZE': 10, 'DATETIME_FORMAT': '%Y-%m-%d %H:%M:%S', 'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.URLPathVersioning', 'TEST_REQUEST_DEFAULT_FORMAT': 'json'}
271ROOT_URLCONF = 'career_support_api.urls'
272SCHOOL_PORTAL_URL = 'http://localhost:8000'
273SECRET_KEY = '********************'
274SECURE_BROWSER_XSS_FILTER = False
275SECURE_CONTENT_TYPE_NOSNIFF = False
276SECURE_HSTS_INCLUDE_SUBDOMAINS = False
277SECURE_HSTS_PRELOAD = False
278SECURE_HSTS_SECONDS = 0
279SECURE_PROXY_SSL_HEADER = None
280SECURE_REDIRECT_EXEMPT = []
281SECURE_SSL_HOST = None
282SECURE_SSL_REDIRECT = False
283SERVER_EMAIL = 'root@localhost'
284SESSION_CACHE_ALIAS = 'default'
285SESSION_COOKIE_AGE = 1209600
286SESSION_COOKIE_DOMAIN = None
287SESSION_COOKIE_HTTPONLY = True
288SESSION_COOKIE_NAME = 'sessionid'
289SESSION_COOKIE_PATH = '/'
290SESSION_COOKIE_SAMESITE = 'Lax'
291SESSION_COOKIE_SECURE = False
292SESSION_ENGINE = 'django.contrib.sessions.backends.db'
293SESSION_EXPIRE_AT_BROWSER_CLOSE = False
294SESSION_FILE_PATH = None
295SESSION_SAVE_EVERY_REQUEST = False
296SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
297SETTINGS_MODULE = 'career_support_api.settings'
298SHORT_DATETIME_FORMAT = 'm/d/Y P'
299SHORT_DATE_FORMAT = 'm/d/Y'
300SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
301SILENCED_SYSTEM_CHECKS = []
302SITE_ID = 1
303SITE_PREFIX = 'http://192.168.5.171:9880'
304SOCIALACCOUNT_PROVIDERS = {'linkedin': {'SCOPE': ['r_basicprofile', 'r_emailaddress'], 'PROFILE_FIELDS': ['id', 'first-name', 'last-name', 'email-address', 'picture-url', 'public-profile-url']}}
305STATICFILES_DIRS = "('/root/cs_api/static',)"
306STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
307STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
308STATIC_ROOT = '/root/cs_api/root_static'
309STATIC_URL = '/static/'
310SWAGGER_SETTINGS = {'SECURITY_DEFINITIONS': {'JWT': {'type': 'apiKey', 'name': 'Authorization', 'in': 'header'}}, 'USE_SESSION_AUTH': False}
311TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/root/cs_api/templates'], 'APP_DIRS': True, 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}]
312TEST_NON_SERIALIZED_APPS = []
313TEST_RUNNER = 'django.test.runner.DiscoverRunner'
314THOUSAND_SEPARATOR = ','
315THUMBNAIL_FORCE_OVERWRITE = True
316TIME_FORMAT = 'P'
317TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
318TIME_ZONE = 'Asia/Jakarta'
319USE_I18N = True
320USE_L10N = True
321USE_THOUSAND_SEPARATOR = False
322USE_TZ = True
323USE_X_FORWARDED_HOST = False
324USE_X_FORWARDED_PORT = False
325WSGI_APPLICATION = 'career_support_api.wsgi.application'
326X_FRAME_OPTIONS = 'SAMEORIGIN'
327YEAR_MONTH_FORMAT = 'F Y'
328
329
330You're seeing this error because you have DEBUG = True in your
331Django settings file. Change that to False, and Django will
332display a standard page generated by the handler for this status code.