· 6 years ago · May 03, 2019, 03:22 AM
1TypeError at /api/v1/authentication/school/register/verify/
2'email' is an invalid keyword argument for this function
3
4Request Method: POST
5Request URL: http://192.168.5.171:9880/api/v1/authentication/school/register/verify/
6Django Version: 2.1.7
7Python Executable: /root/cs_api/env/bin/python
8Python Version: 3.7.0
9Python 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', '/root/cs_api']
10Server time: Fri, 3 May 2019 10:18:39 +0700
11Installed Applications:
12['djadmin',
13 'advanced_filters',
14 'django.contrib.admin',
15 'django.contrib.auth',
16 'django.contrib.sites',
17 'django.contrib.contenttypes',
18 'django.contrib.sessions',
19 'django.contrib.messages',
20 'django.contrib.staticfiles',
21 'celery',
22 'rest_framework',
23 'rest_framework_jwt',
24 'django_filters',
25 'corsheaders',
26 'drf_yasg',
27 'anymail',
28 'allauth',
29 'allauth.account',
30 'allauth.socialaccount',
31 'allauth.socialaccount.providers.google',
32 'allauth.socialaccount.providers.twitter',
33 'allauth.socialaccount.providers.facebook',
34 'allauth.socialaccount.providers.instagram',
35 'allauth.socialaccount.providers.linkedin_oauth2',
36 'career_support_models',
37 'cs_administrator.apps.CsAdministratorConfig',
38 'cs_advertisement.apps.CsAdvertisementConfig',
39 'cs_authentication.apps.CsAuthenticationConfig',
40 'cs_billing.apps.CsBillingConfig',
41 'cs_core.apps.CsCoreConfig',
42 'cs_candidate.apps.CsCandidateConfig',
43 'cs_employer.apps.CsEmployerConfig',
44 'cs_faq.apps.CsFAQConfig',
45 'cs_history.apps.CsHistoryConfig',
46 'cs_interview.apps.CsInterviewConfig',
47 'cs_job.apps.CsJobConfig',
48 'cs_log.apps.CsLogConfig',
49 'cs_message.apps.CsMessageConfig',
50 'cs_news.apps.CsNewsConfig',
51 'cs_organization.apps.CsOrganizationConfig',
52 'cs_profile.apps.CsProfileConfig',
53 'cs_region.apps.CsRegionConfig',
54 'cs_requirement.apps.CsRequirementConfig',
55 'cs_school.apps.CsSchoolConfig',
56 'cs_social.apps.CsSocialConfig',
57 'cs_transaction.apps.CsTransactionConfig',
58 'cs_user.apps.CsUserConfig',
59 'dbbackup']
60Installed Middleware:
61['django.middleware.security.SecurityMiddleware',
62 'corsheaders.middleware.CorsMiddleware',
63 'django.contrib.sessions.middleware.SessionMiddleware',
64 'django.middleware.common.CommonMiddleware',
65 'django.middleware.csrf.CsrfViewMiddleware',
66 'django.contrib.auth.middleware.AuthenticationMiddleware',
67 'django.contrib.messages.middleware.MessageMiddleware',
68 'django.middleware.clickjacking.XFrameOptionsMiddleware',
69 'djadmin.middleware.DJMiddleware']
70
71
72Traceback:
73
74File "/root/cs_api/env/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
75 34. response = get_response(request)
76
77File "/root/cs_api/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
78 126. response = self.process_exception_by_middleware(e, request)
79
80File "/root/cs_api/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
81 124. response = wrapped_callback(request, *callback_args, **callback_kwargs)
82
83File "/root/cs_api/env/lib/python3.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
84 54. return view_func(*args, **kwargs)
85
86File "/root/cs_api/env/lib/python3.7/site-packages/django/views/generic/base.py" in view
87 68. return self.dispatch(request, *args, **kwargs)
88
89File "/root/cs_api/env/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
90 495. response = self.handle_exception(exc)
91
92File "/root/cs_api/env/lib/python3.7/site-packages/rest_framework/views.py" in handle_exception
93 455. self.raise_uncaught_exception(exc)
94
95File "/root/cs_api/env/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
96 492. response = handler(request, *args, **kwargs)
97
98File "/root/cs_api/cs_authentication/views/school.py" in post
99 56. if serializer.is_valid():
100
101File "/root/cs_api/env/lib/python3.7/site-packages/rest_framework/serializers.py" in is_valid
102 236. self._validated_data = self.run_validation(self.initial_data)
103
104File "/root/cs_api/env/lib/python3.7/site-packages/rest_framework/serializers.py" in run_validation
105 437. value = self.validate(value)
106
107File "/root/cs_api/cs_authentication/serializers/school.py" in validate
108 191. {'email': email_verification_data['email']}
109
110File "/root/cs_api/env/lib/python3.7/site-packages/career_support_models/managers/user.py" in create_school_personal
111 33. SchoolPersonal.objects.create(user=user, school=school, **school_personal)
112
113File "/root/cs_api/env/lib/python3.7/site-packages/django/db/models/manager.py" in manager_method
114 82. return getattr(self.get_queryset(), name)(*args, **kwargs)
115
116File "/root/cs_api/env/lib/python3.7/site-packages/django/db/models/query.py" in create
117 411. obj = self.model(**kwargs)
118
119File "/root/cs_api/env/lib/python3.7/site-packages/django/db/models/base.py" in __init__
120 485. raise TypeError("'%s' is an invalid keyword argument for this function" % kwarg)
121
122Exception Type: TypeError at /api/v1/authentication/school/register/verify/
123Exception Value: 'email' is an invalid keyword argument for this function
124Request information:
125USER: AnonymousUser
126
127GET: No GET data
128
129POST: No POST data
130
131FILES: No FILES data
132
133COOKIES: No cookie data
134
135META:
136CONTENT_LENGTH = '191'
137CONTENT_TYPE = 'application/json;charset=UTF-8'
138DJANGO_SETTINGS_MODULE = 'career_support_api.settings'
139GATEWAY_INTERFACE = 'CGI/1.1'
140HISTCONTROL = 'ignoredups'
141HISTSIZE = '1000'
142HOME = '/root'
143HOSTNAME = 'agencyportal'
144HTTP_ACCEPT = 'application/json, text/plain, */*'
145HTTP_ACCEPT_ENCODING = 'gzip, deflate'
146HTTP_ACCEPT_LANGUAGE = 'id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7'
147HTTP_CACHE_CONTROL = 'no-cache'
148HTTP_CONNECTION = 'keep-alive'
149HTTP_HOST = '192.168.5.171:9880'
150HTTP_ORIGIN = 'http://192.168.5.129:8080'
151HTTP_PRAGMA = 'no-cache'
152HTTP_REFERER = 'http://192.168.5.129:8080/verify'
153HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36'
154LANG = 'en_US.UTF-8'
155LC_CTYPE = 'UTF-8'
156LESSOPEN = '||/usr/bin/lesspipe.sh %s'
157LOGNAME = 'root'
158LS_COLORS = 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:'
159MAIL = '/var/spool/mail/root'
160PATH = '/root/cs_api/env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin'
161PATH_INFO = '/api/v1/authentication/school/register/verify/'
162PWD = '/root/cs_api'
163QUERY_STRING = ''
164REMOTE_ADDR = '192.168.5.129'
165REMOTE_HOST = ''
166REQUEST_METHOD = 'POST'
167RUN_MAIN = 'true'
168SCRIPT_NAME = ''
169SELINUX_LEVEL_REQUESTED = ''
170SELINUX_ROLE_REQUESTED = ''
171SELINUX_USE_CURRENT_RANGE = ''
172SERVER_NAME = 'agencyportal'
173SERVER_PORT = '9880'
174SERVER_PROTOCOL = 'HTTP/1.1'
175SERVER_SOFTWARE = 'WSGIServer/0.2'
176SHELL = '/bin/bash'
177SHLVL = '2'
178SSH_CLIENT = '192.168.5.47 60891 22'
179SSH_CONNECTION = '192.168.5.47 60891 192.168.5.171 22'
180SSH_TTY = '/dev/pts/1'
181TERM = 'xterm-256color'
182TZ = 'Asia/Jakarta'
183USER = 'root'
184VIRTUAL_ENV = '/root/cs_api/env'
185XDG_RUNTIME_DIR = '/run/user/0'
186XDG_SESSION_ID = '3'
187_ = '/root/cs_api/env/bin/python'
188wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
189wsgi.file_wrapper = ''
190wsgi.input = <django.core.handlers.wsgi.LimitedStream object at 0x7fcf55bc1400>
191wsgi.multiprocess = False
192wsgi.multithread = True
193wsgi.run_once = False
194wsgi.url_scheme = 'http'
195wsgi.version = '(1, 0)'
196
197Settings:
198Using settings module career_support_api.settings
199ABSOLUTE_URL_OVERRIDES = {}
200ADMINS = [('Dimas', 'dimas.ari@frisidea.com'), ('Surya', 'komang.suryadana@frisidea.com')]
201ADMIN_COLOR_THEME = 'blue'
202ADMIN_HEADER_TITLE = 'Career Support Administrator'
203ALLOWED_HOSTS = ['localhost', '127.0.0.1', '0abf327e.ngrok.io', '192.168.5.46', '192.168.5.171']
204ANYMAIL = {'SENDGRID_API_KEY': '********************'}
205APPEND_SLASH = True
206AUTHENTICATION_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']
207AUTH_PASSWORD_VALIDATORS = '********************'
208AUTH_USER_MODEL = 'career_support_models.User'
209BASE_DIR = '/root/cs_api'
210CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
211CACHE_MIDDLEWARE_ALIAS = 'default'
212CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
213CACHE_MIDDLEWARE_SECONDS = 600
214CANDIDATE_PORTAL_URL = 'http://localhost:8000'
215CELERY_ACCEPT_CONTENT = ['application/json']
216CELERY_BROKER_URL = 'redis://localhost:6379'
217CELERY_RESULT_BACKEND = 'redis://localhost:6379'
218CELERY_RESULT_SERIALIZER = 'json'
219CELERY_TASK_SERIALIZER = 'json'
220CELERY_TIMEZONE = 'Asia/Jakarta'
221CORS_ORIGIN_ALLOW_ALL = True
222CSRF_COOKIE_AGE = 31449600
223CSRF_COOKIE_DOMAIN = None
224CSRF_COOKIE_HTTPONLY = False
225CSRF_COOKIE_NAME = 'csrftoken'
226CSRF_COOKIE_PATH = '/'
227CSRF_COOKIE_SAMESITE = 'Lax'
228CSRF_COOKIE_SECURE = False
229CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
230CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
231CSRF_TRUSTED_ORIGINS = []
232CSRF_USE_SESSIONS = False
233DATABASES = {'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}}}
234DATABASE_ROUTERS = []
235DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
236DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
237DATETIME_FORMAT = 'N j, Y, P'
238DATETIME_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']
239DATE_FORMAT = 'N j, Y'
240DATE_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']
241DEBUG = True
242DEBUG_PROPAGATE_EXCEPTIONS = False
243DECIMAL_SEPARATOR = '.'
244DEFAULT_CHARSET = 'utf-8'
245DEFAULT_CONTENT_TYPE = 'text/html'
246DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
247DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
248DEFAULT_FROM_EMAIL = 'noreply@frisidea.com'
249DEFAULT_INDEX_TABLESPACE = ''
250DEFAULT_TABLESPACE = ''
251DISALLOWED_USER_AGENTS = []
252DJADMIN_DYNAMIC_FIELD_DISPLAY = True
253DJADMIN_FIELD_DEPTH = 1
254EMAIL_BACKEND = 'anymail.backends.sendgrid.EmailBackend'
255EMAIL_HOST = 'localhost'
256EMAIL_HOST_PASSWORD = '********************'
257EMAIL_HOST_USER = ''
258EMAIL_PORT = 25
259EMAIL_SSL_CERTFILE = None
260EMAIL_SSL_KEYFILE = '********************'
261EMAIL_SUBJECT_PREFIX = '[Django] '
262EMAIL_TIMEOUT = None
263EMAIL_USE_LOCALTIME = False
264EMAIL_USE_SSL = False
265EMAIL_USE_TLS = False
266EMPLOYER_PORTAL_URL = 'http://localhost:8000'
267FILE_CHARSET = 'utf-8'
268FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
269FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
270FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
271FILE_UPLOAD_PERMISSIONS = None
272FILE_UPLOAD_TEMP_DIR = None
273FIRST_DAY_OF_WEEK = 0
274FIXTURE_DIRS = []
275FORCE_SCRIPT_NAME = None
276FORMAT_MODULE_PATH = None
277FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
278IGNORABLE_404_URLS = []
279INSTALLED_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']
280INTERNAL_IPS = []
281JWT_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_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'}
282LANGUAGES = [('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')]
283LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
284LANGUAGE_CODE = 'en-us'
285LANGUAGE_COOKIE_AGE = None
286LANGUAGE_COOKIE_DOMAIN = None
287LANGUAGE_COOKIE_NAME = 'django_language'
288LANGUAGE_COOKIE_PATH = '/'
289LOCALE_PATHS = []
290LOGGING = {}
291LOGGING_CONFIG = 'logging.config.dictConfig'
292LOGIN_REDIRECT_URL = '/accounts/profile/'
293LOGIN_URL = '/accounts/login/'
294LOGOUT_REDIRECT_URL = None
295MANAGERS = []
296MEDIA_ROOT = '/root/cs_api/root_media'
297MEDIA_URL = '/media/'
298MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
299MIDDLEWARE = ['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']
300MIGRATION_MODULES = {}
301MONTH_DAY_FORMAT = 'F j'
302NUMBER_GROUPING = 0
303PASSWORD_HASHERS = '********************'
304PASSWORD_RESET_TIMEOUT_DAYS = '********************'
305PREPEND_WWW = False
306REST_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'}
307ROOT_URLCONF = 'career_support_api.urls'
308SCHOOL_PORTAL_URL = 'http://localhost:8000'
309SECRET_KEY = '********************'
310SECURE_BROWSER_XSS_FILTER = False
311SECURE_CONTENT_TYPE_NOSNIFF = False
312SECURE_HSTS_INCLUDE_SUBDOMAINS = False
313SECURE_HSTS_PRELOAD = False
314SECURE_HSTS_SECONDS = 0
315SECURE_PROXY_SSL_HEADER = None
316SECURE_REDIRECT_EXEMPT = []
317SECURE_SSL_HOST = None
318SECURE_SSL_REDIRECT = False
319SERVER_EMAIL = 'root@localhost'
320SESSION_CACHE_ALIAS = 'default'
321SESSION_COOKIE_AGE = 1209600
322SESSION_COOKIE_DOMAIN = None
323SESSION_COOKIE_HTTPONLY = True
324SESSION_COOKIE_NAME = 'sessionid'
325SESSION_COOKIE_PATH = '/'
326SESSION_COOKIE_SAMESITE = 'Lax'
327SESSION_COOKIE_SECURE = False
328SESSION_ENGINE = 'django.contrib.sessions.backends.db'
329SESSION_EXPIRE_AT_BROWSER_CLOSE = False
330SESSION_FILE_PATH = None
331SESSION_SAVE_EVERY_REQUEST = False
332SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
333SETTINGS_MODULE = 'career_support_api.settings'
334SHORT_DATETIME_FORMAT = 'm/d/Y P'
335SHORT_DATE_FORMAT = 'm/d/Y'
336SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
337SILENCED_SYSTEM_CHECKS = []
338SITE_ID = 1
339SOCIALACCOUNT_PROVIDERS = {'linkedin': {'SCOPE': ['r_basicprofile', 'r_emailaddress'], 'PROFILE_FIELDS': ['id', 'first-name', 'last-name', 'email-address', 'picture-url', 'public-profile-url']}}
340STATICFILES_DIRS = "('/root/cs_api/static',)"
341STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
342STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
343STATIC_ROOT = '/root/cs_api/root_static'
344STATIC_URL = '/static/'
345SWAGGER_SETTINGS = {'SECURITY_DEFINITIONS': {'JWT': {'type': 'apiKey', 'name': 'Authorization', 'in': 'header'}}, 'USE_SESSION_AUTH': False}
346TEMPLATES = [{'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']}}]
347TEST_NON_SERIALIZED_APPS = []
348TEST_RUNNER = 'django.test.runner.DiscoverRunner'
349THOUSAND_SEPARATOR = ','
350THUMBNAIL_FORCE_OVERWRITE = True
351TIME_FORMAT = 'P'
352TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
353TIME_ZONE = 'Asia/Jakarta'
354USE_I18N = True
355USE_L10N = True
356USE_THOUSAND_SEPARATOR = False
357USE_TZ = True
358USE_X_FORWARDED_HOST = False
359USE_X_FORWARDED_PORT = False
360WSGI_APPLICATION = 'career_support_api.wsgi.application'
361X_FRAME_OPTIONS = 'SAMEORIGIN'
362YEAR_MONTH_FORMAT = 'F Y'
363
364
365You're seeing this error because you have DEBUG = True in your
366Django settings file. Change that to False, and Django will
367display a standard page generated by the handler for this status code.