get() returned more than one Docente -- it returned 2!
Request Method: | GET |
---|---|
Request URL: | http://japonformacion.es/titulaciones/docentes/gregorio-morales |
Django Version: | 1.11.11 |
Exception Type: | MultipleObjectsReturned |
Exception Value: | get() returned more than one Docente -- it returned 2! |
Exception Location: | /var/www/vhosts/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages/django/db/models/query.py in get, line 384 |
Python Executable: | /var/www/vhosts/japonformacion.es/httpdocs/.env/bin/python |
Python Version: | 2.7.12 |
Python Path: | ['/var/www/vhosts/japonformacion.es/httpdocs', '/var/www/vhosts/japonformacion.es/httpdocs/.env/lib/python2.7', '/var/www/vhosts/japonformacion.es/httpdocs/.env/lib/python2.7/plat-x86_64-linux-gnu', '/var/www/vhosts/japonformacion.es/httpdocs/.env/lib/python2.7/lib-tk', '/var/www/vhosts/japonformacion.es/httpdocs/.env/lib/python2.7/lib-old', '/var/www/vhosts/japonformacion.es/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/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages'] |
Server time: | Vie, 29 Mar 2024 06:06:19 +0100 |
/var/www/vhosts/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | MultipleObjectsReturned('get() returned more than one Docente -- it returned 2!',) |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f2578a2c290>> |
request | <WSGIRequest: GET '/titulaciones/docentes/gregorio-morales'> |
/var/www/vhosts/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method ToolbarMiddleware.process_request of <cms.middleware.toolbar.ToolbarMiddleware object at 0x7f25701b01d0>> |
request | <WSGIRequest: GET '/titulaciones/docentes/gregorio-morales'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f2578a2c290> |
/var/www/vhosts/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function DocenteDetailView at 0x7f25701899b0> |
callback_args | () |
callback_kwargs | {'slug': u'gregorio-morales'} |
e | MultipleObjectsReturned('get() returned more than one Docente -- it returned 2!',) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f25702064d0>> |
request | <WSGIRequest: GET '/titulaciones/docentes/gregorio-morales'> |
resolver | <RegexURLResolver 'japon_formacion.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=titulacion.views.DocenteDetailView, args=(), kwargs={'slug': u'gregorio-morales'}, url_name=docente_detail, app_names=[], namespaces=[u'titulacion']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f2578a2c290> |
wrapped_callback | <function DocenteDetailView at 0x7f25701899b0> |
/var/www/vhosts/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function DocenteDetailView at 0x7f25701899b0> |
callback_args | () |
callback_kwargs | {'slug': u'gregorio-morales'} |
e | MultipleObjectsReturned('get() returned more than one Docente -- it returned 2!',) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f25702064d0>> |
request | <WSGIRequest: GET '/titulaciones/docentes/gregorio-morales'> |
resolver | <RegexURLResolver 'japon_formacion.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=titulacion.views.DocenteDetailView, args=(), kwargs={'slug': u'gregorio-morales'}, url_name=docente_detail, app_names=[], namespaces=[u'titulacion']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f2578a2c290> |
wrapped_callback | <function DocenteDetailView at 0x7f25701899b0> |
/var/www/vhosts/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
view.view_class = cls
view.view_initkwargs = initkwargs
# take name and docstring from class
update_wrapper(view, cls, updated=())
Variable | Value |
---|---|
args | () |
cls | <class 'titulacion.views.DocenteDetailView'> |
initkwargs | {} |
kwargs | {'slug': u'gregorio-morales'} |
request | <WSGIRequest: GET '/titulaciones/docentes/gregorio-morales'> |
self | <titulacion.views.DocenteDetailView object at 0x7f25678ee850> |
/var/www/vhosts/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning(
'Method Not Allowed (%s): %s', request.method, request.path,
extra={'status_code': 405, 'request': request}
)
Variable | Value |
---|---|
args | () |
handler | <bound method DocenteDetailView.get of <titulacion.views.DocenteDetailView object at 0x7f25678ee850>> |
kwargs | {'slug': u'gregorio-morales'} |
request | <WSGIRequest: GET '/titulaciones/docentes/gregorio-morales'> |
self | <titulacion.views.DocenteDetailView object at 0x7f25678ee850> |
/var/www/vhosts/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages/django/views/generic/detail.py
in get
class BaseDetailView(SingleObjectMixin, View):
"""
A base view for displaying a single object
"""
def get(self, request, *args, **kwargs):
self.object = self.get_object()...
context = self.get_context_data(object=self.object)
return self.render_to_response(context)
class SingleObjectTemplateResponseMixin(TemplateResponseMixin):
template_name_field = None
Variable | Value |
---|---|
args | () |
kwargs | {'slug': u'gregorio-morales'} |
request | <WSGIRequest: GET '/titulaciones/docentes/gregorio-morales'> |
self | <titulacion.views.DocenteDetailView object at 0x7f25678ee850> |
/var/www/vhosts/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages/django/views/generic/detail.py
in get_object
if pk is None and slug is None:
raise AttributeError("Generic detail view %s must be called with "
"either an object pk or a slug."
% self.__class__.__name__)
try:
# Get the single item from the filtered queryset
obj = queryset.get()...
except queryset.model.DoesNotExist:
raise Http404(_("No %(verbose_name)s found matching the query") %
{'verbose_name': queryset.model._meta.verbose_name})
return obj
def get_queryset(self):
Variable | Value |
---|---|
pk | None |
queryset | <QuerySet [<Docente: José Japón Camacho>, <Docente: Gregorio Morales Delgado>]> |
self | <titulacion.views.DocenteDetailView object at 0x7f25678ee850> |
slug | u'gregorio-morales' |
slug_field | u'slug' |
/var/www/vhosts/japonformacion.es/httpdocs/.env/local/lib/python2.7/site-packages/django/db/models/query.py
in get
if not num:
raise self.model.DoesNotExist(
"%s matching query does not exist." %
self.model._meta.object_name
)
raise self.model.MultipleObjectsReturned(
"get() returned more than one %s -- it returned %s!" %
(self.model._meta.object_name, num)...
)
def create(self, **kwargs):
"""
Creates a new object with the given kwargs, saving it to the database
and returning the created object.
Variable | Value |
---|---|
args | () |
clone | <QuerySet [<Docente: José Japón Camacho>, <Docente: Gregorio Morales Delgado>]> |
kwargs | {} |
num | 2 |
self | <QuerySet [<Docente: José Japón Camacho>, <Docente: Gregorio Morales Delgado>]> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/vhosts/japonformacion.es/httpdocs' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/var/www/vhosts/japonformacion.es/httpdocs' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'japonformacion.es' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_REAL_IP | '54.226.155.151' |
PATH_INFO | u'/titulaciones/docentes/gregorio-morales' |
PATH_TRANSLATED | '/var/www/vhosts/japonformacion.es/httpdocs/japon_formacion/wsgi.py/titulaciones/docentes/gregorio-morales' |
QUERY_STRING | '' |
REMOTE_ADDR | '54.226.155.151' |
REMOTE_PORT | '59630' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'http' |
REQUEST_URI | '/titulaciones/docentes/gregorio-morales' |
SCRIPT_FILENAME | '/var/www/vhosts/japonformacion.es/httpdocs/japon_formacion/wsgi.py' |
SCRIPT_NAME | u'' |
SERVER_ADDR | '82.223.48.80' |
SERVER_ADMIN | '[no address given]' |
SERVER_NAME | 'japonformacion.es' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SIGNATURE | '<address>Apache Server at japonformacion.es Port 80</address>\n' |
SERVER_SOFTWARE | 'Apache' |
apache.version | (2, 4, 18) |
mod_wsgi.application_group | 'japonformacion.es|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711688779093360' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.input_chunked | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '7080' |
mod_wsgi.process_group | 'japonformacion.es' |
mod_wsgi.queue_start | '1711688779093158' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_start | '1711688779092886' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711688779093400' |
mod_wsgi.version | (4, 3, 0) |
wsgi.errors | <mod_wsgi.Log object at 0x7f2567f59e40> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7f2567caf3f0> |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
japon_formacion.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALDRYN_STYLE_CLASS_NAMES | [('col-sm-2', u'Columna mini'), ('col-sm-3', u'Columna Cuarto'), ('col-sm-4', u'Columna Tercio'), ('col-sm-6', u'Columna Mitad'), ('col-sm-12', u'Columna Completa'), ('row', u'Fila')] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/var/www/vhosts/japonformacion.es/httpdocs' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CMSPLUGIN_FILER_FILE_DEFAULT_STYLE | '' |
CMSPLUGIN_FILER_FILE_STYLE_CHOICES | () |
CMSPLUGIN_FILER_FOLDER_DEFAULT_STYLE | 'list' |
CMSPLUGIN_FILER_FOLDER_STYLE_CHOICES | (('list', u'Lista'), ('slideshow', u'Presentaci\xf3n de diapositivas')) |
CMSPLUGIN_FILER_IMAGE_DEFAULT_STYLE | '' |
CMSPLUGIN_FILER_IMAGE_STYLE_CHOICES | () |
CMS_LANGUAGES | {1: [{'code': 'es', 'fallbacks': [], 'hide_untranslated': False, 'name': 'es', 'public': True, 'redirect_on_fallback': True}], <class cms.utils.conf.VERIFIED at 0x7f257156aa78>: True, 'default': {'hide_untranslated': False, 'public': True, 'redirect_on_fallback': True}} |
CMS_PERMISSION | True |
CMS_PLACEHOLDER_CONF | {} |
CMS_TEMPLATES | (('contenido.html', 'Contenido'), ('contenido_vacio.html', 'Contenido Vacio'), ('index.html', 'Inicio'), ('estudiar.html', u'Estudiar Grupo Jap\xf3n')) |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'localhost', 'NAME': 'japon_formacion', 'OPTIONS': {'init_command': 'SET sql_mode="STRICT_TRANS_TABLES";SET foreign_key_checks = 0;'}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'japon_formacion'}} |
DATABASE_ROUTERS | [] |
DATA_DIR | '/var/www/vhosts/japonformacion.es/httpdocs' |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
DJANGOCMS_STYLE_TAGS | ['div', 'article', 'section', 'header', 'footer', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6'] |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.1and1.es' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'webformacion@grupojapon.es' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILER_IMAGE_MODEL | 'filer.Image' |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('djangocms_admin_style', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'django.contrib.messages', 'cms', 'menus', 'sekizai', 'treebeard', 'djangocms_text_ckeditor', 'filer', 'easy_thumbnails', 'aldryn_apphooks_config', 'cmsplugin_filer_image', 'parler', 'taggit', 'taggit_autosuggest', 'meta', 'djangocms_column', 'djangocms_link', 'cmsplugin_filer_file', 'cmsplugin_filer_folder', 'cmsplugin_filer_utils', 'aldryn_style', 'djangocms_snippet', 'djangocms_video', 'captcha', 'emailit', 'japon_formacion', 'banner', 'titulacion', 'galeria', 'slider', 'noticia', 'blog', 'contacto') |
INTERNAL_IPS | [] |
LANGUAGES | (('es', 'es'),) |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'es' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/var/www/vhosts/japonformacion.es/httpdocs/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
META_SITE_PROTOCOL | 'http' |
META_USE_SITES | True |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('cms.middleware.utils.ApphookReloadMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.language.LanguageCookieMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NOCAPTCHA | True |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
RECAPTCHA_PRIVATE_KEY | u'********************' |
RECAPTCHA_PUBLIC_KEY | u'********************' |
ROOT_URLCONF | 'japon_formacion.urls' |
SECRET_KEY | u'********************' |
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 | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'japon_formacion.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | ('/var/www/vhosts/japonformacion.es/httpdocs/japon_formacion/static',) |
STATICFILES_FINDERS | [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/www/vhosts/japonformacion.es/httpdocs/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/vhosts/japonformacion.es/httpdocs/japon_formacion/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.csrf', 'django.template.context_processors.tz', 'sekizai.context_processors.sekizai', 'django.template.context_processors.static', 'cms.context_processors.cms_settings'], 'loaders': ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
THUMBNAIL_PROCESSORS | ('easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'filer.thumbnail_processors.scale_and_crop_with_subject_location', 'easy_thumbnails.processors.filters') |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'Europe/Madrid' |
USE_ETAGS | False |
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 | 'japon_formacion.wsgi.application' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'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.