Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FieldError at /api/info/2/
- Cannot resolve keyword 'name' into field. Choices are: booking, config, config_id, id, translations
- Request Method: GET
- Request URL: http://127.0.0.1:5555/api/info/2/
- Django Version: 2.1
- Python Executable: /usr/local/bin/python
- Python Version: 3.7.1
- Python Path: ['/code/server', '/usr/local/lib/python37.zip', '/usr/local/lib/python3.7', '/usr/local/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/site-packages', '/code/server']
- Server time: Tue, 18 Dec 2018 12:43:25 +0000
- Installed Applications:
- ['markup',
- 'shared',
- 'apps.preferences.apps.PreferencesConfig',
- 'apps.adventure.apps.AdventureConfig',
- 'apps.page.apps.PageConfig',
- 'apps.blog.apps.BlogConfig',
- 'apps.faq.apps.FaqConfig',
- 'apps.prices.apps.PricesConfig',
- 'apps.account.apps.AccountConfig',
- 'apps.payment',
- 'apps.booking',
- 'django_cleanup.apps.CleanupConfig',
- 'paypal.standard.ipn',
- 'django_pesapal',
- 'postie',
- 'parler',
- 'codemirror2',
- 'des',
- 'rosetta',
- 'smart_selects',
- 'ckeditor',
- 'ckeditor_uploader',
- 'robots',
- 'django_jinja',
- 'easy_thumbnails',
- 'solo',
- 'rest_framework',
- 'django_filters',
- 'jet',
- 'django.contrib.admin',
- 'django.contrib.auth',
- 'django.contrib.contenttypes',
- 'django.contrib.sessions',
- 'django.contrib.messages',
- 'django.contrib.staticfiles',
- 'django.contrib.sites',
- 'debug_toolbar',
- 'rest_framework_swagger']
- Installed Middleware:
- ['django.middleware.security.SecurityMiddleware',
- 'django.contrib.sessions.middleware.SessionMiddleware',
- 'django.middleware.common.CommonMiddleware',
- 'django.middleware.locale.LocaleMiddleware',
- 'django.middleware.csrf.CsrfViewMiddleware',
- 'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django.contrib.messages.middleware.MessageMiddleware',
- 'django.middleware.clickjacking.XFrameOptionsMiddleware',
- 'debug_toolbar.middleware.DebugToolbarMiddleware']
- Traceback:
- File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/query.py" in add_fields
- 1732. join_info = self.setup_joins(name.split(LOOKUP_SEP), opts, alias, allow_many=allow_m2m)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/query.py" in setup_joins
- 1473. names[:pivot], opts, allow_many, fail_on_missing=True,
- File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/query.py" in names_to_path
- 1389. "Choices are: %s" % (name, ", ".join(available)))
- During handling of the above exception (Cannot resolve keyword 'name' into field. Choices are: booking, config, config_id, id, translations), another exception occurred:
- File "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py" in inner
- 34. response = get_response(request)
- File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
- 126. response = self.process_exception_by_middleware(e, request)
- File "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py" in _get_response
- 124. response = wrapped_callback(request, *callback_args, **callback_kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/views/decorators/csrf.py" in wrapped_view
- 54. return view_func(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py" in view
- 68. return self.dispatch(request, *args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
- 495. response = self.handle_exception(exc)
- File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py" in handle_exception
- 455. self.raise_uncaught_exception(exc)
- File "/usr/local/lib/python3.7/site-packages/rest_framework/views.py" in dispatch
- 492. response = handler(request, *args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/rest_framework/generics.py" in get
- 210. return self.retrieve(request, *args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/rest_framework/mixins.py" in retrieve
- 58. return Response(serializer.data)
- File "/usr/local/lib/python3.7/site-packages/rest_framework/serializers.py" in data
- 560. ret = super(Serializer, self).data
- File "/usr/local/lib/python3.7/site-packages/rest_framework/serializers.py" in data
- 262. self._data = self.to_representation(self.instance)
- File "/usr/local/lib/python3.7/site-packages/rest_framework/serializers.py" in to_representation
- 527. ret[field.field_name] = field.to_representation(attribute)
- File "/usr/local/lib/python3.7/site-packages/rest_framework/fields.py" in to_representation
- 1893. return method(value)
- File "/code/server/apps/booking/api/serializers/info.py" in get_cities
- 70. return City.objects.values('id', 'name')
- File "/usr/local/lib/python3.7/site-packages/django/db/models/manager.py" in manager_method
- 82. return getattr(self.get_queryset(), name)(*args, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py" in values
- 747. clone = self._values(*fields, **expressions)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/query.py" in _values
- 742. clone.query.set_values(fields)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/query.py" in set_values
- 1984. self.add_fields(field_names, True)
- File "/usr/local/lib/python3.7/site-packages/django/db/models/sql/query.py" in add_fields
- 1755. "Choices are: %s" % (name, ", ".join(names)))
- Exception Type: FieldError at /api/info/2/
- Exception Value: Cannot resolve keyword 'name' into field. Choices are: booking, config, config_id, id, translations
- Request information:
- USER: root
- GET: No GET data
- POST: No POST data
- FILES: No FILES data
- COOKIES:
- cart = '3c66f74a-0a21-4b0f-ae93-13119f9519d1:1gWOcx:XqjGiWc4T6XMD5tHfJx8K7HnR7o'
- csrftoken = 'DCUxZGOyV8RepEYipltrYzKuyEnft6oD2hZiUlU4U4xkHFHFn3ns46G3fTAdJ3fu'
- sessionid = 'bf6e79mfbhxcceelrac3zgdqgveng5eb'
- META:
- CELERY_BROKER_URL = 'redis://cache:6379'
- CONTENT_LENGTH = ''
- CONTENT_TYPE = 'text/plain'
- CSRF_COOKIE = 'DCUxZGOyV8RepEYipltrYzKuyEnft6oD2hZiUlU4U4xkHFHFn3ns46G3fTAdJ3fu'
- DJANGO_CACHE_URL = 'redis://cache:6379'
- DJANGO_DB_URL = 'psql://postgres:postgres@db:5432/db'
- DJANGO_DEBUG = 'True'
- DJANGO_SECRET_KEY = 'CHANGEME!!!'
- DJANGO_SETTINGS_MODULE = 'app.settings'
- GATEWAY_INTERFACE = 'CGI/1.1'
- GPG_KEY = '0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D'
- HOME = '/root'
- HOSTNAME = '1d84239a84c4'
- HTTP_ACCEPT = 'application/json, text/plain, */*'
- HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
- HTTP_ACCEPT_LANGUAGE = 'en'
- HTTP_CACHE_CONTROL = 'no-cache'
- HTTP_CONNECTION = 'keep-alive'
- HTTP_COOKIE = 'cart=3c66f74a-0a21-4b0f-ae93-13119f9519d1:1gWOcx:XqjGiWc4T6XMD5tHfJx8K7HnR7o; csrftoken=DCUxZGOyV8RepEYipltrYzKuyEnft6oD2hZiUlU4U4xkHFHFn3ns46G3fTAdJ3fu; sessionid=bf6e79mfbhxcceelrac3zgdqgveng5eb'
- HTTP_HOST = '127.0.0.1:5555'
- HTTP_PRAGMA = 'no-cache'
- HTTP_REFERER = 'http://127.0.0.1:5555/en/booking/'
- HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3595.2 Safari/537.36'
- HTTP_X_CSRFTOKEN = 'DCUxZGOyV8RepEYipltrYzKuyEnft6oD2hZiUlU4U4xkHFHFn3ns46G3fTAdJ3fu'
- HTTP_X_REQUESTED_WITH = 'XMLHttpRequest'
- LANG = 'C.UTF-8'
- PATH = '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
- PATH_INFO = '/api/info/2/'
- PWD = '/code/server'
- PYTHONUNBUFFERED = '1'
- PYTHON_PIP_VERSION = '18.1'
- PYTHON_VERSION = '3.7.1'
- QUERY_STRING = ''
- REMOTE_ADDR = '172.18.0.1'
- REMOTE_HOST = ''
- REQUEST_METHOD = 'GET'
- RUN_MAIN = 'true'
- SCRIPT_NAME = ''
- SERVER_NAME = '1d84239a84c4'
- SERVER_PORT = '8000'
- SERVER_PROTOCOL = 'HTTP/1.1'
- SERVER_SOFTWARE = 'WSGIServer/0.2'
- SHLVL = '1'
- TZ = 'UTC'
- _ = '/usr/local/bin/python'
- wsgi.errors = <_io.TextIOWrapper name='<stderr>' mode='w' encoding='UTF-8'>
- wsgi.file_wrapper = ''
- wsgi.input = <_io.BufferedReader name=8>
- wsgi.multiprocess = False
- wsgi.multithread = True
- wsgi.run_once = False
- wsgi.url_scheme = 'http'
- wsgi.version = '(1, 0)'
- Settings:
- Using settings module app.settings
- ABSOLUTE_URL_OVERRIDES = {}
- ADMINS = []
- ALLOWED_HOSTS = ['*']
- APPEND_SLASH = True
- AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend']
- AUTH_PASSWORD_VALIDATORS = '********************'
- AUTH_USER_MODEL = 'auth.User'
- BASE_DIR = PosixPath('/code/server/app/settings/default.py')
- BASE_ROOT = PosixPath('/code/server/app')
- BEFORE_AFTER = Choices(('before', 'before', 'Before'), ('after', 'after', 'After'))
- CACHES = {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://cache:6379'}}
- CACHE_MIDDLEWARE_ALIAS = 'default'
- CACHE_MIDDLEWARE_KEY_PREFIX = '********************'
- CACHE_MIDDLEWARE_SECONDS = 600
- CELERY_BROKER_URL = 'redis://cache:6379'
- CKEDITOR_UPLOAD_PATH = 'content/ckeditor/'
- CSRF_COOKIE_AGE = 31449600
- CSRF_COOKIE_DOMAIN = None
- CSRF_COOKIE_HTTPONLY = False
- CSRF_COOKIE_NAME = 'csrftoken'
- CSRF_COOKIE_PATH = '/'
- CSRF_COOKIE_SAMESITE = 'Lax'
- CSRF_COOKIE_SECURE = False
- CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
- CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
- CSRF_TRUSTED_ORIGINS = []
- CSRF_USE_SESSIONS = False
- CURRENCY = Choices(('d', 'd', 'Dollar'), ('e', 'e', 'Euro'))
- DATABASES = {'default': {'NAME': 'db', 'USER': 'postgres', 'PASSWORD': '********************', 'HOST': 'db', '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}}}
- DATABASE_ROUTERS = []
- DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
- DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000
- DATETIME_FORMAT = 'N j, Y, P'
- 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']
- DATE_FORMAT = 'N j, Y'
- 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']
- DEBUG = True
- DEBUG_PROPAGATE_EXCEPTIONS = False
- DECIMAL_SEPARATOR = '.'
- DEFAULT_CHARSET = 'utf-8'
- DEFAULT_CONTENT_TYPE = 'text/html'
- DEFAULT_EXCEPTION_REPORTER_FILTER = 'django.views.debug.SafeExceptionReporterFilter'
- 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']
- DEFAULT_FILE_STORAGE = 'django.core.files.storage.FileSystemStorage'
- DEFAULT_FROM_EMAIL = 'webmaster@localhost'
- DEFAULT_INDEX_TABLESPACE = ''
- DEFAULT_TABLESPACE = ''
- DISALLOWED_USER_AGENTS = []
- EMAIL_BACKEND = 'des.backends.ConfiguredEmailBackend'
- EMAIL_HOST = 'localhost'
- EMAIL_HOST_PASSWORD = '********************'
- EMAIL_HOST_USER = ''
- EMAIL_PORT = 25
- EMAIL_SSL_CERTFILE = None
- EMAIL_SSL_KEYFILE = '********************'
- EMAIL_SUBJECT_PREFIX = '[Django] '
- EMAIL_TIMEOUT = None
- EMAIL_USE_LOCALTIME = False
- EMAIL_USE_SSL = False
- EMAIL_USE_TLS = False
- FILE_CHARSET = 'utf-8'
- FILE_UPLOAD_DIRECTORY_PERMISSIONS = None
- FILE_UPLOAD_HANDLERS = ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler']
- FILE_UPLOAD_MAX_MEMORY_SIZE = 2621440
- FILE_UPLOAD_PERMISSIONS = None
- FILE_UPLOAD_TEMP_DIR = None
- FIRST_DAY_OF_WEEK = 0
- FIXTURE_DIRS = []
- FORCE_SCRIPT_NAME = None
- FORMAT_MODULE_PATH = None
- FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
- HINT = Choices(('empty', 'empty', 'Empty (hint disabled)'), ('image', 'image', 'Image'), ('text', 'text', 'Text'))
- HINT_EDIT = False
- IGNORABLE_404_URLS = []
- INSTALLED_APPS = ['markup', 'shared', 'apps.preferences.apps.PreferencesConfig', 'apps.adventure.apps.AdventureConfig', 'apps.page.apps.PageConfig', 'apps.blog.apps.BlogConfig', 'apps.faq.apps.FaqConfig', 'apps.prices.apps.PricesConfig', 'apps.account.apps.AccountConfig', 'apps.payment', 'apps.booking', 'django_cleanup.apps.CleanupConfig', 'paypal.standard.ipn', 'django_pesapal', 'postie', 'parler', 'codemirror2', 'des', 'rosetta', 'smart_selects', 'ckeditor', 'ckeditor_uploader', 'robots', 'django_jinja', 'easy_thumbnails', 'solo', 'rest_framework', 'django_filters', 'jet', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'debug_toolbar', 'rest_framework_swagger']
- INTERNAL_IPS = []
- LANGUAGES = "(('en', 'English'), ('de', 'Germany'))"
- LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur']
- LANGUAGE_CODE = 'en'
- LANGUAGE_COOKIE_AGE = None
- LANGUAGE_COOKIE_DOMAIN = None
- LANGUAGE_COOKIE_NAME = 'django_language'
- LANGUAGE_COOKIE_PATH = '/'
- LOCALE_PATHS = "(PosixPath('/code/server/app/locale'),)"
- LOGGING = {'version': 1, 'disable_existing_loggers': False, 'handlers': {'django': {'level': 'ERROR', 'class': 'shared.env.logs.MakeFileHandler', 'filename': '/var/log/django/error.log'}, 'console': {'level': 'ERROR', 'class': 'logging.StreamHandler'}, 'celery': {'level': 'ERROR', 'class': 'shared.env.logs.MakeFileHandler', 'filename': '/var/log/celery/error.log'}}, 'loggers': {'django': {'handlers': ['django', 'console'], 'level': 'ERROR', 'propagate': True}, 'celery': {'handlers': ['celery', 'console'], 'level': 'ERROR', 'propagate': True}}}
- LOGGING_CONFIG = 'logging.config.dictConfig'
- LOGIN_REDIRECT_URL = '/accounts/profile/'
- LOGIN_URL = '/accounts/login/'
- LOGOUT_REDIRECT_URL = None
- MANAGERS = []
- MEDIA_ROOT = PosixPath('/code/server/app/uploads')
- MEDIA_URL = '/uploads/'
- MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage'
- MIDDLEWARE = ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware']
- MIGRATION_MODULES = {}
- MONTH_DAY_FORMAT = 'F j'
- NUMBER_GROUPING = 0
- PARLER_DEFAULT_LANGUAGE_CODE = 'en'
- PARLER_LANGUAGES = {1: ({'code': 'en', 'hide_untranslated': False, 'fallbacks': ['en']}, {'code': 'de', 'hide_untranslated': False, 'fallbacks': ['en']}), 'default': {'hide_untranslated': False, 'code': 'en', 'fallbacks': ['en']}}
- PASSWORD_HASHERS = '********************'
- PASSWORD_RESET_TIMEOUT_DAYS = '********************'
- PAYPAL_TEST = True
- PESAPAL_DEMO = False
- PESAPAL_TRANSACTION_DEFAULT_REDIRECT_URL = 'pages:well-done'
- POSTIE_HTML_ADMIN_WIDGET = {'widget': 'CKEditorWidget', 'widget_module': 'ckeditor.widgets', 'attrs': {'attrs': {'cols': 80, 'rows': 10}}}
- POSTIE_INSTANT_SEND = True
- POSTIE_TEMPLATE_CONTEXTS = {'JOIN_REQUEST': {'first_name': 'First name', 'last_name': 'Last name', 'email': 'Email', 'country': 'Country', 'already_book': 'Already book tour', 'website': 'Has website', 'datetime': 'Date and time', 'about': 'About', 'images': 'Images'}, 'QUESTION': {'email': 'Email', 'name': 'Name', 'question': 'Question', 'date': 'Date'}, 'SUBSCRIPTION': {'name': 'Name', 'email': 'Email'}}
- PREFERENCES_CACHE_TTL = 1800
- PREPEND_WWW = False
- PROJECT_APPS = ['markup', 'shared', 'apps.preferences.apps.PreferencesConfig', 'apps.adventure.apps.AdventureConfig', 'apps.page.apps.PageConfig', 'apps.blog.apps.BlogConfig', 'apps.faq.apps.FaqConfig', 'apps.prices.apps.PricesConfig', 'apps.account.apps.AccountConfig', 'apps.payment', 'apps.booking']
- REST_FRAMEWORK = {'DATETIME_FORMAT': '%m/%d/%Y'}
- ROOT_URLCONF = 'app.urls'
- SECRET_KEY = '********************'
- SECURE_BROWSER_XSS_FILTER = False
- SECURE_CONTENT_TYPE_NOSNIFF = False
- SECURE_HSTS_INCLUDE_SUBDOMAINS = False
- SECURE_HSTS_PRELOAD = False
- SECURE_HSTS_SECONDS = 0
- SECURE_PROXY_SSL_HEADER = None
- SECURE_REDIRECT_EXEMPT = []
- SECURE_SSL_HOST = None
- SECURE_SSL_REDIRECT = False
- SERVER_EMAIL = 'root@localhost'
- SESSION_CACHE_ALIAS = 'default'
- SESSION_COOKIE_AGE = 1209600
- SESSION_COOKIE_DOMAIN = None
- SESSION_COOKIE_HTTPONLY = True
- SESSION_COOKIE_NAME = 'sessionid'
- SESSION_COOKIE_PATH = '/'
- SESSION_COOKIE_SAMESITE = 'Lax'
- SESSION_COOKIE_SECURE = False
- SESSION_ENGINE = 'django.contrib.sessions.backends.db'
- SESSION_EXPIRE_AT_BROWSER_CLOSE = False
- SESSION_FILE_PATH = None
- SESSION_SAVE_EVERY_REQUEST = False
- SESSION_SERIALIZER = 'django.contrib.sessions.serializers.JSONSerializer'
- SETTINGS_MODULE = 'app.settings'
- SHORT_DATETIME_FORMAT = 'm/d/Y P'
- SHORT_DATE_FORMAT = 'm/d/Y'
- SIGNING_BACKEND = 'django.core.signing.TimestampSigner'
- SILENCED_SYSTEM_CHECKS = []
- SITE_ID = 1
- STATICFILES_DIRS = []
- STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
- STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage'
- STATIC_ROOT = PosixPath('/code/server/app/static')
- STATIC_URL = '/static/'
- 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': ['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', 'apps.preferences.context_processors.get_preferences'], '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']}}]
- TEST_NON_SERIALIZED_APPS = []
- TEST_RUNNER = 'django.test.runner.DiscoverRunner'
- THOUSAND_SEPARATOR = ','
- TIME_FORMAT = 'P'
- TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
- TIME_ZONE = 'UTC'
- USE_I18N = True
- USE_L10N = True
- USE_THOUSAND_SEPARATOR = False
- USE_TZ = True
- USE_X_FORWARDED_HOST = False
- USE_X_FORWARDED_PORT = False
- WSGI_APPLICATION = 'app.wsgi.application'
- X_FRAME_OPTIONS = 'SAMEORIGIN'
- YEAR_MONTH_FORMAT = 'F Y'
- You're seeing this error because you have DEBUG = True in your
- Django settings file. Change that to False, and Django will
- display a standard page generated by the handler for this status code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement