· 6 years ago · May 28, 2019, 07:16 AM
1
2["Please wait 5 minutes before request new code."]
3["Please wait 5 minutes before request new code."]
4["Please wait 5 minutes before request new code."]
5["Please wait 5 minutes before request new code."]
6["Please wait 5 minutes before request new code."]
7AttributeError at /api/v1/authentication/employer/register/
8Got AttributeError when attempting to get a value for field `email` on serializer `RegistrationVerifySerializer`.
9The serializer field might be named incorrectly and not match any attribute or key on the `str` instance.
10Original exception text was: 'str' object has no attribute 'email'.
11
12Request Method: POST
13Request URL: http://45.118.134.76:9880/api/v1/authentication/employer/register/
14Django Version: 2.2.1
15Python Executable: /opt/env/bin/python
16Python Version: 3.7.3
17Python Path: ['/opt/cs_api', '/opt/cs_api', '/opt/env/lib/python37.zip', '/opt/env/lib/python3.7', '/opt/env/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7', '/opt/env/lib/python3.7/site-packages']
18Server time: Tue, 28 May 2019 14:05:40 +0700
19Installed Applications:
20['djadmin',
21 'advanced_filters',
22 'django.contrib.admin',
23 'django.contrib.auth',
24 'django.contrib.sites',
25 'django.contrib.contenttypes',
26 'django.contrib.sessions',
27 'django.contrib.messages',
28 'django.contrib.staticfiles',
29 'celery',
30 'rest_framework',
31 'rest_framework_jwt',
32 'django_filters',
33 'corsheaders',
34 'drf_yasg',
35 'anymail',
36 'allauth',
37 'allauth.account',
38 'allauth.socialaccount',
39 'allauth.socialaccount.providers.google',
40 'allauth.socialaccount.providers.twitter',
41 'allauth.socialaccount.providers.facebook',
42 'allauth.socialaccount.providers.instagram',
43 'allauth.socialaccount.providers.linkedin_oauth2',
44 'career_support_models',
45 'cs_administrator.apps.CsAdministratorConfig',
46 'cs_advertisement.apps.CsAdvertisementConfig',
47 'cs_authentication.apps.CsAuthenticationConfig',
48 'cs_billing.apps.CsBillingConfig',
49 'cs_core.apps.CsCoreConfig',
50 'cs_candidate.apps.CsCandidateConfig',
51 'cs_employer.apps.CsEmployerConfig',
52 'cs_faq.apps.CsFAQConfig',
53 'cs_history.apps.CsHistoryConfig',
54 'cs_interview.apps.CsInterviewConfig',
55 'cs_job.apps.CsJobConfig',
56 'cs_log.apps.CsLogConfig',
57 'cs_message.apps.CsMessageConfig',
58 'cs_news.apps.CsNewsConfig',
59 'cs_organization.apps.CsOrganizationConfig',
60 'cs_profile.apps.CsProfileConfig',
61 'cs_region.apps.CsRegionConfig',
62 'cs_requirement.apps.CsRequirementConfig',
63 'cs_school.apps.CsSchoolConfig',
64 'cs_social.apps.CsSocialConfig',
65 'cs_transaction.apps.CsTransactionConfig',
66 'cs_user.apps.CsUserConfig',
67 'dbbackup']
68Installed Middleware:
69['django.middleware.security.SecurityMiddleware',
70 'corsheaders.middleware.CorsMiddleware',
71 'django.contrib.sessions.middleware.SessionMiddleware',
72 'django.middleware.common.CommonMiddleware',
73 'django.middleware.csrf.CsrfViewMiddleware',
74 'django.contrib.auth.middleware.AuthenticationMiddleware',
75 'django.contrib.messages.middleware.MessageMiddleware',
76 'django.middleware.clickjacking.XFrameOptionsMiddleware',
77 'djadmin.middleware.DJMiddleware']
78
79
80Traceback:
81
82File "/opt/env/lib/python3.7/site-packages/rest_framework/fields.py" in get_attribute
83 453. return get_attribute(instance, self.source_attrs)
84
85File "/opt/env/lib/python3.7/site-packages/rest_framework/fields.py" in get_attribute
86 101. instance = getattr(instance, attr)
87
88During handling of the above exception ('str' object has no attribute 'email'), another exception occurred:
89
90File "/opt/env/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
91 34. response = get_response(request)
92
93File "/opt/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
94 115. response = self.process_exception_by_middleware(e, request)
95
96File "/opt/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
97 113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
98
99File "/opt/env/lib/python3.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
100 54. return view_func(*args, **kwargs)
101
102File "/opt/env/lib/python3.7/site-packages/django/views/generic/base.py" in view
103 71. return self.dispatch(request, *args, **kwargs)
104
105File "/opt/env/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
106 495. response = self.handle_exception(exc)
107
108File "/opt/env/lib/python3.7/site-packages/rest_framework/views.py" in handle_exception
109 455. self.raise_uncaught_exception(exc)
110
111File "/opt/env/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
112 492. response = handler(request, *args, **kwargs)
113
114File "/opt/env/lib/python3.7/site-packages/rest_framework/generics.py" in post
115 192. return self.create(request, *args, **kwargs)
116
117File "/opt/env/lib/python3.7/site-packages/rest_framework/mixins.py" in create
118 22. headers = self.get_success_headers(serializer.data)
119
120File "/opt/env/lib/python3.7/site-packages/rest_framework/serializers.py" in data
121 563. ret = super(Serializer, self).data
122
123File "/opt/env/lib/python3.7/site-packages/rest_framework/serializers.py" in data
124 262. self._data = self.to_representation(self.instance)
125
126File "/opt/env/lib/python3.7/site-packages/rest_framework/serializers.py" in to_representation
127 517. attribute = field.get_attribute(instance)
128
129File "/opt/env/lib/python3.7/site-packages/rest_framework/fields.py" in get_attribute
130 474. raise type(exc)(msg)
131
132Exception Type: AttributeError at /api/v1/authentication/employer/register/
133Exception Value: Got AttributeError when attempting to get a value for field `email` on serializer `RegistrationVerifySerializer`.
134The serializer field might be named incorrectly and not match any attribute or key on the `str` instance.
135Original exception text was: 'str' object has no attribute 'email'.
136Request information:
137USER: AnonymousUser
138
139GET: No GET data
140
141POST: No POST data
142
143FILES: No FILES data
144
145COOKIES: No cookie data
146
147META:
148CONTENT_LENGTH = '64'
149CONTENT_TYPE = 'application/json'
150DJANGO_SETTINGS_MODULE = 'career_support_api.settings'
151GATEWAY_INTERFACE = 'CGI/1.1'
152HISTCONTROL = 'ignoredups'
153HISTSIZE = '1000'
154HOME = '/root'
155HOSTNAME = 'li1441-76.members.linode.com'
156HTTP_ACCEPT = '*/*'
157HTTP_HOST = '45.118.134.76:9880'
158HTTP_USER_AGENT = 'curl/7.64.1'
159LANG = 'en_US.UTF-8'
160LC_CTYPE = 'UTF-8'
161LESSOPEN = '||/usr/bin/lesspipe.sh %s'
162LOGNAME = 'root'
163LS_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:'
164MAIL = '/var/spool/mail/root'
165NVM_BIN = '/root/.nvm/versions/node/v12.3.1/bin'
166NVM_CD_FLAGS = ''
167NVM_DIR = '/root/.nvm'
168OLDPWD = '/opt'
169PATH = '/opt/env/bin:/root/.nvm/versions/node/v12.3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin'
170PATH_INFO = '/api/v1/authentication/employer/register/'
171PS1 = '(env) [\\u@\\h \\W]\\$ '
172PWD = '/opt/cs_api'
173QUERY_STRING = ''
174REMOTE_ADDR = '172.104.177.245'
175REMOTE_HOST = ''
176REQUEST_METHOD = 'POST'
177RUN_MAIN = 'true'
178SCRIPT_NAME = ''
179SELINUX_LEVEL_REQUESTED = ''
180SELINUX_ROLE_REQUESTED = ''
181SELINUX_USE_CURRENT_RANGE = ''
182SERVER_NAME = 'li1441-76.members.linode.com'
183SERVER_PORT = '9880'
184SERVER_PROTOCOL = 'HTTP/1.1'
185SERVER_SOFTWARE = 'WSGIServer/0.2'
186SHELL = '/bin/bash'
187SHLVL = '1'
188SSH_CLIENT = '139.228.154.179 65289 22'
189SSH_CONNECTION = '139.228.154.179 65289 45.118.134.76 22'
190SSH_TTY = '/dev/pts/0'
191TERM = 'xterm-256color'
192TZ = 'Asia/Jakarta'
193USER = 'root'
194VIRTUAL_ENV = '/opt/env'
195XDG_RUNTIME_DIR = '/run/user/0'
196XDG_SESSION_ID = '128'
197_ = '/usr/bin/nohup'
198wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
199wsgi.file_wrapper = ''
200wsgi.input = <django.core.handlers.wsgi.LimitedStream object at 0x7fa74b6d4358>
201wsgi.multiprocess = False
202wsgi.multithread = True
203wsgi.run_once = False
204wsgi.url_scheme = 'http'
205wsgi.version = '(1, 0)'
206
207Settings:
208Using settings module career_support_api.settings
209ABSOLUTE_URL_OVERRIDES = {}
210ADMINS = [('Dimas', 'dimas.ari@frisidea.com'), ('Surya', 'komang.suryadana@frisidea.com')]
211ADMIN_COLOR_THEME = 'blue'
212ADMIN_HEADER_TITLE = 'Career Support Administrator'
213ALLOWED_HOSTS = ['localhost', '127.0.0.1', '0abf327e.ngrok.io', '45.118.134.76', '192.168.5.46', '192.168.5.171']
214ANYMAIL = {'SENDGRID_API_KEY': '********************'}
215APPEND_SLASH = True
216AUTHENTICATION_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']
217AUTH_PASSWORD_VALIDATORS = '********************'
218AUTH_USER_MODEL = 'career_support_models.User'
219BASE_DIR = '/opt/cs_api'
220CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
221CACHE_MIDDLEWARE_ALIAS = 'default'
222CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
223CACHE_MIDDLEWARE_SECONDS = 600
224CANDIDATE_PORTAL_URL = 'http://localhost:8000'
225CELERY_ACCEPT_CONTENT = ['application/json']
226CELERY_BROKER_URL = 'redis://localhost:6379'
227CELERY_RESULT_BACKEND = 'redis://localhost:6379'
228CELERY_RESULT_SERIALIZER = 'json'
229CELERY_TASK_SERIALIZER = 'json'
230CELERY_TIMEZONE = 'Asia/Jakarta'
231CORS_ORIGIN_ALLOW_ALL = True
232CSRF_COOKIE_AGE = 31449600
233CSRF_COOKIE_DOMAIN = None
234CSRF_COOKIE_HTTPONLY = False
235CSRF_COOKIE_NAME = 'csrftoken'
236CSRF_COOKIE_PATH = '/'
237CSRF_COOKIE_SAMESITE = 'Lax'
238CSRF_COOKIE_SECURE = False
239CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
240CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
241CSRF_TRUSTED_ORIGINS = []
242CSRF_USE_SESSIONS = False
243DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'career_support', 'USER': 'frisidea', 'PASSWORD': '********************', 'HOST': 'localhost', 'PORT': '5432', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
244DATABASE_ROUTERS = []
245DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
246DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
247DATETIME_FORMAT = 'N j, Y, P'
248DATETIME_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']
249DATE_FORMAT = 'N j, Y'
250DATE_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']
251DEBUG = True
252DEBUG_PROPAGATE_EXCEPTIONS = False
253DECIMAL_SEPARATOR = '.'
254DEFAULT_CHARSET = 'utf-8'
255DEFAULT_CONTENT_TYPE = 'text/html'
256DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
257DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
258DEFAULT_FROM_EMAIL = 'noreply@frisidea.com'
259DEFAULT_INDEX_TABLESPACE = ''
260DEFAULT_TABLESPACE = ''
261DISALLOWED_USER_AGENTS = []
262DJADMIN_DYNAMIC_FIELD_DISPLAY = True
263DJADMIN_FIELD_DEPTH = 1
264EMAIL_BACKEND = 'anymail.backends.sendgrid.EmailBackend'
265EMAIL_HOST = 'localhost'
266EMAIL_HOST_PASSWORD = '********************'
267EMAIL_HOST_USER = ''
268EMAIL_PORT = 25
269EMAIL_SSL_CERTFILE = None
270EMAIL_SSL_KEYFILE = '********************'
271EMAIL_SUBJECT_PREFIX = '[Django] '
272EMAIL_TIMEOUT = None
273EMAIL_USE_LOCALTIME = False
274EMAIL_USE_SSL = False
275EMAIL_USE_TLS = False
276EMPLOYER_PORTAL_URL = 'http://localhost:8000'
277FILE_CHARSET = 'utf-8'
278FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
279FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
280FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
281FILE_UPLOAD_PERMISSIONS = None
282FILE_UPLOAD_TEMP_DIR = None
283FIRST_DAY_OF_WEEK = 0
284FIXTURE_DIRS = []
285FORCE_SCRIPT_NAME = None
286FORMAT_MODULE_PATH = None
287FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
288IGNORABLE_404_URLS = []
289INSTALLED_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']
290INTERNAL_IPS = []
291JWT_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'}
292LANGUAGES = [('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'), ('hy', 'Armenian'), ('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')]
293LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
294LANGUAGE_CODE = 'en-us'
295LANGUAGE_COOKIE_AGE = None
296LANGUAGE_COOKIE_DOMAIN = None
297LANGUAGE_COOKIE_NAME = 'django_language'
298LANGUAGE_COOKIE_PATH = '/'
299LOCALE_PATHS = []
300LOGGING = {}
301LOGGING_CONFIG = 'logging.config.dictConfig'
302LOGIN_REDIRECT_URL = '/accounts/profile/'
303LOGIN_URL = '/accounts/login/'
304LOGOUT_REDIRECT_URL = None
305MANAGERS = []
306MEDIA_ROOT = '/opt/cs_api/root_media'
307MEDIA_URL = '/media/'
308MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
309MIDDLEWARE = ['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']
310MIGRATION_MODULES = {}
311MONTH_DAY_FORMAT = 'F j'
312NUMBER_GROUPING = 0
313PASSWORD_HASHERS = '********************'
314PASSWORD_RESET_TIMEOUT_DAYS = '********************'
315PREPEND_WWW = False
316REST_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'}
317ROOT_URLCONF = 'career_support_api.urls'
318SCHOOL_PORTAL_URL = 'http://localhost:8000'
319SECRET_KEY = '********************'
320SECURE_BROWSER_XSS_FILTER = False
321SECURE_CONTENT_TYPE_NOSNIFF = False
322SECURE_HSTS_INCLUDE_SUBDOMAINS = False
323SECURE_HSTS_PRELOAD = False
324SECURE_HSTS_SECONDS = 0
325SECURE_PROXY_SSL_HEADER = None
326SECURE_REDIRECT_EXEMPT = []
327SECURE_SSL_HOST = None
328SECURE_SSL_REDIRECT = False
329SERVER_EMAIL = 'root@localhost'
330SESSION_CACHE_ALIAS = 'default'
331SESSION_COOKIE_AGE = 1209600
332SESSION_COOKIE_DOMAIN = None
333SESSION_COOKIE_HTTPONLY = True
334SESSION_COOKIE_NAME = 'sessionid'
335SESSION_COOKIE_PATH = '/'
336SESSION_COOKIE_SAMESITE = 'Lax'
337SESSION_COOKIE_SECURE = False
338SESSION_ENGINE = 'django.contrib.sessions.backends.db'
339SESSION_EXPIRE_AT_BROWSER_CLOSE = False
340SESSION_FILE_PATH = None
341SESSION_SAVE_EVERY_REQUEST = False
342SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
343SETTINGS_MODULE = 'career_support_api.settings'
344SHORT_DATETIME_FORMAT = 'm/d/Y P'
345SHORT_DATE_FORMAT = 'm/d/Y'
346SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
347SILENCED_SYSTEM_CHECKS = []
348SITE_ID = 1
349SITE_PREFIX = 'http://192.168.5.171:9880'
350SOCIALACCOUNT_PROVIDERS = {'linkedin': {'SCOPE': ['r_basicprofile', 'r_emailaddress'], 'PROFILE_FIELDS': ['id', 'first-name', 'last-name', 'email-address', 'picture-url', 'public-profile-url']}}
351STATICFILES_DIRS = "('/opt/cs_api/static',)"
352STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
353STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
354STATIC_ROOT = '/opt/cs_api/root_static'
355STATIC_URL = '/static/'
356SWAGGER_SETTINGS = {'SECURITY_DEFINITIONS': {'JWT': {'type': 'apiKey', 'name': 'Authorization', 'in': 'header'}}, 'USE_SESSION_AUTH': False}
357TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/opt/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']}}]
358TEST_NON_SERIALIZED_APPS = []
359TEST_RUNNER = 'django.test.runner.DiscoverRunner'
360THOUSAND_SEPARATOR = ','
361THUMBNAIL_FORCE_OVERWRITE = True
362TIME_FORMAT = 'P'
363TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
364TIME_ZONE = 'Asia/Jakarta'
365USE_I18N = True
366USE_L10N = True
367USE_THOUSAND_SEPARATOR = False
368USE_TZ = True
369USE_X_FORWARDED_HOST = False
370USE_X_FORWARDED_PORT = False
371WSGI_APPLICATION = 'career_support_api.wsgi.application'
372X_FRAME_OPTIONS = 'SAMEORIGIN'
373YEAR_MONTH_FORMAT = 'F Y'
374
375
376You're seeing this error because you have DEBUG = True in your
377Django settings file. Change that to False, and Django will
378display a standard page generated by the handler for this status code.
379
380
381["Please wait 5 minutes before request new code."]
382["Please wait 5 minutes before request new code."]
383curl: (7) Failed to connect to 45.118.134.76 port 9880: Connection refused
384
385["Please wait 5 minutes before request new code."]
386["Please wait 5 minutes before request new code."]
387["Please wait 5 minutes before request new code."]
388["Please wait 5 minutes before request new code."]
389["Please wait 5 minutes before request new code."]
390["Please wait 5 minutes before request new code."]
391AttributeError at /api/v1/authentication/employer/register/
392Got AttributeError when attempting to get a value for field `email` on serializer `RegistrationVerifySerializer`.
393The serializer field might be named incorrectly and not match any attribute or key on the `str` instance.
394Original exception text was: 'str' object has no attribute 'email'.
395
396Request Method: POST
397Request URL: http://45.118.134.76:9880/api/v1/authentication/employer/register/
398Django Version: 2.2.1
399Python Executable: /opt/env/bin/python
400Python Version: 3.7.3
401Python Path: ['/opt/cs_api', '/opt/cs_api', '/opt/env/lib/python37.zip', '/opt/env/lib/python3.7', '/opt/env/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7', '/opt/env/lib/python3.7/site-packages']
402Server time: Tue, 28 May 2019 14:10:42 +0700
403Installed Applications:
404['djadmin',
405 'advanced_filters',
406 'django.contrib.admin',
407 'django.contrib.auth',
408 'django.contrib.sites',
409 'django.contrib.contenttypes',
410 'django.contrib.sessions',
411 'django.contrib.messages',
412 'django.contrib.staticfiles',
413 'celery',
414 'rest_framework',
415 'rest_framework_jwt',
416 'django_filters',
417 'corsheaders',
418 'drf_yasg',
419 'anymail',
420 'allauth',
421 'allauth.account',
422 'allauth.socialaccount',
423 'allauth.socialaccount.providers.google',
424 'allauth.socialaccount.providers.twitter',
425 'allauth.socialaccount.providers.facebook',
426 'allauth.socialaccount.providers.instagram',
427 'allauth.socialaccount.providers.linkedin_oauth2',
428 'career_support_models',
429 'cs_administrator.apps.CsAdministratorConfig',
430 'cs_advertisement.apps.CsAdvertisementConfig',
431 'cs_authentication.apps.CsAuthenticationConfig',
432 'cs_billing.apps.CsBillingConfig',
433 'cs_core.apps.CsCoreConfig',
434 'cs_candidate.apps.CsCandidateConfig',
435 'cs_employer.apps.CsEmployerConfig',
436 'cs_faq.apps.CsFAQConfig',
437 'cs_history.apps.CsHistoryConfig',
438 'cs_interview.apps.CsInterviewConfig',
439 'cs_job.apps.CsJobConfig',
440 'cs_log.apps.CsLogConfig',
441 'cs_message.apps.CsMessageConfig',
442 'cs_news.apps.CsNewsConfig',
443 'cs_organization.apps.CsOrganizationConfig',
444 'cs_profile.apps.CsProfileConfig',
445 'cs_region.apps.CsRegionConfig',
446 'cs_requirement.apps.CsRequirementConfig',
447 'cs_school.apps.CsSchoolConfig',
448 'cs_social.apps.CsSocialConfig',
449 'cs_transaction.apps.CsTransactionConfig',
450 'cs_user.apps.CsUserConfig',
451 'dbbackup']
452Installed Middleware:
453['django.middleware.security.SecurityMiddleware',
454 'corsheaders.middleware.CorsMiddleware',
455 'django.contrib.sessions.middleware.SessionMiddleware',
456 'django.middleware.common.CommonMiddleware',
457 'django.middleware.csrf.CsrfViewMiddleware',
458 'django.contrib.auth.middleware.AuthenticationMiddleware',
459 'django.contrib.messages.middleware.MessageMiddleware',
460 'django.middleware.clickjacking.XFrameOptionsMiddleware',
461 'djadmin.middleware.DJMiddleware']
462
463
464Traceback:
465
466File "/opt/env/lib/python3.7/site-packages/rest_framework/fields.py" in get_attribute
467 453. return get_attribute(instance, self.source_attrs)
468
469File "/opt/env/lib/python3.7/site-packages/rest_framework/fields.py" in get_attribute
470 101. instance = getattr(instance, attr)
471
472During handling of the above exception ('str' object has no attribute 'email'), another exception occurred:
473
474File "/opt/env/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
475 34. response = get_response(request)
476
477File "/opt/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
478 115. response = self.process_exception_by_middleware(e, request)
479
480File "/opt/env/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
481 113. response = wrapped_callback(request, *callback_args, **callback_kwargs)
482
483File "/opt/env/lib/python3.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
484 54. return view_func(*args, **kwargs)
485
486File "/opt/env/lib/python3.7/site-packages/django/views/generic/base.py" in view
487 71. return self.dispatch(request, *args, **kwargs)
488
489File "/opt/env/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
490 495. response = self.handle_exception(exc)
491
492File "/opt/env/lib/python3.7/site-packages/rest_framework/views.py" in handle_exception
493 455. self.raise_uncaught_exception(exc)
494
495File "/opt/env/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
496 492. response = handler(request, *args, **kwargs)
497
498File "/opt/env/lib/python3.7/site-packages/rest_framework/generics.py" in post
499 192. return self.create(request, *args, **kwargs)
500
501File "/opt/env/lib/python3.7/site-packages/rest_framework/mixins.py" in create
502 22. headers = self.get_success_headers(serializer.data)
503
504File "/opt/env/lib/python3.7/site-packages/rest_framework/serializers.py" in data
505 563. ret = super(Serializer, self).data
506
507File "/opt/env/lib/python3.7/site-packages/rest_framework/serializers.py" in data
508 262. self._data = self.to_representation(self.instance)
509
510File "/opt/env/lib/python3.7/site-packages/rest_framework/serializers.py" in to_representation
511 517. attribute = field.get_attribute(instance)
512
513File "/opt/env/lib/python3.7/site-packages/rest_framework/fields.py" in get_attribute
514 474. raise type(exc)(msg)
515
516Exception Type: AttributeError at /api/v1/authentication/employer/register/
517Exception Value: Got AttributeError when attempting to get a value for field `email` on serializer `RegistrationVerifySerializer`.
518The serializer field might be named incorrectly and not match any attribute or key on the `str` instance.
519Original exception text was: 'str' object has no attribute 'email'.
520Request information:
521USER: AnonymousUser
522
523GET: No GET data
524
525POST: No POST data
526
527FILES: No FILES data
528
529COOKIES: No cookie data
530
531META:
532CONTENT_LENGTH = '64'
533CONTENT_TYPE = 'application/json'
534DJANGO_SETTINGS_MODULE = 'career_support_api.settings'
535GATEWAY_INTERFACE = 'CGI/1.1'
536HISTCONTROL = 'ignoredups'
537HISTSIZE = '1000'
538HOME = '/root'
539HOSTNAME = 'li1441-76.members.linode.com'
540HTTP_ACCEPT = '*/*'
541HTTP_HOST = '45.118.134.76:9880'
542HTTP_USER_AGENT = 'curl/7.64.1'
543LANG = 'en_US.UTF-8'
544LC_CTYPE = 'UTF-8'
545LESSOPEN = '||/usr/bin/lesspipe.sh %s'
546LOGNAME = 'root'
547LS_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:'
548MAIL = '/var/spool/mail/root'
549NVM_BIN = '/root/.nvm/versions/node/v12.3.1/bin'
550NVM_CD_FLAGS = ''
551NVM_DIR = '/root/.nvm'
552OLDPWD = '/opt'
553PATH = '/opt/env/bin:/root/.nvm/versions/node/v12.3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin'
554PATH_INFO = '/api/v1/authentication/employer/register/'
555PS1 = '(env) [\\u@\\h \\W]\\$ '
556PWD = '/opt/cs_api'
557QUERY_STRING = ''
558REMOTE_ADDR = '172.104.177.245'
559REMOTE_HOST = ''
560REQUEST_METHOD = 'POST'
561RUN_MAIN = 'true'
562SCRIPT_NAME = ''
563SELINUX_LEVEL_REQUESTED = ''
564SELINUX_ROLE_REQUESTED = ''
565SELINUX_USE_CURRENT_RANGE = ''
566SERVER_NAME = 'li1441-76.members.linode.com'
567SERVER_PORT = '9880'
568SERVER_PROTOCOL = 'HTTP/1.1'
569SERVER_SOFTWARE = 'WSGIServer/0.2'
570SHELL = '/bin/bash'
571SHLVL = '1'
572SSH_CLIENT = '139.228.154.179 65289 22'
573SSH_CONNECTION = '139.228.154.179 65289 45.118.134.76 22'
574SSH_TTY = '/dev/pts/0'
575TERM = 'xterm-256color'
576TZ = 'Asia/Jakarta'
577USER = 'root'
578VIRTUAL_ENV = '/opt/env'
579XDG_RUNTIME_DIR = '/run/user/0'
580XDG_SESSION_ID = '128'
581_ = '/usr/bin/nohup'
582wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>
583wsgi.file_wrapper = ''
584wsgi.input = <django.core.handlers.wsgi.LimitedStream object at 0x7ff44d6750b8>
585wsgi.multiprocess = False
586wsgi.multithread = True
587wsgi.run_once = False
588wsgi.url_scheme = 'http'
589wsgi.version = '(1, 0)'
590
591Settings:
592Using settings module career_support_api.settings
593ABSOLUTE_URL_OVERRIDES = {}
594ADMINS = [('Dimas', 'dimas.ari@frisidea.com'), ('Surya', 'komang.suryadana@frisidea.com')]
595ADMIN_COLOR_THEME = 'blue'
596ADMIN_HEADER_TITLE = 'Career Support Administrator'
597ALLOWED_HOSTS = ['localhost', '127.0.0.1', '0abf327e.ngrok.io', '45.118.134.76', '192.168.5.46', '192.168.5.171']
598ANYMAIL = {'SENDGRID_API_KEY': '********************'}
599APPEND_SLASH = True
600AUTHENTICATION_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']
601AUTH_PASSWORD_VALIDATORS = '********************'
602AUTH_USER_MODEL = 'career_support_models.User'
603BASE_DIR = '/opt/cs_api'
604CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
605CACHE_MIDDLEWARE_ALIAS = 'default'
606CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
607CACHE_MIDDLEWARE_SECONDS = 600
608CANDIDATE_PORTAL_URL = 'http://localhost:8000'
609CELERY_ACCEPT_CONTENT = ['application/json']
610CELERY_BROKER_URL = 'redis://localhost:6379'
611CELERY_RESULT_BACKEND = 'redis://localhost:6379'
612CELERY_RESULT_SERIALIZER = 'json'
613CELERY_TASK_SERIALIZER = 'json'
614CELERY_TIMEZONE = 'Asia/Jakarta'
615CORS_ORIGIN_ALLOW_ALL = True
616CSRF_COOKIE_AGE = 31449600
617CSRF_COOKIE_DOMAIN = None
618CSRF_COOKIE_HTTPONLY = False
619CSRF_COOKIE_NAME = 'csrftoken'
620CSRF_COOKIE_PATH = '/'
621CSRF_COOKIE_SAMESITE = 'Lax'
622CSRF_COOKIE_SECURE = False
623CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
624CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
625CSRF_TRUSTED_ORIGINS = []
626CSRF_USE_SESSIONS = False
627DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'career_support', 'USER': 'frisidea', 'PASSWORD': '********************', 'HOST': 'localhost', 'PORT': '5432', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
628DATABASE_ROUTERS = []
629DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
630DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
631DATETIME_FORMAT = 'N j, Y, P'
632DATETIME_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']
633DATE_FORMAT = 'N j, Y'
634DATE_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']
635DEBUG = True
636DEBUG_PROPAGATE_EXCEPTIONS = False
637DECIMAL_SEPARATOR = '.'
638DEFAULT_CHARSET = 'utf-8'
639DEFAULT_CONTENT_TYPE = 'text/html'
640DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
641DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
642DEFAULT_FROM_EMAIL = 'noreply@frisidea.com'
643DEFAULT_INDEX_TABLESPACE = ''
644DEFAULT_TABLESPACE = ''
645DISALLOWED_USER_AGENTS = []
646DJADMIN_DYNAMIC_FIELD_DISPLAY = True
647DJADMIN_FIELD_DEPTH = 1
648EMAIL_BACKEND = 'anymail.backends.sendgrid.EmailBackend'
649EMAIL_HOST = 'localhost'
650EMAIL_HOST_PASSWORD = '********************'
651EMAIL_HOST_USER = ''
652EMAIL_PORT = 25
653EMAIL_SSL_CERTFILE = None
654EMAIL_SSL_KEYFILE = '********************'
655EMAIL_SUBJECT_PREFIX = '[Django] '
656EMAIL_TIMEOUT = None
657EMAIL_USE_LOCALTIME = False
658EMAIL_USE_SSL = False
659EMAIL_USE_TLS = False
660EMPLOYER_PORTAL_URL = 'http://localhost:8000'
661FILE_CHARSET = 'utf-8'
662FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
663FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
664FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
665FILE_UPLOAD_PERMISSIONS = None
666FILE_UPLOAD_TEMP_DIR = None
667FIRST_DAY_OF_WEEK = 0
668FIXTURE_DIRS = []
669FORCE_SCRIPT_NAME = None
670FORMAT_MODULE_PATH = None
671FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
672IGNORABLE_404_URLS = []
673INSTALLED_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']
674INTERNAL_IPS = []
675JWT_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'}
676LANGUAGES = [('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'), ('hy', 'Armenian'), ('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')]
677LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
678LANGUAGE_CODE = 'en-us'
679LANGUAGE_COOKIE_AGE = None
680LANGUAGE_COOKIE_DOMAIN = None
681LANGUAGE_COOKIE_NAME = 'django_language'
682LANGUAGE_COOKIE_PATH = '/'
683LOCALE_PATHS = []
684LOGGING = {}
685LOGGING_CONFIG = 'logging.config.dictConfig'
686LOGIN_REDIRECT_URL = '/accounts/profile/'
687LOGIN_URL = '/accounts/login/'
688LOGOUT_REDIRECT_URL = None
689MANAGERS = []
690MEDIA_ROOT = '/opt/cs_api/root_media'
691MEDIA_URL = '/media/'
692MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
693MIDDLEWARE = ['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']
694MIGRATION_MODULES = {}
695MONTH_DAY_FORMAT = 'F j'
696NUMBER_GROUPING = 0
697PASSWORD_HASHERS = '********************'
698PASSWORD_RESET_TIMEOUT_DAYS = '********************'
699PREPEND_WWW = False
700REST_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'}
701ROOT_URLCONF = 'career_support_api.urls'
702SCHOOL_PORTAL_URL = 'http://localhost:8000'
703SECRET_KEY = '********************'
704SECURE_BROWSER_XSS_FILTER = False
705SECURE_CONTENT_TYPE_NOSNIFF = False
706SECURE_HSTS_INCLUDE_SUBDOMAINS = False
707SECURE_HSTS_PRELOAD = False
708SECURE_HSTS_SECONDS = 0
709SECURE_PROXY_SSL_HEADER = None
710SECURE_REDIRECT_EXEMPT = []
711SECURE_SSL_HOST = None
712SECURE_SSL_REDIRECT = False
713SERVER_EMAIL = 'root@localhost'
714SESSION_CACHE_ALIAS = 'default'
715SESSION_COOKIE_AGE = 1209600
716SESSION_COOKIE_DOMAIN = None
717SESSION_COOKIE_HTTPONLY = True
718SESSION_COOKIE_NAME = 'sessionid'
719SESSION_COOKIE_PATH = '/'
720SESSION_COOKIE_SAMESITE = 'Lax'
721SESSION_COOKIE_SECURE = False
722SESSION_ENGINE = 'django.contrib.sessions.backends.db'
723SESSION_EXPIRE_AT_BROWSER_CLOSE = False
724SESSION_FILE_PATH = None
725SESSION_SAVE_EVERY_REQUEST = False
726SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
727SETTINGS_MODULE = 'career_support_api.settings'
728SHORT_DATETIME_FORMAT = 'm/d/Y P'
729SHORT_DATE_FORMAT = 'm/d/Y'
730SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
731SILENCED_SYSTEM_CHECKS = []
732SITE_ID = 1
733SITE_PREFIX = 'http://192.168.5.171:9880'
734SOCIALACCOUNT_PROVIDERS = {'linkedin': {'SCOPE': ['r_basicprofile', 'r_emailaddress'], 'PROFILE_FIELDS': ['id', 'first-name', 'last-name', 'email-address', 'picture-url', 'public-profile-url']}}
735STATICFILES_DIRS = "('/opt/cs_api/static',)"
736STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
737STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
738STATIC_ROOT = '/opt/cs_api/root_static'
739STATIC_URL = '/static/'
740SWAGGER_SETTINGS = {'SECURITY_DEFINITIONS': {'JWT': {'type': 'apiKey', 'name': 'Authorization', 'in': 'header'}}, 'USE_SESSION_AUTH': False}
741TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/opt/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']}}]
742TEST_NON_SERIALIZED_APPS = []
743TEST_RUNNER = 'django.test.runner.DiscoverRunner'
744THOUSAND_SEPARATOR = ','
745THUMBNAIL_FORCE_OVERWRITE = True
746TIME_FORMAT = 'P'
747TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
748TIME_ZONE = 'Asia/Jakarta'
749USE_I18N = True
750USE_L10N = True
751USE_THOUSAND_SEPARATOR = False
752USE_TZ = True
753USE_X_FORWARDED_HOST = False
754USE_X_FORWARDED_PORT = False
755WSGI_APPLICATION = 'career_support_api.wsgi.application'
756X_FRAME_OPTIONS = 'SAMEORIGIN'
757YEAR_MONTH_FORMAT = 'F Y'
758
759
760You're seeing this error because you have DEBUG = True in your
761Django settings file. Change that to False, and Django will
762display a standard page generated by the handler for this status code.
763
764
765["Please wait 5 minutes before request new code."]
766^C%