SHARE
TWEET

Untitled

StasSychov Jun 12th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DoesNotExist at /api/v1/auth/login/
  2. EmailAddress matching query does not exist.
  3.  
  4. Request Method: POST
  5. Request URL: http://feodal.webcase-dev.site/api/v1/auth/login/
  6. Django Version: 2.1
  7. Python Executable: /home/feodal/feodal/feodal/server/.venv/bin/python3.7
  8. Python Version: 3.7.3
  9. Python Path: ['/home/feodal/feodal/feodal/server', '/home/feodal/feodal/feodal/server/.venv/bin', '/home/feodal/feodal/feodal/server/.venv/lib/python37.zip', '/home/feodal/feodal/feodal/server/.venv/lib/python3.7', '/home/feodal/feodal/feodal/server/.venv/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7', '/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages']
  10. Server time: Ср, 12 Чер 2019 13:18:34 +0000
  11. Installed Applications:
  12. ['markup',
  13.  'shared',
  14.  'apps.advertisement',
  15.  'apps.handling',
  16.  'apps.organization',
  17.  'apps.pages',
  18.  'apps.staff',
  19.  'adminsortable2',
  20.  'ckeditor',
  21.  'des',
  22.  'django_filters',
  23.  'django_jinja',
  24.  'jet',
  25.  'modeltranslation',
  26.  'parler',
  27.  'postie',
  28.  'seo',
  29.  'rest_framework',
  30.  'rest_framework.authtoken',
  31.  'rest_framework_recaptcha',
  32.  'robots',
  33.  'rosetta',
  34.  'solo',
  35.  'vuejs_translate',
  36.  'django.contrib.admin',
  37.  'django.contrib.auth',
  38.  'django.contrib.contenttypes',
  39.  'django.contrib.sessions',
  40.  'django.contrib.messages',
  41.  'django.contrib.staticfiles',
  42.  'django.contrib.sites',
  43.  'allauth',
  44.  'allauth.account',
  45.  'allauth.socialaccount',
  46.  'allauth.socialaccount.providers.google',
  47.  'allauth.socialaccount.providers.facebook',
  48.  'rest_auth',
  49.  'rest_auth.registration',
  50.  'mptt']
  51. Installed Middleware:
  52. ['django.middleware.security.SecurityMiddleware',
  53.  'django.contrib.sessions.middleware.SessionMiddleware',
  54.  'django.middleware.common.CommonMiddleware',
  55.  'django.middleware.csrf.CsrfViewMiddleware',
  56.  'django.contrib.auth.middleware.AuthenticationMiddleware',
  57.  'django.contrib.messages.middleware.MessageMiddleware',
  58.  'django.middleware.clickjacking.XFrameOptionsMiddleware']
  59.  
  60.  
  61. Traceback:
  62.  
  63. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
  64.   34.             response = get_response(request)
  65.  
  66. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
  67.   126.                 response = self.process_exception_by_middleware(e, request)
  68.  
  69. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
  70.   124.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
  71.  
  72. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
  73.   54.         return view_func(*args, **kwargs)
  74.  
  75. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/views/generic/base.py" in view
  76.   68.             return self.dispatch(request, *args, **kwargs)
  77.  
  78. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/utils/decorators.py" in _wrapper
  79.   45.         return bound_method(*args, **kwargs)
  80.  
  81. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/views/decorators/debug.py" in sensitive_post_parameters_wrapper
  82.   76.             return view(request, *args, **kwargs)
  83.  
  84. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_auth/views.py" in dispatch
  85.   49.         return super(LoginView, self).dispatch(*args, **kwargs)
  86.  
  87. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
  88.   495.             response = self.handle_exception(exc)
  89.  
  90. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in handle_exception
  91.   455.             self.raise_uncaught_exception(exc)
  92.  
  93. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
  94.   492.             response = handler(request, *args, **kwargs)
  95.  
  96. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_auth/views.py" in post
  97.   103.         self.serializer.is_valid(raise_exception=True)
  98.  
  99. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in is_valid
  100.   236.                 self._validated_data = self.run_validation(self.initial_data)
  101.  
  102. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_framework/serializers.py" in run_validation
  103.   437.             value = self.validate(value)
  104.  
  105. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/rest_auth/serializers.py" in validate
  106.   108.                 email_address = user.emailaddress_set.get(email=user.email)
  107.  
  108. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/manager.py" in manager_method
  109.   82.                 return getattr(self.get_queryset(), name)(*args, **kwargs)
  110.  
  111. File "/home/feodal/feodal/feodal/server/.venv/lib/python3.7/site-packages/django/db/models/query.py" in get
  112.   399.                 self.model._meta.object_name
  113.  
  114. Exception Type: DoesNotExist at /api/v1/auth/login/
  115. Exception Value: EmailAddress matching query does not exist.
  116. Request information:
  117. USER: AnonymousUser
  118.  
  119. GET: No GET data
  120.  
  121. POST: No POST data
  122.  
  123. FILES: No FILES data
  124.  
  125. COOKIES:
  126. csrftoken = '0TdbT9xSHOGT9LurSOW1SHQxT7t1A7rFI5uanYalbS8Ft1DX5pNH8WmcroTiaVCa'
  127.  
  128. META:
  129. CONTENT_LENGTH = '473'
  130. CONTENT_TYPE = 'application/json;charset=UTF-8'
  131. CSRF_COOKIE = '0TdbT9xSHOGT9LurSOW1SHQxT7t1A7rFI5uanYalbS8Ft1DX5pNH8WmcroTiaVCa'
  132. HTTP_ACCEPT = 'application/json, text/plain, */*'
  133. HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
  134. HTTP_ACCEPT_LANGUAGE = 'en-US,en;q=0.9,ru;q=0.8,uk;q=0.7'
  135. HTTP_CACHE_CONTROL = 'no-cache'
  136. HTTP_CONNECTION = 'close'
  137. HTTP_COOKIE = 'csrftoken=0TdbT9xSHOGT9LurSOW1SHQxT7t1A7rFI5uanYalbS8Ft1DX5pNH8WmcroTiaVCa'
  138. HTTP_DNT = '1'
  139. HTTP_HOST = 'feodal.webcase-dev.site'
  140. HTTP_ORIGIN = 'https://feodal.webcase-dev.site'
  141. HTTP_PRAGMA = 'no-cache'
  142. HTTP_REFERER = 'https://feodal.webcase-dev.site/'
  143. HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36'
  144. HTTP_X_CSRFTOKEN = '0TdbT9xSHOGT9LurSOW1SHQxT7t1A7rFI5uanYalbS8Ft1DX5pNH8WmcroTiaVCa'
  145. HTTP_X_FORWARDED_FOR = '185.248.130.27'
  146. HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
  147. PATH_INFO = '/api/v1/auth/login/'
  148. QUERY_STRING = ''
  149. RAW_URI = '/api/v1/auth/login/'
  150. REMOTE_ADDR = ''
  151. REQUEST_METHOD = 'POST'
  152. SCRIPT_NAME = ''
  153. SERVER_NAME = 'feodal.webcase-dev.site'
  154. SERVER_PORT = '80'
  155. SERVER_PROTOCOL = 'HTTP/1.0'
  156. SERVER_SOFTWARE = 'gunicorn/19.9.0'
  157. gunicorn.socket = <gevent._socket3.socket object, fd=10, family=1, type=1, proto=0>
  158. wsgi.errors = <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f9a5acb9588>
  159. wsgi.file_wrapper = ''
  160. wsgi.input = <gunicorn.http.body.Body object at 0x7f9a5acb9278>
  161. wsgi.multiprocess = True
  162. wsgi.multithread = True
  163. wsgi.run_once = False
  164. wsgi.url_scheme = 'http'
  165. wsgi.version = '(1, 0)'
  166.  
  167. Settings:
  168. Using settings module app.settings
  169. ABSOLUTE_URL_OVERRIDES = {}
  170. ACCOUNT_ADAPTER = 'apps.staff.adapters.MAccountAdapter'
  171. ACCOUNT_AUTHENTICATION_METHOD = 'email'
  172. ACCOUNT_CONFIRM_EMAIL_ON_GET = True
  173. ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
  174. ACCOUNT_EMAIL_REQUIRED = True
  175. ACCOUNT_EMAIL_VERIFICATION = 'mandatory'
  176. ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION = True
  177. ACCOUNT_USERNAME_REQUIRED = False
  178. ADMINS = []
  179. ALLOWED_HOSTS = ['feodal.webcase-dev.site', '142.93.108.98']
  180. APPEND_SLASH = True
  181. AUTHENTICATION_BACKENDS = "('django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend')"
  182. AUTH_PASSWORD_VALIDATORS = '********************'
  183. AUTH_USER_MODEL = 'auth.User'
  184. BASE_DIR = PosixPath('/home/feodal/feodal/feodal/server/app/settings/default.py')
  185. BASE_ROOT = PosixPath('/home/feodal/feodal/feodal/server/app')
  186. CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/1'}}
  187. CACHE_MIDDLEWARE_ALIAS = 'default'
  188. CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
  189. CACHE_MIDDLEWARE_SECONDS = 600
  190. CELERY_ACCEPT_CONTENT = ['json']
  191. CELERY_BROKER_URL = 'redis://127.0.0.1:6379/0'
  192. CELERY_RESULT_SERIALIZER = 'json'
  193. CELERY_TASK_SERIALIZER = 'json'
  194. CKEDITOR_CONFIGS = {'default': {'skin': 'moono', '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'}}
  195. CKEDITOR_UPLOAD_PATH = PosixPath('/home/feodal/feodal/feodal/server/app/uploads')
  196. CSRF_COOKIE_AGE = 31449600
  197. CSRF_COOKIE_DOMAIN = None
  198. CSRF_COOKIE_HTTPONLY = False
  199. CSRF_COOKIE_NAME = 'csrftoken'
  200. CSRF_COOKIE_PATH = '/'
  201. CSRF_COOKIE_SAMESITE = 'Lax'
  202. CSRF_COOKIE_SECURE = False
  203. CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
  204. CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
  205. CSRF_TRUSTED_ORIGINS = []
  206. CSRF_USE_SESSIONS = False
  207. DATABASES = {'default': {'NAME': 'feodal_db', 'USER': 'feodal_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}}}
  208. DATABASE_ROUTERS = []
  209. DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
  210. DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
  211. DATETIME_FORMAT = 'N j, Y, P'
  212. DATETIME_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']
  213. DATE_FORMAT = 'N j, Y'
  214. DATE_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']
  215. DEBUG = 'True'
  216. DEBUG_PROPAGATE_EXCEPTIONS = False
  217. DECIMAL_SEPARATOR = '.'
  218. DEFAULT_CHARSET = 'utf-8'
  219. DEFAULT_CONTENT_TYPE = 'text/html'
  220. DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
  221. DEFAULT_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']
  222. DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
  223. DEFAULT_FROM_EMAIL = 'admin@admin.admin'
  224. DEFAULT_INDEX_TABLESPACE = ''
  225. DEFAULT_TABLESPACE = ''
  226. DISALLOWED_USER_AGENTS = []
  227. DRF_RECAPTCHA_PUBLIC_KEY = '********************'
  228. DRF_RECAPTCHA_SECRET_KEY = '********************'
  229. DRF_RECAPTCHA_VERIFY_ENDPOINT = 'https://www.google.com/recaptcha/api/siteverify'
  230. EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
  231. EMAIL_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'}
  232. EMAIL_FILE_PATH = ''
  233. EMAIL_HOST = '127.0.0.1'
  234. EMAIL_HOST_PASSWORD = '********************'
  235. EMAIL_HOST_USER = None
  236. EMAIL_PORT = None
  237. EMAIL_SSL_CERTFILE = None
  238. EMAIL_SSL_KEYFILE = '********************'
  239. EMAIL_SUBJECT_PREFIX = '[Django] '
  240. EMAIL_TIMEOUT = None
  241. EMAIL_USE_LOCALTIME = False
  242. EMAIL_USE_SSL = False
  243. EMAIL_USE_TLS = False
  244. FILE_CHARSET = 'utf-8'
  245. FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
  246. FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
  247. FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
  248. FILE_UPLOAD_PERMISSIONS = None
  249. FILE_UPLOAD_TEMP_DIR = None
  250. FIRST_DAY_OF_WEEK = 0
  251. FIXTURE_DIRS = []
  252. FORCE_SCRIPT_NAME = None
  253. FORMAT_MODULE_PATH = None
  254. FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
  255. IGNORABLE_404_URLS = []
  256. INSTALLED_APPS = ['markup', 'shared', 'apps.advertisement', 'apps.handling', 'apps.organization', 'apps.pages', 'apps.staff', 'adminsortable2', 'ckeditor', 'des', 'django_filters', 'django_jinja', 'jet', 'modeltranslation', 'parler', 'postie', 'seo', 'rest_framework', 'rest_framework.authtoken', 'rest_framework_recaptcha', 'robots', 'rosetta', 'solo', 'vuejs_translate', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.google', 'allauth.socialaccount.providers.facebook', 'rest_auth', 'rest_auth.registration', 'mptt']
  257. INTERNAL_IPS = []
  258. LANGUAGES = "(('uk', 'Ukrainian'), ('ru', 'Russian'))"
  259. LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
  260. LANGUAGE_CODE = 'uk'
  261. LANGUAGE_COOKIE_AGE = None
  262. LANGUAGE_COOKIE_DOMAIN = None
  263. LANGUAGE_COOKIE_NAME = 'django_language'
  264. LANGUAGE_COOKIE_PATH = '/'
  265. LOCALE_PATHS = "(PosixPath('/home/feodal/feodal/feodal/server/app/locale'),)"
  266. LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler'}, 'logfile': {'level': 'DEBUG', 'class': 'logging.FileHandler', 'filename': PosixPath('/home/feodal/feodal/feodal/server/app/settings/default.py/../logfile.log')}}, 'root': {'level': 'INFO', 'handlers': ['console', 'logfile']}}
  267. LOGGING_CONFIG = 'logging.config.dictConfig'
  268. LOGIN_REDIRECT_URL = '/'
  269. LOGIN_URL = '/'
  270. LOGOUT_REDIRECT_URL = None
  271. MANAGERS = []
  272. MEDIA_ROOT = PosixPath('/home/feodal/feodal/feodal/server/app/uploads')
  273. MEDIA_URL = '/uploads/'
  274. MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
  275. MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', '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']
  276. MIGRATION_MODULES = {}
  277. MODELTRANSLATION_PREPOPULATE_LANGUAGE = 'uk'
  278. MONTH_DAY_FORMAT = 'F j'
  279. NUMBER_GROUPING = 0
  280. OLD_PASSWORD_FIELD_ENABLED = '********************'
  281. PARLER_ENABLE_CACHING = False
  282. PARLER_LANGUAGES = {None: ({'code': 'uk', 'hide_untranslated': False, 'fallbacks': ['uk']}, {'code': 'ru', 'hide_untranslated': False, 'fallbacks': ['uk']}), 'default': {'hide_untranslated': False, 'code': 'uk', 'fallbacks': ['uk']}}
  283. PASSWORD_HASHERS = '********************'
  284. PASSWORD_RESET_TIMEOUT_DAYS = '********************'
  285. POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_module': 'ckeditor.widgets', 'attrs': {}}
  286. POSTIE_INSTANT_SEND = False
  287. POSTIE_TEMPLATE_CHOICES = Choices(('confirm_email__user', 'confirm_email__user', 'Confirm email (user)'), ('password_reset_confirm__user', 'password_reset_confirm__user', 'Confirm password reset (user)'), ('social_registration__user', 'social_registration__user', 'Social registration (user)'), ('write_us__admin', 'write_us__admin', 'Write us (admin)'))
  288. POSTIE_TEMPLATE_CONTEXTS = {'confirm_email__user': {'login': 'Login', 'name': 'Name', 'link': 'Confirmation link'}, 'password_reset_confirm__user': '********************', 'social_registration__user': {'name': 'Name', 'login': 'Login', 'password': '********************'}, 'write_us__admin': {'link': 'Admin link'}}
  289. PREPEND_WWW = False
  290. PROJECT_APPS = ['markup', 'shared', 'apps.advertisement', 'apps.handling', 'apps.organization', 'apps.pages', 'apps.staff']
  291. REST_FRAMEWORK = {'SEARCH_PARAM': 's', 'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.SessionAuthentication', 'rest_framework.authentication.TokenAuthentication')}
  292. ROOT_URLCONF = 'app.urls'
  293. ROSETTA_SHOW_AT_ADMIN_PANEL = True
  294. SECRET_KEY = '********************'
  295. SECURE_BROWSER_XSS_FILTER = False
  296. SECURE_CONTENT_TYPE_NOSNIFF = False
  297. SECURE_HSTS_INCLUDE_SUBDOMAINS = False
  298. SECURE_HSTS_PRELOAD = False
  299. SECURE_HSTS_SECONDS = 0
  300. SECURE_PROXY_SSL_HEADER = None
  301. SECURE_REDIRECT_EXEMPT = []
  302. SECURE_SSL_HOST = None
  303. SECURE_SSL_REDIRECT = False
  304. SEO_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_path': 'ckeditor.widgets'}
  305. SEO_MODELS = ['templatepage', 'category']
  306. SEO_USE_URL_FULL_PATH = True
  307. SEO_USE_URL_SEO = True
  308. SERVER_EMAIL = 'root@localhost'
  309. SESSION_CACHE_ALIAS = 'default'
  310. SESSION_COOKIE_AGE = 1209600
  311. SESSION_COOKIE_DOMAIN = None
  312. SESSION_COOKIE_HTTPONLY = True
  313. SESSION_COOKIE_NAME = 'sessionid'
  314. SESSION_COOKIE_PATH = '/'
  315. SESSION_COOKIE_SAMESITE = 'Lax'
  316. SESSION_COOKIE_SECURE = False
  317. SESSION_ENGINE = 'django.contrib.sessions.backends.db'
  318. SESSION_EXPIRE_AT_BROWSER_CLOSE = False
  319. SESSION_FILE_PATH = None
  320. SESSION_SAVE_EVERY_REQUEST = False
  321. SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
  322. SETTINGS_MODULE = 'app.settings'
  323. SHORT_DATETIME_FORMAT = 'm/d/Y P'
  324. SHORT_DATE_FORMAT = 'm/d/Y'
  325. SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
  326. SILENCED_SYSTEM_CHECKS = []
  327. SITE_ID = 1
  328. SOCIALACCOUNT_ADAPTER = 'apps.staff.adapters.MSocialAccountAdapter'
  329. SOCIALACCOUNT_EMAIL_VERIFICATION = False
  330. SOCIALACCOUNT_PROVIDERS = {'google': {'SCOPE': ['profile', 'email'], 'AUTH_PARAMS': {'access_type': 'online'}}, 'facebook': {'METHOD': 'oauth2', 'SCOPE': ['email', 'public_profile'], 'AUTH_PARAMS': {}, 'FIELDS': ['id', 'email', 'name', 'first_name', 'last_name', 'verified', 'locale', 'timezone', 'link'], 'EXCHANGE_TOKEN': '********************', 'LOCALE_FUNC': <function <lambda> at 0x7f9a651e70d0>, 'VERIFIED_EMAIL': True, 'VERSION': 'v3.3'}}
  331. STATICFILES_DIRS = []
  332. STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
  333. STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
  334. STATIC_ROOT = PosixPath('/home/feodal/feodal/feodal/server/app/static')
  335. STATIC_URL = '/static/'
  336. TEMPLATES = [{'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': ['seo.context_processors.seo', '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'], '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']}}]
  337. TEST_NON_SERIALIZED_APPS = []
  338. TEST_RUNNER = 'django.test.runner.DiscoverRunner'
  339. THOUSAND_SEPARATOR = ','
  340. TIME_FORMAT = 'P'
  341. TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
  342. TIME_ZONE = 'UTC'
  343. USE_I18N = True
  344. USE_L10N = True
  345. USE_THOUSAND_SEPARATOR = False
  346. USE_TZ = True
  347. USE_X_FORWARDED_HOST = False
  348. USE_X_FORWARDED_PORT = False
  349. WSGI_APPLICATION = 'app.wsgi.application'
  350. X_FRAME_OPTIONS = 'SAMEORIGIN'
  351. YEAR_MONTH_FORMAT = 'F Y'
  352.  
  353.  
  354. You're seeing this error because you have DEBUG = True in your
  355. Django settings file. Change that to False, and Django will
  356. display a standard page generated by the handler for this status code.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top