IndexError at /catalogue/category/stk-esc-fundida-muelle_24/

list index out of range
Request Method: GET
Request URL: https://www.hermetico.com/catalogue/category/stk-esc-fundida-muelle_24/
Django Version: 1.8.7
Exception Type: IndexError
Exception Value:
list index out of range
Exception Location: /var/www/vhosts/hermetico.com/httpdocs/.env/local/lib/python2.7/site-packages/django/db/models/query.py in __getitem__, line 184
Python Executable: /var/www/vhosts/hermetico.com/httpdocs/.env/bin/python
Python Version: 2.7.12
Python Path:
['/var/www/vhosts/hermetico.com/httpdocs',
 '/var/www/vhosts/hermetico.com/httpdocs/.env/lib/python2.7',
 '/var/www/vhosts/hermetico.com/httpdocs/.env/lib/python2.7/plat-x86_64-linux-gnu',
 '/var/www/vhosts/hermetico.com/httpdocs/.env/lib/python2.7/lib-tk',
 '/var/www/vhosts/hermetico.com/httpdocs/.env/lib/python2.7/lib-old',
 '/var/www/vhosts/hermetico.com/httpdocs/.env/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/var/www/vhosts/hermetico.com/httpdocs/.env/local/lib/python2.7/site-packages',
 '/var/www/vhosts/hermetico.com/httpdocs/.env/lib/python2.7/site-packages']
Server time: Jue, 28 Mar 2024 16:14:05 +0100

Error during template rendering

In template /var/www/vhosts/hermetico.com/httpdocs/plantillas/catalogue/partials/stock_record.html, error at line 5

list index out of range

1 {% load currency_filters %}
2 {% load i18n %}
3 {% load purchase_info_tags %}
4
5 {% purchase_info_for_product request product as session %}
6
7 {% if session.price.exists %}
8 {% if session.price.excl_tax == 0 %}
9 <p class="price_color">{% trans "Free" %}</p>
10 {% elif session.price.is_tax_known %}
11 <p class="price_color">{{ session.price.incl_tax|currency:session.price.currency }}</p>
12 {% else %}
13 <p class="price_color">{{ session.price.excl_tax|currency:session.price.currency }}</p>
14 {% endif %}
15 {% else %}

Traceback Switch to copy-and-paste view



Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
mod_wsgi.listener_port
'7081'
HTTP_REFERER
'http://www.hermetico.com/catalogue/category/stk-esc-fundida-muelle_24/'
CONTEXT_DOCUMENT_ROOT
'/var/www/vhosts/hermetico.com/httpdocs'
SERVER_SOFTWARE
'Apache'
SCRIPT_NAME
u''
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
SERVER_SIGNATURE
'<address>Apache Server at www.hermetico.com Port 443</address>\n'
REQUEST_METHOD
'GET'
PATH_INFO
u'/catalogue/category/stk-esc-fundida-muelle_24/'
SERVER_PROTOCOL
'HTTP/1.0'
QUERY_STRING
''
HTTP_X_REAL_IP
'44.220.131.93'
HTTP_USER_AGENT
'claudebot'
HTTP_CONNECTION
'close'
SERVER_NAME
'www.hermetico.com'
REMOTE_ADDR
'44.220.131.93'
mod_wsgi.queue_start
'1711638845247317'
mod_wsgi.request_handler
'wsgi-script'
apache.version
(2, 4, 18)
wsgi.url_scheme
'https'
PATH_TRANSLATED
'/var/www/vhosts/hermetico.com/httpdocs/welba/wsgi.py/catalogue/category/stk-esc-fundida-muelle_24/'
SERVER_PORT
'443'
wsgi.multiprocess
False
mod_wsgi.input_chunked
'0'
SERVER_ADDR
'82.223.50.52'
DOCUMENT_ROOT
'/var/www/vhosts/hermetico.com/httpdocs'
mod_wsgi.process_group
'hermetico.com'
mod_wsgi.daemon_connects
'1'
SCRIPT_FILENAME
'/var/www/vhosts/hermetico.com/httpdocs/welba/wsgi.py'
SERVER_ADMIN
'[no address given]'
wsgi.input
<mod_wsgi.Input object at 0x7f81f1e5fa30>
HTTP_HOST
'www.hermetico.com'
CONTEXT_PREFIX
''
wsgi.multithread
True
mod_wsgi.callable_object
'application'
mod_wsgi.daemon_restarts
'0'
REQUEST_URI
'/catalogue/category/stk-esc-fundida-muelle_24/'
HTTP_ACCEPT
'*/*'
wsgi.file_wrapper
''
wsgi.version
(1, 0)
GATEWAY_INTERFACE
'CGI/1.1'
wsgi.run_once
False
wsgi.errors
<mod_wsgi.Log object at 0x7f81f1c6ef60>
REMOTE_PORT
'45980'
mod_wsgi.listener_host
''
REQUEST_SCHEME
'https'
mod_wsgi.version
(4, 3, 0)
mod_wsgi.script_start
'1711638845247511'
mod_wsgi.application_group
'hermetico.com|'
mod_wsgi.script_reloading
'1'
mod_wsgi.request_start
'1711638845241163'
CSRF_COOKIE
u'pfh5TDc8IWN211MKc4LU1d0r4Q0JaoI4'
UNIQUE_ID
'ZgWJPVLfMjQAAV8gYMAAAAAN'
mod_wsgi.daemon_start
'1711638845247477'

Settings

Using settings module welba.settings

Setting Value
OSCAR_ADDRESSES_PER_PAGE
20
COMPRESS_URL
'/static/'
OSCAR_RECENTLY_VIEWED_PRODUCTS
20
SECURE_REDIRECT_EXEMPT
[]
COMPRESS_OUTPUT_DIR
u'CACHE'
SECURE_SSL_REDIRECT
False
COMPRESS_TEMPLATE_FILTER_CONTEXT
{u'STATIC_URL': '/static/'}
SECURE_BROWSER_XSS_FILTER
False
COMPRESS_DATA_URI_MAX_SIZE
1024
OSCAR_DELETE_IMAGE_FILES
True
CSRF_COOKIE_SECURE
False
LANGUAGE_CODE
'es-ES'
OSCAR_RECENTLY_VIEWED_COOKIE_NAME
'oscar_history'
MANAGERS
()
COMPRESS_CSS_HASHING_METHOD
u'mtime'
BASE_DIR
'/var/www/vhosts/hermetico.com/httpdocs'
SILENCED_SYSTEM_CHECKS
[]
DEFAULT_CHARSET
'utf-8'
IGNORABLE_404_URLS
()
OSCAR_DASHBOARD_NAVIGATION
[{'icon': 'icon-th-list',
  'label': <django.utils.functional.__proxy__ object at 0x7f81f8226e90>,
  'url_name': 'dashboard:index'},
 {'children': [{'label': <django.utils.functional.__proxy__ object at 0x7f81f8226f10>,
                'url_name': 'dashboard:catalogue-product-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f8226f50>,
                'url_name': 'dashboard:catalogue-class-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f8226f90>,
                'url_name': 'dashboard:catalogue-category-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f8226fd0>,
                'url_name': 'dashboard:range-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f050>,
                'url_name': 'dashboard:stock-alert-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f090>,
                'url_name': 'dashboard:catalogue-tax-list'}],
  'icon': 'icon-sitemap',
  'label': <django.utils.functional.__proxy__ object at 0x7f81f8226ed0>},
 {'children': [{'label': <django.utils.functional.__proxy__ object at 0x7f81f822f110>,
                'url_name': 'dashboard:order-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f150>,
                'url_name': 'dashboard:order-stats'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f190>,
                'url_name': 'dashboard:partner-list'}],
  'icon': 'icon-shopping-cart',
  'label': <django.utils.functional.__proxy__ object at 0x7f81f822f0d0>},
 {'children': [{'label': <django.utils.functional.__proxy__ object at 0x7f81f822f250>,
                'url_name': 'dashboard:users-index'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f2d0>,
                'url_name': 'dashboard:user-alert-list'}],
  'icon': 'icon-group',
  'label': <django.utils.functional.__proxy__ object at 0x7f81f822f1d0>},
 {'children': [{'label': <django.utils.functional.__proxy__ object at 0x7f81f822f3d0>,
                'url_name': 'dashboard:offer-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f450>,
                'url_name': 'dashboard:voucher-list'}],
  'icon': 'icon-bullhorn',
  'label': <django.utils.functional.__proxy__ object at 0x7f81f822f350>},
 {'children': [{'label': <django.utils.functional.__proxy__ object at 0x7f81f822f550>,
                'url_name': 'dashboard:promotion-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f5d0>,
                'url_name': 'dashboard:promotion-list-by-page'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f650>,
                'url_name': 'dashboard:page-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f6d0>,
                'url_name': 'dashboard:comms-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f750>,
                'url_name': 'dashboard:reviews-list'},
               {'label': <django.utils.functional.__proxy__ object at 0x7f81f822f7d0>,
                'url_name': 'dashboard:slideshow-list'}],
  'icon': 'icon-folder-close',
  'label': <django.utils.functional.__proxy__ object at 0x7f81f822f4d0>},
 {'icon': 'icon-bar-chart',
  'label': <django.utils.functional.__proxy__ object at 0x7f81f822f850>,
  'url_name': 'dashboard:reports-index'}]
SESSION_SERIALIZER
'django.contrib.sessions.serializers.JSONSerializer'
STATIC_ROOT
'/var/www/vhosts/hermetico.com/httpdocs/static'
OSCAR_IMAGE_FOLDER
'images/products/%Y/%m/'
COMPRESS_CLOSURE_COMPILER_ARGUMENTS
u''
OSCAR_PROMOTION_FOLDER
'images/promotions/'
USE_THOUSAND_SEPARATOR
False
RECAPTCHA_PUBLIC_KEY
u'********************'
COMPRESS_OFFLINE_MANIFEST
u'manifest.json'
OSCAR_DEFAULT_CURRENCY
'EUR'
OSCAR_SHOP_TAGLINE
''
ALLOWED_HOSTS
['*']
MESSAGE_STORAGE
'django.contrib.messages.storage.fallback.FallbackStorage'
OSCAR_RECENTLY_VIEWED_COOKIE_LIFETIME
604800
OSCAR_ACCOUNTS_REDIRECT_URL
'customer:profile-view'
COMPRESS_YUI_JS_ARGUMENTS
u''
SERVER_EMAIL
'root@localhost'
SECURE_HSTS_SECONDS
0
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder')
SESSION_CACHE_ALIAS
'default'
COMPRESS_CSSTIDY_ARGUMENTS
u'--template=highest'
SESSION_COOKIE_DOMAIN
None
OSCAR_SLUG_FUNCTION
'oscar.core.utils.default_slugifier'
COMPRESS_YUGLIFY_JS_ARGUMENTS
u'--terminal'
OSCAR_SEARCH_FACETS
{'fields': {'product_class': {'field': 'product_class',
                              'name': <django.utils.functional.__proxy__ object at 0x7f81f82268d0>},
            'rating': {'field': 'rating',
                       'name': <django.utils.functional.__proxy__ object at 0x7f81f8226950>}},
 'queries': {'price_range': {'field': 'price',
                             'name': <django.utils.functional.__proxy__ object at 0x7f81f8226c10>,
                             'queries': [(<django.utils.functional.__proxy__ object at 0x7f81f8226c50>,
                                          u'[0 TO 20]'),
                                         (<django.utils.functional.__proxy__ object at 0x7f81f8226c90>,
                                          u'[20 TO 40]'),
                                         (<django.utils.functional.__proxy__ object at 0x7f81f8226cd0>,
                                          u'[40 TO 60]'),
                                         (<django.utils.functional.__proxy__ object at 0x7f81f8226d10>,
                                          u'[60 TO *]')]}}}
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M:%S.%f', '%H:%M')
OSCAR_UPLOAD_ROOT
'/tmp'
DATABASES
{'default': {'ATOMIC_REQUESTS': False,
             'AUTOCOMMIT': True,
             'CONN_MAX_AGE': 0,
             'ENGINE': 'django.db.backends.mysql',
             'HOST': 'localhost',
             'NAME': 'welba',
             'OPTIONS': {},
             'PASSWORD': u'********************',
             'PORT': '3306',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': 'UTC',
             'USER': 'welba'}}
EMAIL_SSL_KEYFILE
u'********************'
FILE_UPLOAD_DIRECTORY_PERMISSIONS
None
STATIC_URL
'/static/'
COMPRESS_YUI_BINARY
u'java -jar yuicompressor.jar'
FILE_UPLOAD_PERMISSIONS
None
OSCAR_MODERATE_REVIEWS
False
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
OSCAR_ALLOW_ANON_CHECKOUT
False
DEFAULT_CONTENT_TYPE
'text/html'
COMPRESS_CSS_COMPRESSOR
u'compressor.css.CssCompressor'
OSCAR_NOTIFICATIONS_PER_PAGE
20
OSCAR_DASHBOARD_ITEMS_PER_PAGE
20
APPEND_SLASH
True
FIRST_DAY_OF_WEEK
0
DATABASE_ROUTERS
[]
DEFAULT_TABLESPACE
''
OSCAR_RECENTLY_VIEWED_COOKIE_SECURE
False
OSCAR_SHOP_NAME
u'Welba Herm\xe9tico'
YEAR_MONTH_FORMAT
'F Y'
COMPRESS_OFFLINE_TIMEOUT
31536000
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}}
X_FRAME_OPTIONS
'SAMEORIGIN'
COMPRESS_CLEAN_CSS_ARGUMENTS
u''
SESSION_COOKIE_PATH
'/'
COMPRESS_PARSER
u'compressor.parser.AutoSelectParser'
SIGNING_BACKEND
'django.core.signing.TimestampSigner'
ROOT_URLCONF
'welba.urls'
OSCAR_SEND_REGISTRATION_EMAIL
True
COMPRESS_CACHE_BACKEND
u'default'
SECURE_CONTENT_TYPE_NOSNIFF
False
OSCAR_HIDDEN_FEATURES
[]
MIDDLEWARE_CLASSES
('django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'oscar.apps.basket.middleware.BasketMiddleware',
 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware')
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
u'********************'
LANGUAGE_COOKIE_NAME
'django_language'
DEFAULT_INDEX_TABLESPACE
''
OSCAR_BASKET_COOKIE_SECURE
False
OSCAR_ALLOW_ANON_REVIEWS
True
LOGGING_CONFIG
'logging.config.dictConfig'
OSCAR_ORDERS_PER_PAGE
20
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader')
WSGI_APPLICATION
'welba.wsgi.application'
SETTINGS_MODULE
'welba.settings'
TEMPLATE_DEBUG
False
OSCAR_SLUG_BLACKLIST
[]
CSRF_COOKIE_NAME
'csrftoken'
HAYSTACK_CONNECTIONS
{'default': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine'}}
OSCAR_REVIEWS_PER_PAGE
20
COMPRESS_CLEAN_CSS_BINARY
u'cleancss'
FORCE_SCRIPT_NAME
None
OSCAR_MAIN_TEMPLATE_DIR
'/var/www/vhosts/hermetico.com/httpdocs/.env/local/lib/python2.7/site-packages/oscar/templates/oscar'
EMAIL_TIMEOUT
None
SECURE_SSL_HOST
None
COMPRESS_CSSTIDY_BINARY
u'csstidy'
USE_X_FORWARDED_HOST
False
SESSION_COOKIE_SECURE
False
COMPRESS_DEBUG_TOGGLE
None
COMPRESS_VERBOSE
False
CSRF_COOKIE_DOMAIN
None
OSCAR_BASKET_COOKIE_OPEN
'oscar_open_basket'
SINGLE_PRODUCT
'SingleProduct'
FILE_CHARSET
'utf-8'
DEBUG
True
RECAPTCHA_PRIVATE_KEY
u'********************'
LANGUAGE_COOKIE_DOMAIN
None
COMPRESS_JS_FILTERS
[u'compressor.filters.jsmin.JSMinFilter']
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.flatpages',
 'compressor',
 'widget_tweaks',
 'captcha',
 'oscar',
 'oscar.apps.analytics',
 'oscar.apps.checkout',
 'oscar.apps.address',
 'oscar.apps.shipping',
 'catalogue',
 'oscar.apps.catalogue.reviews',
 'partner',
 'oscar.apps.basket',
 'oscar.apps.payment',
 'oscar.apps.offer',
 'oscar.apps.order',
 'oscar.apps.customer',
 'oscar.apps.promotions',
 'oscar.apps.search',
 'oscar.apps.voucher',
 'oscar.apps.wishlists',
 'oscar.apps.dashboard',
 'oscar.apps.dashboard.reports',
 'oscar.apps.dashboard.users',
 'oscar.apps.dashboard.orders',
 'oscar.apps.dashboard.promotions',
 'dashboard.catalogue',
 'oscar.apps.dashboard.offers',
 'oscar.apps.dashboard.partners',
 'dashboard.pages',
 'oscar.apps.dashboard.ranges',
 'oscar.apps.dashboard.reviews',
 'oscar.apps.dashboard.vouchers',
 'oscar.apps.dashboard.communications',
 'oscar.apps.dashboard.shipping',
 'haystack',
 'treebeard',
 'sorl.thumbnail',
 'django_tables2']
LANGUAGES_BIDI
('he', 'ar', 'fa', 'ur')
USE_L10N
True
COMPRESS_YUI_CSS_ARGUMENTS
u''
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
STATICFILES_DIRS
('/var/www/vhosts/hermetico.com/httpdocs/content',)
OSCAR_PROMOTION_MERCHANDISING_BLOCK_TYPES
(('Countdown', 'Vertical list'),
 ('List', 'Horizontal list'),
 ('TabbedBlock', 'Tabbed block'),
 ('SingleProduct', 'Single product'))
PREPEND_WWW
False
SECURE_PROXY_SSL_HEADER
None
COMPRESS_CACHEABLE_PRECOMPILERS
()
LANGUAGE_COOKIE_AGE
None
SESSION_COOKIE_HTTPONLY
True
DEBUG_PROPAGATE_EXCEPTIONS
False
INTERNAL_IPS
()
OSCAR_FROM_EMAIL
'oscar@example.com'
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/accounts/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
TIME_FORMAT
'P'
COMPRESS_STORAGE
u'compressor.storage.CompressorFileStorage'
AUTH_USER_MODEL
'auth.User'
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')
OSCAR_EMAILS_PER_PAGE
20
COMPRESS_CSS_FILTERS
[u'compressor.filters.css_default.CssAbsoluteFilter']
AUTHENTICATION_BACKENDS
('oscar.apps.customer.auth_backends.EmailBackend',
 'django.contrib.auth.backends.ModelBackend')
EMAIL_HOST_PASSWORD
u'********************'
COMPRESS_REBUILD_TIMEOUT
2592000
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
SESSION_FILE_PATH
None
CACHE_MIDDLEWARE_ALIAS
'default'
SESSION_SAVE_EVERY_REQUEST
False
NUMBER_GROUPING
0
SESSION_ENGINE
'django.contrib.sessions.backends.db'
COMPRESS_YUGLIFY_BINARY
u'yuglify'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
CSRF_COOKIE_PATH
'/'
COMPRESS_CACHE_KEY_FUNCTION
u'********************'
LOGIN_REDIRECT_URL
'/accounts/profile/'
DECIMAL_SEPARATOR
'.'
COMPRESS_PRECOMPILERS
()
COMPRESS_MTIME_DELAY
10
SITE_ID
1
OSCAR_PROMOTION_POSITIONS
(('page', 'Page'),
 ('right', 'Right-hand sidebar'),
 ('left', 'Left-hand sidebar'))
LOCALE_PATHS
()
TEMPLATE_STRING_IF_INVALID
''
COUNTDOWN
'Countdown'
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
True
TEMPLATE_DIRS
()
OSCAR_DASHBOARD_DEFAULT_ACCESS_FUNCTION
'oscar.apps.dashboard.nav.default_access_fn'
FIXTURE_DIRS
()
EMAIL_HOST
'smtp.1and1.es'
DATE_FORMAT
'N j, Y'
OSCAR_EAGER_ALERTS
True
MEDIA_ROOT
'/var/www/vhosts/hermetico.com/httpdocs/media'
LIST
'List'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
ADMINS
()
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'webmaster@localhost'
COMPRESS_ROOT
'/var/www/vhosts/hermetico.com/httpdocs/static'
OSCAR_PRODUCTS_PER_PAGE
20
OSCAR_HOMEPAGE
<django.utils.functional.__proxy__ object at 0x7f81f81d9c90>
MEDIA_URL
'/media/'
DATETIME_FORMAT
'N j, Y, P'
EMAIL_SUBJECT_PREFIX
'[Django] '
OSCAR_SLUG_MAP
{}
COMPRESS_JS_COMPRESSOR
u'compressor.js.JsCompressor'
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
COMPRESS_MINT_DELAY
30
LOGGING
{}
OSCAR_SETTINGS
{'OSCAR_ACCOUNTS_REDIRECT_URL': 'customer:profile-view',
 'OSCAR_ADDRESSES_PER_PAGE': 20,
 'OSCAR_ALLOW_ANON_CHECKOUT': False,
 'OSCAR_ALLOW_ANON_REVIEWS': True,
 'OSCAR_BASKET_COOKIE_LIFETIME': 604800,
 'OSCAR_BASKET_COOKIE_OPEN': 'oscar_open_basket',
 'OSCAR_BASKET_COOKIE_SECURE': False,
 'OSCAR_COOKIES_DELETE_ON_LOGOUT': ['oscar_recently_viewed_products'],
 'OSCAR_DASHBOARD_DEFAULT_ACCESS_FUNCTION': 'oscar.apps.dashboard.nav.default_access_fn',
 'OSCAR_DASHBOARD_ITEMS_PER_PAGE': 20,
 'OSCAR_DASHBOARD_NAVIGATION': [{'icon': 'icon-th-list',
                                 'label': <django.utils.functional.__proxy__ object at 0x7f81f81d9d10>,
                                 'url_name': 'dashboard:index'},
                                {'children': [{'label': <django.utils.functional.__proxy__ object at 0x7f81f81d9d90>,
                                               'url_name': 'dashboard:catalogue-product-list'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f81d9e10>,
                                               'url_name': 'dashboard:catalogue-class-list'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f81d9e90>,
                                               'url_name': 'dashboard:catalogue-category-list'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f81d9f10>,
                                               'url_name': 'dashboard:range-list'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f81d9f90>,
                                               'url_name': 'dashboard:stock-alert-list'}],
                                 'icon': 'icon-sitemap',
                                 'label': <django.utils.functional.__proxy__ object at 0x7f81f81d9d50>},
                                {'children': [{'label': <django.utils.functional.__proxy__ object at 0x7f81f82260d0>,
                                               'url_name': 'dashboard:order-list'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f8226150>,
                                               'url_name': 'dashboard:order-stats'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f82261d0>,
                                               'url_name': 'dashboard:partner-list'}],
                                 'icon': 'icon-shopping-cart',
                                 'label': <django.utils.functional.__proxy__ object at 0x7f81f8226050>},
                                {'children': [{'label': <django.utils.functional.__proxy__ object at 0x7f81f82262d0>,
                                               'url_name': 'dashboard:users-index'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f8226350>,
                                               'url_name': 'dashboard:user-alert-list'}],
                                 'icon': 'icon-group',
                                 'label': <django.utils.functional.__proxy__ object at 0x7f81f8226250>},
                                {'children': [{'label': <django.utils.functional.__proxy__ object at 0x7f81f8226450>,
                                               'url_name': 'dashboard:offer-list'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f82264d0>,
                                               'url_name': 'dashboard:voucher-list'}],
                                 'icon': 'icon-bullhorn',
                                 'label': <django.utils.functional.__proxy__ object at 0x7f81f82263d0>},
                                {'children': [{'label': <django.utils.functional.__proxy__ object at 0x7f81f82265d0>,
                                               'url_name': 'dashboard:promotion-list'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f8226650>,
                                               'url_name': 'dashboard:promotion-list-by-page'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f82266d0>,
                                               'url_name': 'dashboard:page-list'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f8226750>,
                                               'url_name': 'dashboard:comms-list'},
                                              {'label': <django.utils.functional.__proxy__ object at 0x7f81f82267d0>,
                                               'url_name': 'dashboard:reviews-list'}],
                                 'icon': 'icon-folder-close',
                                 'label': <django.utils.functional.__proxy__ object at 0x7f81f8226550>},
                                {'icon': 'icon-bar-chart',
                                 'label': <django.utils.functional.__proxy__ object at 0x7f81f8226850>,
                                 'url_name': 'dashboard:reports-index'}],
 'OSCAR_DEFAULT_CURRENCY': 'GBP',
 'OSCAR_DELETE_IMAGE_FILES': True,
 'OSCAR_EAGER_ALERTS': True,
 'OSCAR_EMAILS_PER_PAGE': 20,
 'OSCAR_FROM_EMAIL': 'oscar@example.com',
 'OSCAR_HIDDEN_FEATURES': [],
 'OSCAR_HOMEPAGE': <django.utils.functional.__proxy__ object at 0x7f81f81d9c90>,
 'OSCAR_IMAGE_FOLDER': 'images/products/%Y/%m/',
 'OSCAR_MAX_BASKET_QUANTITY_THRESHOLD': 10000,
 'OSCAR_MISSING_IMAGE_URL': 'image_not_found.jpg',
 'OSCAR_MODERATE_REVIEWS': False,
 'OSCAR_NOTIFICATIONS_PER_PAGE': 20,
 'OSCAR_OFFERS_PER_PAGE': 20,
 'OSCAR_ORDERS_PER_PAGE': 20,
 'OSCAR_PRODUCTS_PER_PAGE': 20,
 'OSCAR_PRODUCT_SEARCH_HANDLER': None,
 'OSCAR_PROMOTION_FOLDER': 'images/promotions/',
 'OSCAR_PROMOTION_MERCHANDISING_BLOCK_TYPES': (('Countdown', 'Vertical list'),
                                               ('List', 'Horizontal list'),
                                               ('TabbedBlock',
                                                'Tabbed block'),
                                               ('SingleProduct',
                                                'Single product')),
 'OSCAR_PROMOTION_POSITIONS': (('page', 'Page'),
                               ('right', 'Right-hand sidebar'),
                               ('left', 'Left-hand sidebar')),
 'OSCAR_RECENTLY_VIEWED_COOKIE_LIFETIME': 604800,
 'OSCAR_RECENTLY_VIEWED_COOKIE_NAME': 'oscar_history',
 'OSCAR_RECENTLY_VIEWED_COOKIE_SECURE': False,
 'OSCAR_RECENTLY_VIEWED_PRODUCTS': 20,
 'OSCAR_REQUIRED_ADDRESS_FIELDS': ('first_name',
                                   'last_name',
                                   'line1',
                                   'line4',
                                   'postcode',
                                   'country'),
 'OSCAR_REVIEWS_PER_PAGE': 20,
 'OSCAR_SEARCH_FACETS': {'fields': {'product_class': {'field': 'product_class',
                                                      'name': <django.utils.functional.__proxy__ object at 0x7f81f82268d0>},
                                    'rating': {'field': 'rating',
                                               'name': <django.utils.functional.__proxy__ object at 0x7f81f8226950>}},
                         'queries': {'price_range': {'field': 'price',
                                                     'name': <django.utils.functional.__proxy__ object at 0x7f81f8226c10>,
                                                     'queries': [(<django.utils.functional.__proxy__ object at 0x7f81f8226c50>,
                                                                  u'[0 TO 20]'),
                                                                 (<django.utils.functional.__proxy__ object at 0x7f81f8226c90>,
                                                                  u'[20 TO 40]'),
                                                                 (<django.utils.functional.__proxy__ object at 0x7f81f8226cd0>,
                                                                  u'[40 TO 60]'),
                                                                 (<django.utils.functional.__proxy__ object at 0x7f81f8226d10>,
                                                                  u'[60 TO *]')]}}},
 'OSCAR_SEND_REGISTRATION_EMAIL': True,
 'OSCAR_SHOP_NAME': 'Oscar',
 'OSCAR_SHOP_TAGLINE': '',
 'OSCAR_SLUG_BLACKLIST': [],
 'OSCAR_SLUG_FUNCTION': 'oscar.core.utils.default_slugifier',
 'OSCAR_SLUG_MAP': {},
 'OSCAR_STOCK_ALERTS_PER_PAGE': 20,
 'OSCAR_UPLOAD_ROOT': '/tmp'}
SHORT_DATE_FORMAT
'm/d/Y'
OSCAR_MAX_BASKET_QUANTITY_THRESHOLD
10000
OSCAR_STOCK_ALERTS_PER_PAGE
20
TEST_RUNNER
'django.test.runner.DiscoverRunner'
COMPRESS_ENABLED
False
TABBED_BLOCK
'TabbedBlock'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
COMPRESS_OFFLINE
False
TIME_ZONE
'Europe/Madrid'
COMPRESS_OFFLINE_CONTEXT
{u'STATIC_URL': '/static/'}
COMPRESS_YUGLIFY_CSS_ARGUMENTS
u'--terminal'
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
COMPRESS_JINJA2_GET_ENVIRONMENT
<function JINJA2_GET_ENVIRONMENT at 0x7f81f34226e0>
OSCAR_PRODUCT_SEARCH_HANDLER
None
EMAIL_USE_SSL
False
TEMPLATE_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')
TEMPLATES
[{'APP_DIRS': True,
  'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': ['/var/www/vhosts/hermetico.com/httpdocs/plantillas',
           '/var/www/vhosts/hermetico.com/httpdocs/.env/local/lib/python2.7/site-packages/oscar/templates/oscar'],
  'OPTIONS': {'context_processors': ['django.template.context_processors.debug',
                                     'django.template.context_processors.request',
                                     'django.contrib.auth.context_processors.auth',
                                     'django.contrib.messages.context_processors.messages',
                                     'oscar.apps.search.context_processors.search_form',
                                     'oscar.apps.promotions.context_processors.promotions',
                                     'oscar.apps.checkout.context_processors.checkout',
                                     'oscar.apps.customer.notifications.context_processors.notifications',
                                     'oscar.core.context_processors.metadata']}}]
MIGRATION_MODULES
{}
SESSION_COOKIE_AGE
1209600
OSCAR_OFFERS_PER_PAGE
20
USE_ETAGS
False
LANGUAGES
(('af', 'Afrikaans'),
 ('ar', 'Arabic'),
 ('ast', 'Asturian'),
 ('az', 'Azerbaijani'),
 ('bg', 'Bulgarian'),
 ('be', 'Belarusian'),
 ('bn', 'Bengali'),
 ('br', 'Breton'),
 ('bs', 'Bosnian'),
 ('ca', 'Catalan'),
 ('cs', 'Czech'),
 ('cy', 'Welsh'),
 ('da', 'Danish'),
 ('de', 'German'),
 ('el', 'Greek'),
 ('en', 'English'),
 ('en-au', 'Australian English'),
 ('en-gb', 'British English'),
 ('eo', 'Esperanto'),
 ('es', 'Spanish'),
 ('es-ar', 'Argentinian Spanish'),
 ('es-mx', 'Mexican Spanish'),
 ('es-ni', 'Nicaraguan Spanish'),
 ('es-ve', 'Venezuelan Spanish'),
 ('et', 'Estonian'),
 ('eu', 'Basque'),
 ('fa', 'Persian'),
 ('fi', 'Finnish'),
 ('fr', 'French'),
 ('fy', 'Frisian'),
 ('ga', 'Irish'),
 ('gl', 'Galician'),
 ('he', 'Hebrew'),
 ('hi', 'Hindi'),
 ('hr', 'Croatian'),
 ('hu', 'Hungarian'),
 ('ia', 'Interlingua'),
 ('id', 'Indonesian'),
 ('io', 'Ido'),
 ('is', 'Icelandic'),
 ('it', 'Italian'),
 ('ja', 'Japanese'),
 ('ka', 'Georgian'),
 ('kk', 'Kazakh'),
 ('km', 'Khmer'),
 ('kn', 'Kannada'),
 ('ko', 'Korean'),
 ('lb', 'Luxembourgish'),
 ('lt', 'Lithuanian'),
 ('lv', 'Latvian'),
 ('mk', 'Macedonian'),
 ('ml', 'Malayalam'),
 ('mn', 'Mongolian'),
 ('mr', 'Marathi'),
 ('my', 'Burmese'),
 ('nb', 'Norwegian Bokmal'),
 ('ne', 'Nepali'),
 ('nl', 'Dutch'),
 ('nn', 'Norwegian Nynorsk'),
 ('os', 'Ossetic'),
 ('pa', 'Punjabi'),
 ('pl', 'Polish'),
 ('pt', 'Portuguese'),
 ('pt-br', 'Brazilian Portuguese'),
 ('ro', 'Romanian'),
 ('ru', 'Russian'),
 ('sk', 'Slovak'),
 ('sl', 'Slovenian'),
 ('sq', 'Albanian'),
 ('sr', 'Serbian'),
 ('sr-latn', 'Serbian Latin'),
 ('sv', 'Swedish'),
 ('sw', 'Swahili'),
 ('ta', 'Tamil'),
 ('te', 'Telugu'),
 ('th', 'Thai'),
 ('tr', 'Turkish'),
 ('tt', 'Tatar'),
 ('udm', 'Udmurt'),
 ('uk', 'Ukrainian'),
 ('ur', 'Urdu'),
 ('vi', 'Vietnamese'),
 ('zh-cn', 'Simplified Chinese'),
 ('zh-hans', 'Simplified Chinese'),
 ('zh-hant', 'Traditional Chinese'),
 ('zh-tw', 'Traditional Chinese'))
COMPRESS_CLOSURE_COMPILER_BINARY
u'java -jar compiler.jar'
FILE_UPLOAD_TEMP_DIR
None
CSRF_COOKIE_AGE
31449600
SESSION_COOKIE_NAME
'sessionid'
EMAIL_PORT
587
USE_TZ
True
SHORT_DATETIME_FORMAT
'm/d/Y P'
TEST_NON_SERIALIZED_APPS
[]
PASSWORD_HASHERS
u'********************'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
ABSOLUTE_URL_OVERRIDES
{}
OSCAR_MISSING_IMAGE_URL
'/media/image_not_found.jpg'
LANGUAGE_COOKIE_PATH
'/'
OSCAR_COOKIES_DELETE_ON_LOGOUT
['oscar_recently_viewed_products']
CACHE_MIDDLEWARE_SECONDS
600
EMAIL_SSL_CERTFILE
None
CSRF_COOKIE_HTTPONLY
False
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')
OSCAR_REQUIRED_ADDRESS_FIELDS
('first_name', 'last_name', 'line1', 'line4', 'postcode', 'country')
OSCAR_BASKET_COOKIE_LIFETIME
604800
EMAIL_HOST_USER
'web@hermetico.com'

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.