· 5 years ago · Aug 05, 2020, 08:58 AM
1TypeError at /api/v1/vendor/create/
2send_vendor_adding() got an unexpected keyword argument 'vendor'
3
4Request Method: POST
5Request URL: http://206.81.26.103/api/v1/vendor/create/
6Django Version: 2.1
7Python Executable: /home/impulse/impulse/impulse/server/.venv/bin/python3.7
8Python Version: 3.7.3
9Python Path: ['/home/impulse/impulse/impulse/server', '/home/impulse/impulse/impulse/server', '/home/impulse/impulse/impulse/server/.venv/bin', '/home/impulse/impulse/impulse/server/.venv/lib/python37.zip', '/home/impulse/impulse/impulse/server/.venv/lib/python3.7', '/home/impulse/impulse/impulse/server/.venv/lib/python3.7/lib-dynload', '/usr/lib/python3.7', '/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages']
10Server time: Wed, 5 Aug 2020 08:51:40 +0000
11Installed Applications:
12['apps.pages',
13 'apps.staff',
14 'apps.location',
15 'apps.places',
16 'apps.base',
17 'apps.events',
18 'apps.tariffs',
19 'apps.booking',
20 'apps.scan',
21 'apps.statistic',
22 'apps.agents',
23 'apps.logs',
24 'apps.postie',
25 'apps.payments',
26 'apps.vendors',
27 'markup',
28 'admin_interface',
29 'django_jinja',
30 'rosetta',
31 'robots',
32 'des',
33 'ckeditor',
34 'colorfield',
35 'django_filters',
36 'constance',
37 'wkhtmltopdf',
38 'vuejs_translate',
39 'solo',
40 'menus',
41 'seo',
42 'allauth',
43 'allauth.socialaccount',
44 'allauth.socialaccount.providers.facebook',
45 'allauth.socialaccount.providers.twitter',
46 'allauth.socialaccount.providers.google',
47 'allauth.account',
48 'easy_thumbnails',
49 'mptt',
50 'parler',
51 'codemirror2',
52 'rest_framework',
53 'rest_framework.authtoken',
54 'rest_auth',
55 'rest_auth.registration',
56 'rest_framework_swagger',
57 'django_otp',
58 'django_otp.plugins.otp_totp',
59 'django.contrib.admin',
60 'django.contrib.auth',
61 'django.contrib.contenttypes',
62 'django.contrib.sessions',
63 'django.contrib.messages',
64 'django.contrib.staticfiles',
65 'django.contrib.sites']
66Installed Middleware:
67['django.middleware.security.SecurityMiddleware',
68 'apps.booking.contrib.session_middleware.SessionMiddleware',
69 'django.middleware.common.CommonMiddleware',
70 'django.middleware.csrf.CsrfViewMiddleware',
71 'django.contrib.auth.middleware.AuthenticationMiddleware',
72 'apps.booking.contrib.session_middleware.ProviderValidation',
73 'django_otp.middleware.OTPMiddleware',
74 'django.contrib.messages.middleware.MessageMiddleware',
75 'django.middleware.clickjacking.XFrameOptionsMiddleware',
76 'seo.middleware.url_seo_middleware']
77
78
79Traceback:
80
81File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
82 34. response = get_response(request)
83
84File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
85 126. response = self.process_exception_by_middleware(e, request)
86
87File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
88 124. response = wrapped_callback(request, *callback_args, **callback_kwargs)
89
90File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
91 54. return view_func(*args, **kwargs)
92
93File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/django/views/generic/base.py" in view
94 68. return self.dispatch(request, *args, **kwargs)
95
96File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
97 495. response = self.handle_exception(exc)
98
99File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in handle_exception
100 455. self.raise_uncaught_exception(exc)
101
102File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
103 492. response = handler(request, *args, **kwargs)
104
105File "/home/impulse/impulse/impulse/server/shared/views/response_format.py" in post
106 68. response = super().post(request, *args, **kwargs)
107
108File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/rest_framework/generics.py" in post
109 192. return self.create(request, *args, **kwargs)
110
111File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/rest_framework/mixins.py" in create
112 21. self.perform_create(serializer)
113
114File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/rest_framework/mixins.py" in perform_create
115 26. serializer.save()
116
117File "/home/impulse/impulse/impulse/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in save
118 214. self.instance = self.create(validated_data)
119
120File "/home/impulse/impulse/impulse/server/apps/vendors/rest/serializers.py" in create
121 29. vendor = create_vendor(provider=provider, **validated_data)
122
123File "/home/impulse/impulse/impulse/server/apps/vendors/contrib/creator.py" in create_vendor
124 46. VENDOR_EMAIL_PROCESSES.get(is_exists)(mail_kw)
125
126File "/home/impulse/impulse/impulse/server/apps/vendors/contrib/creator.py" in <lambda>
127 20. True: lambda kw: AuthSender().send_vendor_adding(**kw),
128
129Exception Type: TypeError at /api/v1/vendor/create/
130Exception Value: send_vendor_adding() got an unexpected keyword argument 'vendor'
131Request information:
132USER: pejcevaalina5
133
134GET: No GET data
135
136POST: No POST data
137
138FILES: No FILES data
139
140COOKIES:
141sessionid-1 = '3kgn76yx7hu2fmfa4ml68urllo0c8nhi'
142csrftoken = 'dsyDviM04pMTbbldNJyVrjlGiskckRoToig9vHf07P1YMUnjjQplGwsyOiga82EK'
143sessionid = 'c8hjx99kru1qwesmgt29p3aw89n1amp9'
144sessionid-125 = 'cmqsctt3mjh5f9d4xy42nwfxug4p4u8o'
145
146META:
147CONTENT_LENGTH = '32'
148CONTENT_TYPE = 'application/json;charset=UTF-8'
149CSRF_COOKIE = 'dsyDviM04pMTbbldNJyVrjlGiskckRoToig9vHf07P1YMUnjjQplGwsyOiga82EK'
150HTTP_ACCEPT = 'application/json, text/plain, */*'
151HTTP_ACCEPT_ENCODING = 'gzip, deflate'
152HTTP_ACCEPT_LANGUAGE = 'ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7,uk;q=0.6'
153HTTP_CONNECTION = 'close'
154HTTP_COOKIE = 'sessionid-1=3kgn76yx7hu2fmfa4ml68urllo0c8nhi; csrftoken=dsyDviM04pMTbbldNJyVrjlGiskckRoToig9vHf07P1YMUnjjQplGwsyOiga82EK; sessionid=c8hjx99kru1qwesmgt29p3aw89n1amp9; sessionid-125=cmqsctt3mjh5f9d4xy42nwfxug4p4u8o'
155HTTP_HOST = '206.81.26.103'
156HTTP_ORIGIN = 'http://206.81.26.103'
157HTTP_REFERER = 'http://206.81.26.103/account/vendors/'
158HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36'
159HTTP_X_CSRFTOKEN = 'dsyDviM04pMTbbldNJyVrjlGiskckRoToig9vHf07P1YMUnjjQplGwsyOiga82EK'
160HTTP_X_FORWARDED_FOR = '185.248.130.27'
161HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
162PATH_INFO = '/api/v1/vendor/create/'
163QUERY_STRING = ''
164RAW_URI = '/api/v1/vendor/create/'
165REMOTE_ADDR = ''
166REQUEST_METHOD = 'POST'
167SCRIPT_NAME = ''
168SERVER_NAME = '206.81.26.103'
169SERVER_PORT = '80'
170SERVER_PROTOCOL = 'HTTP/1.0'
171SERVER_SOFTWARE = 'gunicorn/19.9.0'
172gunicorn.socket = <gevent._socket3.socket object, fd=10, family=1, type=1, proto=0>
173wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f816fa1c0b8>
174wsgi.file_wrapper = ''
175wsgi.input = <gunicorn.http.body.Body object at 0x7f816f8ef780>
176wsgi.multiprocess = True
177wsgi.multithread = True
178wsgi.run_once = False
179wsgi.url_scheme = 'http'
180wsgi.version = '(1, 0)'
181
182Settings:
183Using settings module app.settings
184ABSOLUTE_URL_OVERRIDES = {}
185ACCOUNT_AUTHENTICATION_METHOD = 'email'
186ACCOUNT_EMAIL_REQUIRED = True
187ACCOUNT_USERNAME_REQUIRED = False
188ADMINS = []
189ALLOWED_HOSTS = ['206.81.26.103']
190APPEND_SLASH = True
191AUTHENTICATION_BACKENDS = "('django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend')"
192AUTH_PASSWORD_VALIDATORS = '********************'
193AUTH_USER_MODEL = 'staff.User'
194BASE_DIR = PosixPath('/home/impulse/impulse/impulse/server/app/settings/django.py')
195BASE_ROOT = PosixPath('/home/impulse/impulse/impulse/server/app')
196CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1', 'OPTIONS': {'PICKLE_VERSION': 4}}, 'staticfiles': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': 'staticfiles-filehashes'}}
197CACHE_MIDDLEWARE_ALIAS = 'default'
198CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
199CACHE_MIDDLEWARE_SECONDS = 600
200CANNED_CACHE_UPDATE_TASK_LOCATION = 'apps.events.tasks.global_update_cache_task'
201CART_SESSION_NAME = 'cart_id'
202CELERY_ACCEPT_CONTENT = ['json']
203CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
204CELERY_RESULT_SERIALIZER = 'json'
205CELERY_TASK_SERIALIZER = 'json'
206CKEDITOR_CONFIGS = {'default': {'toolbar': 'full', 'width': '100%', 'allowedContent': True}, 'minimum': {'toolbar': 'Custom', 'toolbar_Custom': [['Bold', 'Italic', 'Underline']], 'height': 70, 'width': 500}}
207CONSTANCE_ADDITIONAL_FIELDS = {'integer_field': [<class 'django.forms.fields.IntegerField'>, {}], 'file_field': [<class 'django.forms.fields.FileField'>, {}], 'char_field': [<class 'django.forms.fields.CharField'>, {}], 'image_field': [<class 'django.forms.fields.ImageField'>, {'required': False}], 'datetime_field': [<class 'django.forms.fields.DateTimeField'>, {}], 'wyswyg_field': [<class 'ckeditor.fields.RichTextFormField'>, {'config_name': 'minimum'}]}
208CONSTANCE_CONFIG = {'FAVICON': (None, 'PayPal mode', 'image_field'), 'PAYPAL_MODE': ('sandbox', 'PayPal mode', <class 'str'>), 'PAYPAL_SECRET': '********************', 'PAYPAL_CLIENT_ID': ('EBWKjlELKMYqRNQ6sYvFo64FtaRLRR5BdHEESmha49TM', 'PayPal client id', <class 'str'>), 'TICKET_RETURN': (15, 'Return unchecked ticket', 'integer_field'), 'VACATION_BANNER': ('-', 'Vacation banner', 'file_field'), 'VACATION_DATE': (datetime.datetime(2018, 1, 1, 0, 0), 'Vacation date'), 'VACATION_ACTIVE': (False, 'Vacation is active'), 'MAIN_TIMER': (datetime.datetime(2018, 1, 1, 0, 0), 'Main timer'), 'IS_MAIN_TIMER': (False, 'Main timer active'), 'MAIL_TICKET_MAIN_TEXT': ('some text {{order}} more text', '\n {{order}} - set order id,\n {{first_name}} - user first name,\n {{last_name}} - user last name\n ', 'wyswyg_field'), 'CODEREADER_KEY': '********************', 'CODEREADER_VERSION': ('-', 'CodeREADEr api version', <class 'str'>), 'CODEREADER_TEST': (True, 'Is CodeREADEr in test', <class 'bool'>), 'CODEREADER_ENABLE': (False, 'Is CodeREADEr enable', <class 'bool'>), 'USA_LOCATION_EXCEL': ('-', 'Excel file for location parser(USA)', 'file_field'), 'USERS_IMPORT': ('-', 'Users import', 'file_field'), 'CANADA_LOCATION': ('-', 'Excel file for location parser(Canada)', 'file_field'), 'ADMIN_EMAIL': ('admin@mail.com', 'Admin email', 'char_field'), 'PHONE': ('-', 'Phone number', 'char_field'), 'YOUTUBE': ('-', 'Youtube link', 'char_field'), 'LINKEDIN': ('-', 'LinkedIn link', 'char_field'), 'TWITTER': ('-', 'Twitter', 'char_field'), 'FACEBOOK': ('-', 'Facebook', 'char_field'), 'LOGO': ('-', 'Logo', 'file_field'), 'LOGO_PNG': ('-', 'Logo', 'file_field'), 'LOGO_MOB_TICKET': ('-', 'Logo', 'file_field'), 'ICON_MOB_TICKET': ('-', 'Mod ticket icon', 'file_field'), 'LOGO_ENVELOPE': ('-', 'Logo', 'file_field'), 'CURRENCY': ('USD', 'Currency', 'char_field'), 'ADDRESS_1': ('-', 'Address 1', 'char_field'), 'ADDRESS_1_WYSWYG': ('-', 'Address wich display in envelope', 'wyswyg_field'), 'ADDRESS_2': ('-', 'Address 2', 'char_field'), 'MAILCHIMP_API_KEY': '********************', 'MAILCHIMP_USERNAME': ('WebCase2018', 'Mailchimp username', 'char_field'), 'MAILCHIMP_EMAIL_LIST_ID': ('bcb1ae05a2', 'Mailchimp email list id', 'char_field'), 'AUTHORIZE_CLIENT_ID': ('-', 'Authorize ligin id', 'char_field'), 'AUTHORIZE_SECRET': '********************', 'AUTHORIZE_URL': ('https://apitest.authorize.net/xml/v1/request.api', 'Authorize payment url', 'char_field'), 'EMAIL_INFO': ('admin@mail.com', 'Admin email address for info messages', 'char_field'), 'EMAIL_OFFICE': ('admin@mail.com', 'Admin email address for office messages', 'char_field'), 'EMAIL_TICKET': ('admin@mail.com', 'Admin email address for tickets messages', 'char_field'), 'CLIENT_TIMEZONE': (0, 'Timezone', <class 'int'>), 'TAX': (12.625, 'Tax', <class 'float'>), 'TINYPNG_KEY': '********************', 'RULES_LINK': ('https://ticketimpulse.com/page/privacy-policy/', 'Rules link', <class 'str'>)}
209CONSTANCE_CONFIG_FIELDSETS = {'General': ('LOGO', 'LOGO_PNG', 'LOGO_MOB_TICKET', 'LOGO_ENVELOPE', 'ICON_MOB_TICKET', 'FAVICON', 'CURRENCY', 'CLIENT_TIMEZONE', 'TAX', 'RULES_LINK'), 'Mail addresses': ('EMAIL_INFO', 'EMAIL_TICKET', 'EMAIL_OFFICE'), 'Contacts': ('ADMIN_EMAIL', 'PHONE', 'ADDRESS_1', 'ADDRESS_2', 'ADDRESS_1_WYSWYG'), 'Social': ('YOUTUBE', 'LINKEDIN', 'TWITTER', 'FACEBOOK'), 'Email order': ('MAIL_TICKET_MAIN_TEXT',), 'Config': ('TICKET_RETURN', 'CANADA_LOCATION', 'USA_LOCATION_EXCEL', 'USERS_IMPORT', 'MAIN_TIMER', 'IS_MAIN_TIMER', 'TINYPNG_KEY'), 'Authorize': ('AUTHORIZE_URL', 'AUTHORIZE_CLIENT_ID', 'AUTHORIZE_SECRET'), 'Paypal': ('PAYPAL_MODE', 'PAYPAL_CLIENT_ID', 'PAYPAL_SECRET'), 'Vacation': ('VACATION_ACTIVE', 'VACATION_BANNER', 'VACATION_DATE'), 'CodeREADEr': ('CODEREADER_VERSION', 'CODEREADER_KEY', 'CODEREADER_TEST', 'CODEREADER_ENABLE'), 'Mailchimp': ('MAILCHIMP_API_KEY', 'MAILCHIMP_USERNAME', 'MAILCHIMP_EMAIL_LIST_ID')}
210CONSTANCE_DATABASE_CACHE_AUTOFILL_TIMEOUT = None
211CONSTANCE_REDIS_CONNECTION_CLASS = 'django_redis.get_redis_connection'
212CSRF_COOKIE_AGE = 31449600
213CSRF_COOKIE_DOMAIN = None
214CSRF_COOKIE_HTTPONLY = False
215CSRF_COOKIE_NAME = 'csrftoken'
216CSRF_COOKIE_PATH = '/'
217CSRF_COOKIE_SAMESITE = 'Lax'
218CSRF_COOKIE_SECURE = False
219CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
220CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
221CSRF_TRUSTED_ORIGINS = []
222CSRF_USE_SESSIONS = False
223DATABASES = {'default': {'NAME': 'impulse_db', 'USER': 'impulse_db', 'PASSWORD': '********************', 'HOST': '127.0.0.1', 'PORT': 5432, 'ENGINE': 'django.db.backends.postgresql', 'CONN_MAX_AGE': 0, 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}}
224DATABASE_ROUTERS = []
225DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
226DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
227DATETIME_FORMAT = 'N j, Y, P'
228DATETIME_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']
229DATE_FORMAT = 'N j, Y'
230DATE_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']
231DEBUG = 'True'
232DEBUG_PROPAGATE_EXCEPTIONS = False
233DECIMAL_SEPARATOR = '.'
234DEFAULT_CHARSET = 'utf-8'
235DEFAULT_CONTENT_TYPE = 'text/html'
236DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
237DEFAULT_EXTENSIONS = ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', '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']
238DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
239DEFAULT_FROM_EMAIL = 'admin@admin.admin'
240DEFAULT_INDEX_TABLESPACE = ''
241DEFAULT_TABLESPACE = ''
242DISALLOWED_USER_AGENTS = []
243EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
244EMAIL_HOST = 'localhost'
245EMAIL_HOST_PASSWORD = '********************'
246EMAIL_HOST_USER = ''
247EMAIL_PORT = 25
248EMAIL_SSL_CERTFILE = None
249EMAIL_SSL_KEYFILE = '********************'
250EMAIL_SUBJECT_PREFIX = '[Django] '
251EMAIL_TIMEOUT = None
252EMAIL_USE_LOCALTIME = False
253EMAIL_USE_SSL = False
254EMAIL_USE_TLS = False
255FILER_IMAGE_ADDITIONAL_CROPS = {'preview': {'size': (136, 76), 'crop': False, 'upscale': True}}
256FILER_IMAGE_MODEL = 'filer.Image'
257FILE_CHARSET = 'utf-8'
258FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
259FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
260FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
261FILE_UPLOAD_PERMISSIONS = None
262FILE_UPLOAD_TEMP_DIR = None
263FIRST_DAY_OF_WEEK = 0
264FIXTURE_DIRS = []
265FORCE_SCRIPT_NAME = None
266FORMAT_MODULE_PATH = None
267FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
268IGNORABLE_404_URLS = []
269INSTALLED_APPS = ['apps.pages', 'apps.staff', 'apps.location', 'apps.places', 'apps.base', 'apps.events', 'apps.tariffs', 'apps.booking', 'apps.scan', 'apps.statistic', 'apps.agents', 'apps.logs', 'apps.postie', 'apps.payments', 'apps.vendors', 'markup', 'admin_interface', 'django_jinja', 'rosetta', 'robots', 'des', 'ckeditor', 'colorfield', 'django_filters', 'constance', 'wkhtmltopdf', 'vuejs_translate', 'solo', 'menus', 'seo', 'allauth', 'allauth.socialaccount', 'allauth.socialaccount.providers.facebook', 'allauth.socialaccount.providers.twitter', 'allauth.socialaccount.providers.google', 'allauth.account', 'easy_thumbnails', 'mptt', 'parler', 'codemirror2', 'rest_framework', 'rest_framework.authtoken', 'rest_auth', 'rest_auth.registration', 'rest_framework_swagger', 'django_otp', 'django_otp.plugins.otp_totp', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites']
270INTERNAL_IPS = []
271LANGUAGES = "(('en', 'English'),)"
272LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
273LANGUAGE_CODE = 'en'
274LANGUAGE_COOKIE_AGE = None
275LANGUAGE_COOKIE_DOMAIN = None
276LANGUAGE_COOKIE_NAME = 'django_language'
277LANGUAGE_COOKIE_PATH = '/'
278LOCALE_PATHS = "(PosixPath('/home/impulse/impulse/impulse/server/app/locale'),)"
279LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': PosixPath('/home/impulse/impulse/impulse/server/app/settings/django.py/../logfile.log')}}, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}}
280LOGGING_CONFIG = 'logging.config.dictConfig'
281LOGIN_REDIRECT_URL = '/'
282LOGIN_URL = '/accounts/login/'
283LOGOUT_REDIRECT_URL = None
284MANAGERS = []
285MEDIA_ROOT = '/home/impulse/impulse/impulse/server/app/uploads'
286MEDIA_URL = '/uploads/'
287MENU_SETTINGS = {'variations': [{'label': 'Header', 'label_plural': 'Headers', 'position': 'header', 'is_nested': True}]}
288MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
289MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'apps.booking.contrib.session_middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'apps.booking.contrib.session_middleware.ProviderValidation', 'django_otp.middleware.OTPMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'seo.middleware.url_seo_middleware']
290MIGRATION_MODULES = {}
291MONTH_DAY_FORMAT = 'F j'
292NUMBER_GROUPING = 0
293OLD_PASSWORD_FIELD_ENABLED = '********************'
294PASSBOOK_CERTIFICATE = '********************'
295PASSBOOK_KEY = '********************'
296PASSBOOK_WWDR = '********************'
297PASSWORD_HASHERS = '********************'
298PASSWORD_RESET_SERIALIZER = '********************'
299PASSWORD_RESET_TIMEOUT_DAYS = '********************'
300POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_module': 'ckeditor.widgets'}
301POSTIE_INSTANT_SEND = True
302POSTIE_PROVIDER_TEMPLATE_CONTEXT = {'order_eticket': {'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'order_mobticket': {'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'order_will_call': {'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'order_class_mail': {'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'order_usps': {'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'refund': {'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'invoice': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}}
303POSTIE_TEMPLATE_CHOICES = Choices(('provider_registration', 'provider_registration', 'Provider Registration Confirmation Letter'), ('registration', 'registration', 'Registration Confirmation Letter'), ('password_reset', 'password_reset', 'Password Recovery Email'), ('password_change', 'password_change', 'Password Change Letter'), ('personal_change', 'personal_change', 'Personal Data Change Letter'), ('two_factor_info', 'two_factor_info', 'Email on / off two-factor authentication'), ('two_factor_confirmation', 'two_factor_confirmation', 'Email with code two-factor authentication (e-mail)'), ('new_order', 'new_order', 'A letter to the provider about the new order'), ('order_eticket', 'order_eticket', 'Letter with order form (E-ticket)'), ('order_mobticket', 'order_mobticket', 'Letter with order form (Mobile ticket)'), ('order_will_call', 'order_will_call', 'Letter with order form (Will call)'), ('order_class_mail', 'order_class_mail', 'Letter with order form (1st class mail)'), ('order_usps', 'order_usps', 'Letter with order form (order usps)'), ('refund', 'refund', 'Ticket Refund Letter'), ('tariff', 'tariff', ' Напоминание о том, что на карте нет средств для оплаты тарифа/коммисии '), ('tariff_admin', 'tariff_admin', ' Напоминание о том, что на карте нет средств для оплаты тарифа/коммисии (for admin)'), ('tariff_success', 'tariff_success', ' Оплата тарифа (success)'), ('invoice', 'invoice', ' Письмо с инвойсом (для агента)'), ('ask_charge', 'ask_charge', ' Ask to charge money from show balance (for admin)'), ('usher', 'usher', ' Приглашение для Ushers'), ('report', 'report', ' Отправка отчета (по окончанию шоу)'), ('hall_request', 'hall_request', ' Hall request'), ('card_notify', 'card_notify', ' Card notify'), ('card_notify_admin', 'card_notify_admin', ' Card notify admin'), ('vendor_register', 'vendor_register', ' Register new vendor'), ('vendor_adding', 'vendor_adding', ' Vendor adding to provider'))
304POSTIE_TEMPLATE_CONTEXTS = {'card_notify': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'card_notify_admin': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'ask_charge': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'phone': 'Phone', 'show_title': 'Show title'}, 'registration': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'provider_registration': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'confirmation_link': 'Confirmation link'}, 'password_reset': '********************', 'two_factor_info': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'two_factor_confirmation': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'confirmation_link': 'Confirmation link'}, 'personal_change': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'username': 'Username', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'password_change': '********************', 'order_eticket': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'provider_context': 'Provider context'}, 'order_mobticket': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'provider_context': 'Provider context'}, 'order_will_call': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'provider_context': 'Provider context'}, 'order_class_mail': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'provider_context': 'Provider context'}, 'order_usps': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'provider_context': 'Provider context'}, 'refund': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'invoice': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'comment': 'Comment', 'link': 'Link to invoice'}, 'new_order': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'order_number': 'Order number'}, 'tariff': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'price': 'Price (commission/tariff price)'}, 'tariff_admin': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'price': 'Price (commission/tariff price)'}, 'tariff_success': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'usher': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'login': 'Login', 'password': '********************'}, 'report': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}, 'hall_request': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'city': 'City', 'subdivision': 'Subdivision', 'country': 'Country', 'address_line_1': 'Address line', 'comment': 'Comment', 'image': 'Image'}, 'vendor_register': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'email': 'Email', 'password': '********************'}, 'vendor_adding': {'domain': 'Domain', 'main_url': 'Main url', 'config': 'Configs', 'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email'}}
305PREPEND_WWW = False
306PROJECT_APPS = ['apps.pages', 'apps.staff', 'apps.location', 'apps.places', 'apps.base', 'apps.events', 'apps.tariffs', 'apps.booking', 'apps.scan', 'apps.statistic', 'apps.agents', 'apps.logs', 'apps.postie', 'apps.payments', 'apps.vendors', 'markup']
307RESERVED_URL_PREFIXES = ['account', 'api', 'admin', 'uploads', 'vuejs-translatei18n', 'user', 'reset', 'paypal', 'tariffs', 'page', 'auth', 'test', 'rosetta', 'google3e72fbe36d05dedc', 'django-des', 'test-order-confirm', 'silk']
308REST_FRAMEWORK = {'DEFAULT_FILTER_BACKENDS': ('django_filters.rest_framework.DjangoFilterBackend',), 'EXCEPTION_HANDLER': 'shared.rest_handler.custom_exception_handler'}
309ROOT_URLCONF = 'app.urls'
310ROSETTA_CACHE_NAME = 'default'
311ROSETTA_SHOW_AT_ADMIN_PANEL = True
312ROSETTA_STORAGE_CLASS = 'rosetta.storage.CacheRosettaStorage'
313SECRET_KEY = '********************'
314SECURE_BROWSER_XSS_FILTER = False
315SECURE_CONTENT_TYPE_NOSNIFF = False
316SECURE_HSTS_INCLUDE_SUBDOMAINS = False
317SECURE_HSTS_PRELOAD = False
318SECURE_HSTS_SECONDS = 0
319SECURE_PROXY_SSL_HEADER = None
320SECURE_REDIRECT_EXEMPT = []
321SECURE_SSL_HOST = None
322SECURE_SSL_REDIRECT = False
323SEO_MODELS = ['pages.typical']
324SEO_TEMPLATES = Choices(('post_list', 'post_list', 'Post list'), ('base', 'base', 'Base'), ('typical', 'typical', 'Index'), ('faq', 'faq', 'FAQ'), ('index', 'index', 'Index'), ('galleries', 'galleries', 'Galleries'), ('contacts', 'contacts', 'Contacts'))
325SEO_VIEWS_CHOICES = "(('index', 'Index'),)"
326SERVER_EMAIL = 'root@localhost'
327SESSION_CACHE_ALIAS = 'default'
328SESSION_COOKIE_AGE = 1209600
329SESSION_COOKIE_DOMAIN = None
330SESSION_COOKIE_HTTPONLY = True
331SESSION_COOKIE_NAME = 'sessionid'
332SESSION_COOKIE_PATH = '/'
333SESSION_COOKIE_SAMESITE = 'Lax'
334SESSION_COOKIE_SECURE = False
335SESSION_ENGINE = 'apps.booking.contrib.session_backend'
336SESSION_EXPIRE_AT_BROWSER_CLOSE = False
337SESSION_FILE_PATH = None
338SESSION_SAVE_EVERY_REQUEST = False
339SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
340SETTINGS_MODULE = 'app.settings'
341SHORT_DATETIME_FORMAT = 'm/d/Y P'
342SHORT_DATE_FORMAT = 'm/d/Y'
343SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
344SILENCED_SYSTEM_CHECKS = []
345SITE_ID = 1
346SOCIALACCOUNT_PROVIDERS = {'facebook': {'METHOD': 'oauth2', 'SCOPE': ['email', 'public_profile', 'user_friends'], 'AUTH_PARAMS': {'auth_type': 'reauthenticate'}, 'FIELDS': ['id', 'email', 'name', 'verified', 'locale', 'timezone', 'link', 'gender', 'updated_time'], 'EXCHANGE_TOKEN': '********************', 'LOCALE_FUNC': <function <lambda> at 0x7f817eedf488>, 'VERIFIED_EMAIL': True, 'VERSION': 'v3.2'}}
347SOCIAL_AUTH_FACEBOOK_KEY = '********************'
348SOCIAL_AUTH_FACEBOOK_SECRET = '********************'
349STATICFILES_DIRS = []
350STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
351STATICFILES_STORAGE = 'shared.static_storage.DjsManifestStaticFilesStorage'
352STATIC_ROOT = '/home/impulse/impulse/impulse/server/app/static'
353STATIC_URL = '/static/'
354TEMPLATES = [{'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', 'constance.context_processors.config'], 'extensions': ['jinja2.ext.do', 'jinja2.ext.loopcontrols', 'jinja2.ext.with_', 'jinja2.ext.i18n', 'jinja2.ext.autoescape', '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'], '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', 'constance.context_processors.config']}}]
355TEST_NON_SERIALIZED_APPS = []
356TEST_RUNNER = 'django.test.runner.DiscoverRunner'
357THOUSAND_SEPARATOR = ','
358TIME_FORMAT = 'P'
359TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
360TIME_ZONE = 'UTC'
361USE_I18N = True
362USE_L10N = True
363USE_THOUSAND_SEPARATOR = False
364USE_TZ = False
365USE_X_FORWARDED_HOST = False
366USE_X_FORWARDED_PORT = False
367WKHTMLTOPDF_CMD = '/usr/bin/wkhtmltopdf'
368WSGI_APPLICATION = 'app.wsgi.application'
369X_FRAME_OPTIONS = 'SAMEORIGIN'
370YEAR_MONTH_FORMAT = 'F Y'
371
372
373You're seeing this error because you have DEBUG = True in your
374Django settings file. Change that to False, and Django will
375display a standard page generated by the handler for this status code.
376