· 4 years ago · Dec 28, 2020, 12:44 PM
1ValueError at /api/v1/experience/add/
2The following fields do not exist in this model or are m2m fields: work_length
3
4Request Method: POST
5Request URL: https://workus.webcase-dev.com/api/v1/experience/add/
6Django Version: 3.0.10
7Python Executable: /home/workus/workus/workus/server/.venv/bin/python
8Python Version: 3.8.5
9Python Path: ['/home/workus/workus/workus/server', '/home/workus/workus/workus/server/.venv/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages']
10Server time: Mon, 28 Dec 2020 12:38:18 +0000
11Installed Applications:
12['markup',
13 'shared',
14 'constance',
15 'constance.backends.database',
16 'apps.frontend',
17 'apps.accounts',
18 'apps.organisation',
19 'apps.menu',
20 'apps.text_pages',
21 'apps.core',
22 'apps.work',
23 'apps.work.attributes',
24 'apps.work.vacancies',
25 'apps.interaction',
26 'rosetta',
27 'vuejs_translate',
28 'social_django',
29 'solo',
30 'django_jinja',
31 'ckeditor',
32 'drf_yasg',
33 'ckeditor_uploader',
34 'standards',
35 'des',
36 'parler',
37 'codemirror2',
38 'postie',
39 'rest_framework',
40 'versatileimagefield',
41 'adminsortable2',
42 'seo',
43 'jet',
44 'mapwidgets',
45 'django_countries',
46 'robots',
47 'script_pattern',
48 'django.contrib.admin',
49 'django.contrib.gis',
50 'django.contrib.auth',
51 'django.contrib.contenttypes',
52 'django.contrib.sessions',
53 'django.contrib.messages',
54 'django.contrib.staticfiles',
55 'django.contrib.sites',
56 'webpack_loader']
57Installed Middleware:
58['django.middleware.security.SecurityMiddleware',
59 'django.contrib.sessions.middleware.SessionMiddleware',
60 'django.middleware.locale.LocaleMiddleware',
61 'django.middleware.common.CommonMiddleware',
62 'django.middleware.csrf.CsrfViewMiddleware',
63 'django.contrib.auth.middleware.AuthenticationMiddleware',
64 'django.contrib.messages.middleware.MessageMiddleware',
65 'django.middleware.clickjacking.XFrameOptionsMiddleware',
66 'seo.middleware.url_seo_middleware',
67 'social_django.middleware.SocialAuthExceptionMiddleware']
68
69
70Traceback (most recent call last):
71 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/django/core/handlers/exception.py", line 34, in inner
72 response = get_response(request)
73 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 115, in _get_response
74 response = self.process_exception_by_middleware(e, request)
75 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/django/core/handlers/base.py", line 113, in _get_response
76 response = wrapped_callback(request, *callback_args, **callback_kwargs)
77 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
78 return view_func(*args, **kwargs)
79 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/django/views/generic/base.py", line 71, in view
80 return self.dispatch(request, *args, **kwargs)
81 File "/home/workus/workus/workus/server/shared/rest/mixins.py", line 21, in dispatch
82 return super().dispatch(request, *args, **kwargs)
83 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/rest_framework/views.py", line 505, in dispatch
84 response = self.handle_exception(exc)
85 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/rest_framework/views.py", line 465, in handle_exception
86 self.raise_uncaught_exception(exc)
87 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
88 raise exc
89 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/rest_framework/views.py", line 502, in dispatch
90 response = handler(request, *args, **kwargs)
91 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/rest_framework/generics.py", line 190, in post
92 return self.create(request, *args, **kwargs)
93 File "/home/workus/workus/workus/server/shared/rest/views.py", line 190, in create
94 self.perform_create(serializer)
95 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/rest_framework/mixins.py", line 24, in perform_create
96 serializer.save()
97 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/rest_framework/serializers.py", line 212, in save
98 self.instance = self.create(validated_data)
99 File "/home/workus/workus/workus/server/apps/accounts/api/serializers/additional.py", line 141, in create
100 self._change_related(instance)
101 File "/home/workus/workus/workus/server/apps/accounts/api/serializers/additional.py", line 135, in _change_related
102 update_applicant_work_length(applicant=instance.applicant)
103 File "/home/workus/workus/workus/server/apps/accounts/services/experiences.py", line 23, in update_applicant_work_length
104 profile.save(update_fields=('work_length', ))
105 File "/home/workus/workus/workus/server/.venv/lib/python3.8/site-packages/django/db/models/base.py", line 733, in save
106 raise ValueError("The following fields do not exist in this "
107
108Exception Type: ValueError at /api/v1/experience/add/
109Exception Value: The following fields do not exist in this model or are m2m fields: work_length
110Request information:
111USER: admin
112
113GET: No GET data
114
115POST: No POST data
116
117FILES: No FILES data
118
119COOKIES:
120_ga = 'GA1.2.1505130517.1602254930'
121csrftoken = 'ukzHNWNGuIsuJkDQXoOdhdHkJMtQyeJQ4P3GIgJJWLVdcAr14LbSp4DPltgHqJIc'
122sessionid = '3x3ozk9e64wxylvd11ifj7aw20jun6n0'
123
124META:
125CONTENT_LENGTH = '116'
126CONTENT_TYPE = 'application/json'
127CSRF_COOKIE = 'ukzHNWNGuIsuJkDQXoOdhdHkJMtQyeJQ4P3GIgJJWLVdcAr14LbSp4DPltgHqJIc'
128HTTP_ACCEPT = '*/*'
129HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
130HTTP_ACCEPT_LANGUAGE = 'en'
131HTTP_CONNECTION = 'close'
132HTTP_COOKIE = '_ga=GA1.2.1505130517.1602254930; csrftoken=ukzHNWNGuIsuJkDQXoOdhdHkJMtQyeJQ4P3GIgJJWLVdcAr14LbSp4DPltgHqJIc; sessionid=3x3ozk9e64wxylvd11ifj7aw20jun6n0'
133HTTP_HOST = 'workus.webcase-dev.com'
134HTTP_ORIGIN = 'https://workus.webcase-dev.com'
135HTTP_REFERER = 'https://workus.webcase-dev.com/cabinet/profile/edit/client'
136HTTP_SEC_FETCH_DEST = 'empty'
137HTTP_SEC_FETCH_MODE = 'same-origin'
138HTTP_SEC_FETCH_SITE = 'same-origin'
139HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36'
140HTTP_X_CSRFTOKEN = 'ukzHNWNGuIsuJkDQXoOdhdHkJMtQyeJQ4P3GIgJJWLVdcAr14LbSp4DPltgHqJIc'
141HTTP_X_FORWARDED_FOR = '185.248.130.27'
142HTTP_X_FORWARDED_PROTO = 'https'
143PATH_INFO = '/api/v1/experience/add/'
144QUERY_STRING = ''
145RAW_URI = '/api/v1/experience/add/'
146REMOTE_ADDR = ''
147REQUEST_METHOD = 'POST'
148SCRIPT_NAME = ''
149SERVER_NAME = 'workus.webcase-dev.com'
150SERVER_PORT = '443'
151SERVER_PROTOCOL = 'HTTP/1.0'
152SERVER_SOFTWARE = 'gunicorn/20.0.4'
153gunicorn.socket = <gevent._socket3.socket at 0x7f7b600e1c20 object, fd=8, family=1, type=1, proto=0>
154wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f7b5bc0d8b0>
155wsgi.file_wrapper = ''
156wsgi.input = <gunicorn.http.body.Body object at 0x7f7b5bc0d580>
157wsgi.input_terminated = True
158wsgi.multiprocess = True
159wsgi.multithread = True
160wsgi.run_once = False
161wsgi.url_scheme = 'https'
162wsgi.version = '(1, 0)'
163
164Settings:
165Using settings module app.settings
166ABSOLUTE_URL_OVERRIDES = {}
167ADMINS = []
168ALLOWED_HOSTS = ['workus.webcase-dev.com', '159.89.27.30']
169APPEND_SLASH = True
170AUTHENTICATION_BACKENDS = "('social_core.backends.facebook.FacebookOAuth2', 'social_core.backends.google.GoogleOAuth2', 'apps.accounts.backends.nk.NKOAuth2', 'social_core.backends.twitter.TwitterOAuth', 'django.contrib.auth.backends.ModelBackend')"
171AUTH_PASSWORD_VALIDATORS = '********************'
172AUTH_USER_MODEL = 'accounts.User'
173BASE_DIR = PosixPath('/home/workus/workus/workus/server/app/settings/default.py')
174BASE_ROOT = PosixPath('/home/workus/workus/workus/server/app')
175CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
176CACHE_MIDDLEWARE_ALIAS = 'default'
177CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
178CACHE_MIDDLEWARE_SECONDS = 600
179CELERY_ACCEPT_CONTENT = ['json']
180CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
181CELERY_RESULT_SERIALIZER = 'json'
182CELERY_TASK_SERIALIZER = 'json'
183CKEDITOR_CONFIGS = {'default': {'CKEDITOR_BROWSE_SHOW_DIRS': True, 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic']], 'toolbar_YourCustomToolbarConfig': [{'name': 'document', 'items': ['Source', '-', 'Save', 'NewPage', 'Preview', 'Print', '-', 'Templates']}, {'name': 'clipboard', 'items': ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']}, {'name': 'editing', 'items': ['Find', 'Replace', '-', 'SelectAll']}, {'name': 'forms', 'items': ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField']}, '/', {'name': 'basicstyles', 'items': ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat']}, {'name': 'paragraph', 'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language']}, {'name': 'links', 'items': ['Link', 'Unlink', 'Anchor']}, {'name': 'insert', 'items': ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe']}, '/', {'name': 'styles', 'items': ['Styles', 'Format', 'Font', 'FontSize']}, {'name': 'colors', 'items': ['TextColor', 'BGColor']}, {'name': 'tools', 'items': ['Maximize', 'ShowBlocks']}, {'name': 'about', 'items': ['About']}, '/', {'name': 'yourcustomtools', 'items': ['Preview', 'Maximize']}], 'toolbar': 'YourCustomToolbarConfig', 'tabSpaces': 4, 'extraPlugins': 'uploadimage,div,autolink,autoembed,embedsemantic,widget,lineutils,clipboard,dialog,dialogui,elementspath,uploadwidget'}}
184CKEDITOR_UPLOAD_PATH = ''
185CONSTANCE_ADDITIONAL_FIELDS = {'email_fields': [<class 'django.forms.fields.EmailField'>, {}]}
186CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
187CONSTANCE_CONFIG = {'SMS_API_TOKEN': '********************', 'TINY_PNG_KEY': '********************'}
188CONSTANCE_CONFIG_FIELDSETS = {}
189CONSTANCE_DATABASE_CACHE_BACKEND = 'default'
190CSRF_COOKIE_AGE = 31449600
191CSRF_COOKIE_DOMAIN = None
192CSRF_COOKIE_HTTPONLY = False
193CSRF_COOKIE_NAME = 'csrftoken'
194CSRF_COOKIE_PATH = '/'
195CSRF_COOKIE_SAMESITE = 'Lax'
196CSRF_COOKIE_SECURE = True
197CSRF_FAILURE_VIEW = 'core.views.csrf_failure'
198CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
199CSRF_TRUSTED_ORIGINS = []
200CSRF_USE_SESSIONS = False
201DATABASES = {'default': {'NAME': 'workus_db', 'USER': 'workus_db', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'PORT': 5432, 'ENGINE': 'django.contrib.gis.db.backends.postgis', 'CONN_MAX_AGE': 0, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
202DATABASE_ROUTERS = []
203DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
204DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
205DATETIME_FORMAT = 'N j, Y, P'
206DATETIME_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']
207DATE_FORMAT = 'N j, Y'
208DATE_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']
209DEBUG = True
210DEBUG_PROPAGATE_EXCEPTIONS = False
211DECIMAL_SEPARATOR = '.'
212DEFAULT_CHARSET = 'utf-8'
213DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
214DEFAULT_EXTENSIONS = ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', 'django_jinja.builtins.extensions.DebugExtension', 'django_jinja.builtins.extensions.CsrfExtension', 'django_jinja.builtins.extensions.CacheExtension', 'django_jinja.builtins.extensions.TimezoneExtension', 'django_jinja.builtins.extensions.UrlsExtension', 'django_jinja.builtins.extensions.StaticFilesExtension', 'django_jinja.builtins.extensions.DjangoFiltersExtension']
215DEFAULT_FILE_STORAGE = 'shared.storages.LowerCaseStorage'
216DEFAULT_FROM_EMAIL = 'admin@admin.admin'
217DEFAULT_INDEX_TABLESPACE = ''
218DEFAULT_LOCATION_COORDINATES = '(36.4704, 46.4536)'
219DEFAULT_TABLESPACE = ''
220DEFAULT_VACANCY_PUBLISH_PERIOD_DAYS = 30
221DISALLOWED_USER_AGENTS = []
222EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
223EMAIL_CONFIG = {'EMAIL_FILE_PATH': '', 'EMAIL_HOST_USER': None, 'EMAIL_HOST_PASSWORD': '********************', 'EMAIL_HOST': '127.0.0.1', 'EMAIL_PORT': None, 'EMAIL_BACKEND': 'django.core.mail.backends.console.EmailBackend'}
224EMAIL_FILE_PATH = ''
225EMAIL_HOST = '127.0.0.1'
226EMAIL_HOST_PASSWORD = '********************'
227EMAIL_HOST_USER = None
228EMAIL_PORT = None
229EMAIL_SSL_CERTFILE = None
230EMAIL_SSL_KEYFILE = '********************'
231EMAIL_SUBJECT_PREFIX = '[Django] '
232EMAIL_TIMEOUT = None
233EMAIL_USE_LOCALTIME = False
234EMAIL_USE_SSL = False
235EMAIL_USE_TLS = False
236FILE_CHARSET = 'utf-8'
237FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
238FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
239FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
240FILE_UPLOAD_PERMISSIONS = 420
241FILE_UPLOAD_TEMP_DIR = None
242FIRST_DAY_OF_WEEK = 0
243FIXTURE_DIRS = []
244FORCE_SCRIPT_NAME = None
245FORMAT_MODULE_PATH = None
246FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
247GPS_SRID = 4326
248GUNICORN_PID = '/tmp/workus.pid'
249HOME_URL = '/'
250IGNORABLE_404_URLS = []
251INSTALLED_APPS = ['markup', 'shared', 'constance', 'constance.backends.database', 'apps.frontend', 'apps.accounts', 'apps.organisation', 'apps.menu', 'apps.text_pages', 'apps.core', 'apps.work', 'apps.work.attributes', 'apps.work.vacancies', 'apps.interaction', 'rosetta', 'vuejs_translate', 'social_django', 'solo', 'django_jinja', 'ckeditor', 'drf_yasg', 'ckeditor_uploader', 'standards', 'des', 'parler', 'codemirror2', 'postie', 'rest_framework', 'versatileimagefield', 'adminsortable2', 'seo', 'jet', 'mapwidgets', 'django_countries', 'robots', 'script_pattern', 'django.contrib.admin', 'django.contrib.gis', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'webpack_loader']
252INTERNAL_IPS = []
253JET_DEFAULT_THEME = 'default'
254JET_SIDE_MENU_COMPACT = True
255JET_SIDE_MENU_ITEMS = "({'label': '1. Users', 'items': ({'name': 'accounts.user'}, {'name': 'auth.group'}, {'name': 'social_django.usersocialauth'}, {'name': 'accounts.experience'}, {'name': 'accounts.hiddencompany'}, {'name': 'accounts.hiddenvacancy'}, {'name': 'accounts.applicantcomment'})}, {'label': 'Attributes', 'items': ({'name': 'work_attributes.category'}, {'name': 'work_attributes.profession'}, {'name': 'work_attributes.payrollfrequency'}, {'name': 'work_attributes.workingconditions'}, {'name': 'work_attributes.workingschedule'}, {'name': 'work_attributes.personaldocument'}, {'name': 'work_attributes.education'})}, {'label': 'Vacancies', 'items': ({'name': 'work_vacancies.vacancy'}, {'name': 'work_vacancies.vacancyview'}, {'name': 'work_vacancies.vacancyresponse'})}, {'label': 'Mailing', 'items': ({'name': 'postie.letter'}, {'name': 'postie.template'}, {'name': 'core.emailrecipient'}, {'name': 'des.dynamicemailconfiguration'}, {'name': 'core.sms'})}, {'label': 'Complaints', 'items': ({'name': 'interaction.complaintreason'}, {'name': 'interaction.complaint'})}, {'label': 'Contact us', 'items': ({'name': 'interaction.contactustheme'}, {'name': 'interaction.contactusitem'})}, {'label': 'Subscriptions', 'items': ({'name': 'interaction.subscription'}, {'name': 'interaction.verifiedemail'})}, {'label': 'FAQ', 'items': ({'name': 'interaction.faqitem'}, {'name': 'interaction.questiontopic'}, {'name': 'interaction.question'})}, {'label': 'Core', 'items': ({'name': 'core.location'}, {'name': 'core.imagefile'}, {'name': 'core.file'})}, {'label': 'Configuration', 'items': ({'name': 'constance.config'}, {'name': 'organisation.organisation'}, {'name': 'sites.site'})}, {'label': 'HR page', 'items': ({'name': 'organisation.advantage'}, {'name': 'organisation.howitworksitem'}, {'name': 'organisation.ourclientitem'})}, {'label': 'Seo', 'items': ({'name': 'seo.urlseo'},)}, {'label': 'Text pages', 'items': ({'name': 'text_pages.textpage'},)}, {'label': 'Menu', 'items': ({'name': 'menu.menuitem'},)}, {'label': 'Robots', 'items': ({'name': 'robots.url'}, {'name': 'robots.rule'})}, {'label': 'Script-patterns', 'items': ({'name': 'script_pattern.scriptblock'}, {'name': 'script_pattern.scripturl'})})"
256LANGUAGES = "(('en', 'English'),)"
257LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
258LANGUAGE_CODE = 'en'
259LANGUAGE_CODES = ['en']
260LANGUAGE_COOKIE_AGE = None
261LANGUAGE_COOKIE_DOMAIN = None
262LANGUAGE_COOKIE_HTTPONLY = False
263LANGUAGE_COOKIE_NAME = 'django_language'
264LANGUAGE_COOKIE_PATH = '/'
265LANGUAGE_COOKIE_SAMESITE = None
266LANGUAGE_COOKIE_SECURE = False
267LOCALE_PATHS = "(PosixPath('/home/workus/workus/workus/server/app/locale'),)"
268LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': PosixPath('/home/workus/workus/workus/server/app/settings/default.py/../logfile.log')}}, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}}
269LOGGING_CONFIG = 'logging.config.dictConfig'
270LOGIN_ERROR_URL = '/'
271LOGIN_REDIRECT_URL = '/'
272LOGIN_URL = '/'
273LOGOUT_REDIRECT_URL = '/'
274MANAGERS = []
275MAP_WIDGETS = {'GooglePointFieldWidget': (('zoom', 15), ('mapCenterLocationName', 'warsaw'), ('markerFitZoom', 12)), 'GOOGLE_MAP_API_KEY': '********************'}
276MEDIA_ROOT = '/home/workus/workus/workus/server/app/uploads'
277MEDIA_URL = '/uploads/'
278MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
279MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'seo.middleware.url_seo_middleware', 'social_django.middleware.SocialAuthExceptionMiddleware']
280MIGRATION_MODULES = {}
281MONTH_DAY_FORMAT = 'F j'
282NUMBER_GROUPING = 0
283PARLER_DEFAULT_LANGUAGE_CODE = 'en'
284PARLER_LANGUAGES = {1: ({'code': 'en', 'fallbacks': ['en'], 'hide_untranslated': False},), 'default': {'fallbacks': ['en'], 'hide_untranslated': False, 'code': 'en'}}
285PASSWORD_HASHERS = '********************'
286PASSWORD_RESET_TIMEOUT_DAYS = '********************'
287POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorUploadingWidget', 'widget_module': 'ckeditor_uploader.widgets', 'attrs': {}}
288POSTIE_INSTANT_SEND = False
289POSTIE_TEMPLATE_CHOICES = Choices(('new_question', 'new_question', 'New question'), ('new_complaint', 'new_complaint', 'New complaint'), ('new_contact_us', 'new_contact_us', 'New contact us'), ('email_verification', 'email_verification', 'Email verification'))
290POSTIE_TEMPLATE_CONTEXTS = {'new_question': {'link': 'Link to admin page'}, 'new_complaint': {'link': 'Link to admin page'}, 'new_contact_us': {'link': 'Link to admin page'}, 'email_verification': {'link': 'Link email verification page', 'email': 'Subscribing email', 'email_logo': 'Logo'}}
291PREPEND_WWW = False
292PROJECT_APPS = ['markup', 'shared', 'constance', 'constance.backends.database', 'apps.frontend', 'apps.accounts', 'apps.organisation', 'apps.menu', 'apps.text_pages', 'apps.core', 'apps.work', 'apps.work.attributes', 'apps.work.vacancies', 'apps.interaction']
293REST_FRAMEWORK = {'SEARCH_PARAM': 's', 'DATE_FORMAT': '%Y-%m-%d', 'DATE_INPUT_FORMATS': ['%d.%m.%Y', '%d-%m-%Y', '%Y-%m-%d'], 'TIME_FORMAT': '%H:%M:%S', 'DATETIME_FORMAT': '%Y-%m-%dT%H:%M:%S.%fZ', 'DEFAULT_PAGINATION_CLASS': 'shared.rest.pagination.CustomPageNumberPagination', 'PAGE_SIZE': 10, 'DEFAULT_METADATA_CLASS': 'standards.drf.metadata.FieldsetMetadata', 'DEFAULT_PARSER_CLASSES': ('standards.drf.parsers.CamelCaseORJSONParser', 'djangorestframework_camel_case.parser.CamelCaseFormParser', 'djangorestframework_camel_case.parser.CamelCaseMultiPartParser'), 'DEFAULT_RENDERER_CLASSES': ('standards.drf.renderers.CamelCaseORJSONRenderer', 'djangorestframework_camel_case.render.CamelCaseBrowsableAPIRenderer'), 'EXCEPTION_HANDLER': 'standards.drf.handlers.exception_handler'}
294ROOT_URLCONF = 'app.urls'
295ROSETTA_CACHE_NAME = 'default'
296ROSETTA_SHOW_AT_ADMIN_PANEL = True
297ROSETTA_STORAGE_CLASS = 'rosetta.storage.CacheRosettaStorage'
298SEARCH_AUTOCOMPLETE_COUNT = 7
299SECRET_KEY = '********************'
300SECURE_BROWSER_XSS_FILTER = False
301SECURE_CONTENT_TYPE_NOSNIFF = True
302SECURE_HSTS_INCLUDE_SUBDOMAINS = False
303SECURE_HSTS_PRELOAD = False
304SECURE_HSTS_SECONDS = 0
305SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
306SECURE_REDIRECT_EXEMPT = []
307SECURE_REFERRER_POLICY = None
308SECURE_SSL_HOST = None
309SECURE_SSL_REDIRECT = False
310SEO_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_path': 'ckeditor.widgets'}
311SEO_MODELS = ['text_pages.textpage', 'work_vacancies.vacancy']
312SEO_USE_URL_SEO = True
313SERVER_EMAIL = 'root@localhost'
314SESSION_CACHE_ALIAS = 'default'
315SESSION_COOKIE_AGE = 1209600
316SESSION_COOKIE_DOMAIN = None
317SESSION_COOKIE_HTTPONLY = True
318SESSION_COOKIE_NAME = 'sessionid'
319SESSION_COOKIE_PATH = '/'
320SESSION_COOKIE_SAMESITE = 'Lax'
321SESSION_COOKIE_SECURE = True
322SESSION_ENGINE = 'django.contrib.sessions.backends.db'
323SESSION_EXPIRE_AT_BROWSER_CLOSE = False
324SESSION_FILE_PATH = None
325SESSION_SAVE_EVERY_REQUEST = False
326SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
327SETTINGS_MODULE = 'app.settings'
328SHORT_DATETIME_FORMAT = 'm/d/Y P'
329SHORT_DATE_FORMAT = 'm/d/Y'
330SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
331SILENCED_SYSTEM_CHECKS = []
332SITE_ID = 1
333SMS_CODE_LENGTH = 6
334SOCIAL_AUTH_FACEBOOK_KEY = '********************'
335SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
336SOCIAL_AUTH_FIELDS_STORED_IN_SESSION = ['user_type']
337SOCIAL_AUTH_GOOGLE_OAUTH2_KEY = '********************'
338SOCIAL_AUTH_GOOGLE_OAUTH2_SCOPE = ['https://www.googleapis.com/auth/userinfo.email', 'https://www.googleapis.com/auth/userinfo.profile', 'https://www.googleapis.com/auth/user.phonenumbers.read']
339SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET = '********************'
340SOCIAL_AUTH_LOGIN_ERROR_URL = '/'
341SOCIAL_AUTH_LOGIN_REDIRECT_URL = '/'
342SOCIAL_AUTH_NK_KEY = '********************'
343SOCIAL_AUTH_NK_SCOPE = ['BASIC_PROFILE_ROLE', 'BIRTHDAY_PROFILE_ROLE', 'PHONE_PROFILE_ROLE']
344SOCIAL_AUTH_NK_SECRET = '********************'
345SOCIAL_AUTH_PIPELINE = "('social_core.pipeline.social_auth.social_details', 'social_core.pipeline.social_auth.social_uid', 'social_core.pipeline.social_auth.auth_allowed', 'social_core.pipeline.social_auth.social_user', 'apps.accounts.social_pipelines.associate_by_phone', 'apps.accounts.social_pipelines.require_phone', 'apps.accounts.social_pipelines.associate_by_phone', 'apps.accounts.social_pipelines.check_expected_user_type', 'apps.accounts.social_pipelines.get_phone_username', 'social_core.pipeline.user.create_user', 'social_core.pipeline.social_auth.associate_user', 'social_core.pipeline.social_auth.load_extra_data', 'social_core.pipeline.user.user_details')"
346SOCIAL_AUTH_POSTGRES_JSONFIELD = True
347SOCIAL_AUTH_RAISE_EXCEPTIONS = True
348SOCIAL_AUTH_TWITTER_KEY = '********************'
349SOCIAL_AUTH_TWITTER_SECRET = '********************'
350STATICFILES_DIRS = []
351STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
352STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
353STATIC_ROOT = '/home/workus/workus/workus/server/app/static'
354STATIC_URL = '/static/'
355TEMPLATES = [{'BACKEND': 'django_jinja.backend.Jinja2', 'NAME': 'jinja2', 'APP_DIRS': True, 'DIRS': [], 'OPTIONS': {'environment': 'shared.env.jinja2.environment', 'match_extension': '.jinja', 'newstyle_gettext': True, 'auto_reload': True, 'undefined': <class 'jinja2.runtime.Undefined'>, 'debug': True, 'filters': {}, 'globals': {}, 'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect'], 'extensions': ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', 'django_jinja.builtins.extensions.DebugExtension', 'django_jinja.builtins.extensions.CsrfExtension', 'django_jinja.builtins.extensions.CacheExtension', 'django_jinja.builtins.extensions.TimezoneExtension', 'django_jinja.builtins.extensions.UrlsExtension', 'django_jinja.builtins.extensions.StaticFilesExtension', 'django_jinja.builtins.extensions.DjangoFiltersExtension', 'webpack_loader.contrib.jinja2ext.WebpackExtension'], 'bytecode_cache': {'name': 'default', 'backend': 'django_jinja.cache.BytecodeCache', 'enabled': True}}}, {'DIRS': [], 'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'OPTIONS': {'context_processors': ['django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.messages.context_processors.messages', 'django.contrib.auth.context_processors.auth']}}]
356TEST_NON_SERIALIZED_APPS = []
357TEST_RUNNER = 'django.test.runner.DiscoverRunner'
358THOUSAND_SEPARATOR = ','
359TIME_FORMAT = 'P'
360TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
361TIME_ZONE = 'UTC'
362USE_I18N = True
363USE_L10N = True
364USE_THOUSAND_SEPARATOR = False
365USE_TZ = True
366USE_X_FORWARDED_HOST = False
367USE_X_FORWARDED_PORT = False
368VERSATILEIMAGEFIELD_RENDITION_KEY_SETS = '********************'
369VERSATILEIMAGEFIELD_SETTINGS = {'jpeg_resize_quality': 90, 'progressive_jpeg': True}
370WEBPACK_LOADER = {'DEFAULT': {'STATS_FILE': PosixPath('/home/workus/workus/workus/server/apps/frontend/static/frontend/webpack-stats.json')}}
371WKHTMLTOPDF_CMD_OPTIONS = {'disable-javascript': True}
372WSGI_APPLICATION = 'app.wsgi.application'
373X_FRAME_OPTIONS = 'SAMEORIGIN'
374YEAR_MONTH_FORMAT = 'F Y'
375
376
377You're seeing this error because you have DEBUG = True in your
378Django settings file. Change that to False, and Django will
379display a standard page generated by the handler for this status code.
380