(1287L, u"'BINARY expr' is deprecated and will be removed in a future release. Please use CAST instead")
Request Method: | GET |
---|---|
Request URL: | https://www.cdcautokit.it/mirror/cat_s/applications/ |
Django Version: | 1.3.7 |
Exception Type: | Warning |
Exception Value: | (1287L, u"'BINARY expr' is deprecated and will be removed in a future release. Please use CAST instead") |
Exception Location: | /usr/lib/python2.7/dist-packages/MySQLdb/cursors.py in _warning_check, line 155 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.16 |
Python Path: | ['/home/debian/newcdc', '/home/debian/newcdc', '/home/debian', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages'] |
Server time: | ven, 29 Mar 2024 12:32:50 +0100 |
/home/debian/newcdc/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
exceptions | <module 'django.core.exceptions' from '/home/debian/newcdc/django/core/exceptions.pyc'> |
e | Warning(1287L, u"'BINARY expr' is deprecated and will be removed in a future release. Please use CAST instead") |
callback_args | () |
receivers | [(<function _rollback_on_exception at 0x7f2b4fdcb320>, None)] |
middleware_method | <bound method ToolbarMiddleware.process_view of <cms.middleware.toolbar.ToolbarMiddleware object at 0x7f2b4f7a0890>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f2b7c214390> |
settings | <django.conf.LazySettings object at 0x7f2b7c20bc90> |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTEXT_DOCUMENT_ROOT': '/home/debian/newcdc', 'CONTEXT_PREFIX': '', 'CSRF_COOKIE': '66fa1f18073fb3ed0e3990774e809fd8', 'DOCUMENT_ROOT': '/home/debian/newcdc', 'GATEWAY_INTERFACE': 'CGI/1.1', 'H2PUSH': 'off', 'H2_PUSH': 'off', 'H2_PUSHED': '', 'H2_PUSHED_ON': '', 'H2_STREAM_ID': '5', 'H2_STREAM_TAG': '64-5', 'HTTP2': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.cdcautokit.it', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/it/mirror/cat_s/applications/', 'PATH_TRANSLATED': '/home/debian/newcdc/apache/wsgi_autokit.py/it/mirror/cat_s/applications/', 'QUERY_STRING': '', 'REMOTE_ADDR': '3.89.72.221', 'REMOTE_PORT': '45620', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/it/mirror/cat_s/applications/', 'SCRIPT_FILENAME': '/home/debian/newcdc/apache/wsgi_autokit.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '162.19.250.101', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'www.cdcautokit.it', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/2.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache', 'SSL_TLS_SNI': 'www.cdcautokit.it', 'apache.version': (2, 4, 38), 'mod_wsgi.application_group': 'cdcautokit.it|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.connection_id': '64-5', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.ignore_activity': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '443', 'mod_wsgi.path_info': '/it/mirror/cat_s/applications/', 'mod_wsgi.process_group': '', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.request_id': 'fv/7/ypzHpE', 'mod_wsgi.request_start': '1711711970918270', 'mod_wsgi.script_name': '', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.script_start': '1711711970918941', 'mod_wsgi.thread_id': 1, 'mod_wsgi.thread_requests': 200L, 'mod_wsgi.total_requests': 1006L, 'mod_wsgi.version': (4, 6, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x7f2b4cd4d670>, 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.input': <mod_wsgi.Input object at 0x7f2b4d42c570>, 'wsgi.input_terminated': True, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
callback | <function applications_marche at 0x7f2b4f290758> |
resolver | <RegexURLResolver newcdc.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/home/debian/newcdc/django/core/urlresolvers.pyc'> |
callback_kwargs | {'ctype': u'cat_s'} |
response | None |
urlconf | 'newcdc.urls' |
/home/debian/newcdc/autokit/views.py
in applications_marche
title = 'Marche '
subsect= 'applications'
##
#print title,'\n'
#print ctype
##
vc = Veicolo.objects.filter(marca__startswith='Fiat')
for row in vc:...
row.marca = row.marca.replace('Fiat','FIAT')
row.save()
vc = Veicolo.objects.filter(marca__startswith='Nissan')
for row in vc:
row.marca = row.marca.replace('Nissan','NISSAN')
Variable | Value |
---|---|
subsect | 'applications' |
vc | [] |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTEXT_DOCUMENT_ROOT': '/home/debian/newcdc', 'CONTEXT_PREFIX': '', 'CSRF_COOKIE': '66fa1f18073fb3ed0e3990774e809fd8', 'DOCUMENT_ROOT': '/home/debian/newcdc', 'GATEWAY_INTERFACE': 'CGI/1.1', 'H2PUSH': 'off', 'H2_PUSH': 'off', 'H2_PUSHED': '', 'H2_PUSHED_ON': '', 'H2_STREAM_ID': '5', 'H2_STREAM_TAG': '64-5', 'HTTP2': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.cdcautokit.it', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/it/mirror/cat_s/applications/', 'PATH_TRANSLATED': '/home/debian/newcdc/apache/wsgi_autokit.py/it/mirror/cat_s/applications/', 'QUERY_STRING': '', 'REMOTE_ADDR': '3.89.72.221', 'REMOTE_PORT': '45620', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/it/mirror/cat_s/applications/', 'SCRIPT_FILENAME': '/home/debian/newcdc/apache/wsgi_autokit.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '162.19.250.101', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'www.cdcautokit.it', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/2.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache', 'SSL_TLS_SNI': 'www.cdcautokit.it', 'apache.version': (2, 4, 38), 'mod_wsgi.application_group': 'cdcautokit.it|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.connection_id': '64-5', 'mod_wsgi.enable_sendfile': '0', 'mod_wsgi.handler_script': '', 'mod_wsgi.ignore_activity': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '443', 'mod_wsgi.path_info': '/it/mirror/cat_s/applications/', 'mod_wsgi.process_group': '', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.request_id': 'fv/7/ypzHpE', 'mod_wsgi.request_start': '1711711970918270', 'mod_wsgi.script_name': '', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.script_start': '1711711970918941', 'mod_wsgi.thread_id': 1, 'mod_wsgi.thread_requests': 200L, 'mod_wsgi.total_requests': 1006L, 'mod_wsgi.version': (4, 6, 5), 'wsgi.errors': <mod_wsgi.Log object at 0x7f2b4cd4d670>, 'wsgi.file_wrapper': <type 'mod_wsgi.FileWrapper'>, 'wsgi.input': <mod_wsgi.Input object at 0x7f2b4d42c570>, 'wsgi.input_terminated': True, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
ctype | u'cat_s' |
title | 'Marche ' |
/home/debian/newcdc/django/db/models/query.py
in _result_iter
upper = len(self._result_cache)
while pos < upper:
yield self._result_cache[pos]
pos = pos + 1
if not self._iter:
raise StopIteration
if len(self._result_cache) <= pos:
self._fill_cache()...
def __nonzero__(self):
if self._result_cache is not None:
return bool(self._result_cache)
try:
iter(self).next()
Variable | Value |
---|---|
upper | 0 |
self | [] |
pos | 0 |
/home/debian/newcdc/django/db/models/query.py
in _fill_cache
"""
Fills the result cache with 'num' more entries (or until the results
iterator is exhausted).
"""
if self._iter:
try:
for i in range(num or ITER_CHUNK_SIZE):
self._result_cache.append(self._iter.next())...
except StopIteration:
self._iter = None
def _next_is_sticky(self):
"""
Indicates that the next filter call and the one following that should
Variable | Value |
---|---|
i | 0 |
self | [] |
num | None |
/home/debian/newcdc/django/db/models/query.py
in iterator
init_list.append(field.attname)
model_cls = deferred_class_factory(self.model, skip)
# Cache db and model outside the loop
db = self.db
model = self.model
compiler = self.query.get_compiler(using=db)
for row in compiler.results_iter():...
if fill_cache:
obj, _ = get_cached_row(model, row,
index_start, using=db, max_depth=max_depth,
requested=requested, offset=len(aggregate_select),
only_load=only_load)
else:
Variable | Value |
---|---|
requested | None |
fill_cache | False |
aggregate_select | [] |
fields | [<django.db.models.fields.AutoField object at 0x7f2b4fada3d0>, <django.db.models.fields.CharField object at 0x7f2b4facdd90>, <django.db.models.fields.CharField object at 0x7f2b4facde90>, <django.db.models.fields.CharField object at 0x7f2b4facdf10>, <django.db.models.fields.CharField object at 0x7f2b4facdf90>, <django.db.models.fields.CharField object at 0x7f2b4fada050>, <django.db.models.fields.CharField object at 0x7f2b4fada0d0>, <django.db.models.fields.CharField object at 0x7f2b4fada150>, <django.db.models.fields.CharField object at 0x7f2b4fada1d0>, <django.db.models.fields.CharField object at 0x7f2b4fada250>] |
skip | None |
self | [] |
load_fields | [] |
db | 'default' |
index_start | 0 |
extra_select | [] |
aggregate_start | 10 |
pk_idx | 0 |
model | <class 'autokit.models.Veicolo'> |
only_load | {} |
max_depth | 5 |
compiler | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f2b4c702a50> |
/home/debian/newcdc/django/db/models/sql/compiler.py
in results_iter
def results_iter(self):
"""
Returns an iterator over the results from executing this query.
"""
resolve_columns = hasattr(self, 'resolve_columns')
fields = None
has_aggregate_select = bool(self.query.aggregate_select)
for rows in self.execute_sql(MULTI):...
for row in rows:
if resolve_columns:
if fields is None:
# We only set this up here because
# related_select_fields isn't populated until
# execute_sql() has been called.
Variable | Value |
---|---|
fields | None |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f2b4c702a50> |
has_aggregate_select | False |
resolve_columns | True |
/home/debian/newcdc/django/db/models/sql/compiler.py
in execute_sql
except EmptyResultSet:
if result_type == MULTI:
return empty_iter()
else:
return
cursor = self.connection.cursor()
cursor.execute(sql, params)...
if not result_type:
return cursor
if result_type == SINGLE:
if self.query.ordering_aliases:
return cursor.fetchone()[:-len(self.query.ordering_aliases)]
Variable | Value |
---|---|
cursor | <django.db.backends.util.CursorDebugWrapper object at 0x7f2b4ce14950> |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7f2b4c702a50> |
params | (u'Fiat%',) |
result_type | 'multi' |
sql | 'SELECT `autokit_veicolo`.`id`, `autokit_veicolo`.`nome`, `autokit_veicolo`.`marca`, `autokit_veicolo`.`modello`, `autokit_veicolo`.`versione`, `autokit_veicolo`.`motore`, `autokit_veicolo`.`cilindrata`, `autokit_veicolo`.`alimentazione`, `autokit_veicolo`.`nota`, `autokit_veicolo`.`nota_en` FROM `autokit_veicolo` WHERE `autokit_veicolo`.`marca` LIKE BINARY %s ORDER BY `autokit_veicolo`.`marca` ASC, `autokit_veicolo`.`modello` ASC, `autokit_veicolo`.`versione` ASC, `autokit_veicolo`.`motore` ASC' |
/home/debian/newcdc/django/db/backends/util.py
in execute
class CursorDebugWrapper(CursorWrapper):
def execute(self, sql, params=()):
start = time()
try:
return self.cursor.execute(sql, params)...
finally:
stop = time()
duration = stop - start
sql = self.db.ops.last_executed_query(self.cursor, sql, params)
self.db.queries.append({
'sql': sql,
Variable | Value |
---|---|
self | <django.db.backends.util.CursorDebugWrapper object at 0x7f2b4ce14950> |
stop | 1711711970.949907 |
start | 1711711970.934794 |
params | (u'Fiat%',) |
sql | u'SELECT `autokit_veicolo`.`id`, `autokit_veicolo`.`nome`, `autokit_veicolo`.`marca`, `autokit_veicolo`.`modello`, `autokit_veicolo`.`versione`, `autokit_veicolo`.`motore`, `autokit_veicolo`.`cilindrata`, `autokit_veicolo`.`alimentazione`, `autokit_veicolo`.`nota`, `autokit_veicolo`.`nota_en` FROM `autokit_veicolo` WHERE `autokit_veicolo`.`marca` LIKE BINARY Fiat% ORDER BY `autokit_veicolo`.`marca` ASC, `autokit_veicolo`.`modello` ASC, `autokit_veicolo`.`versione` ASC, `autokit_veicolo`.`motore` ASC' |
duration | 0.015113115310668945 |
/home/debian/newcdc/django/db/backends/mysql/base.py
in execute
codes_for_integrityerror = (1048,)
def __init__(self, cursor):
self.cursor = cursor
def execute(self, query, args=None):
try:
return self.cursor.execute(query, args)...
except Database.IntegrityError, e:
raise utils.IntegrityError, utils.IntegrityError(*tuple(e)), sys.exc_info()[2]
except Database.OperationalError, e:
# Map some error codes to IntegrityError, since they seem to be
# misclassified and Django would prefer the more logical place.
if e[0] in self.codes_for_integrityerror:
Variable | Value |
---|---|
query | 'SELECT `autokit_veicolo`.`id`, `autokit_veicolo`.`nome`, `autokit_veicolo`.`marca`, `autokit_veicolo`.`modello`, `autokit_veicolo`.`versione`, `autokit_veicolo`.`motore`, `autokit_veicolo`.`cilindrata`, `autokit_veicolo`.`alimentazione`, `autokit_veicolo`.`nota`, `autokit_veicolo`.`nota_en` FROM `autokit_veicolo` WHERE `autokit_veicolo`.`marca` LIKE BINARY %s ORDER BY `autokit_veicolo`.`marca` ASC, `autokit_veicolo`.`modello` ASC, `autokit_veicolo`.`versione` ASC, `autokit_veicolo`.`motore` ASC' |
self | <django.db.backends.mysql.base.CursorWrapper object at 0x7f2b4ce14810> |
args | (u'Fiat%',) |
/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py
in execute
try:
res = self._query(query)
except Exception:
exc, value = sys.exc_info()[:2]
self.errorhandler(self, exc, value)
self._executed = query
if not self._defer_warnings:
self._warning_check()...
return res
def executemany(self, query, args):
# type: (str, list) -> int
"""Execute a multi-row query.
Variable | Value |
---|---|
res | 0L |
self | <MySQLdb.cursors.Cursor object at 0x7f2b4c702f90> |
args | ("'Fiat%'",) |
db | <_mysql.connection open to 'localhost' at 55bbcbe22e30> |
query | "SELECT `autokit_veicolo`.`id`, `autokit_veicolo`.`nome`, `autokit_veicolo`.`marca`, `autokit_veicolo`.`modello`, `autokit_veicolo`.`versione`, `autokit_veicolo`.`motore`, `autokit_veicolo`.`cilindrata`, `autokit_veicolo`.`alimentazione`, `autokit_veicolo`.`nota`, `autokit_veicolo`.`nota_en` FROM `autokit_veicolo` WHERE `autokit_veicolo`.`marca` LIKE BINARY 'Fiat%' ORDER BY `autokit_veicolo`.`marca` ASC, `autokit_veicolo`.`modello` ASC, `autokit_veicolo`.`versione` ASC, `autokit_veicolo`.`motore` ASC" |
/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py
in _warning_check
warnings = db.show_warnings()
if warnings:
# This is done in two loops in case
# Warnings are set to raise exceptions.
for w in warnings:
self.messages.append((self.Warning, w))
for w in warnings:
warn(self.Warning(*w[1:3]), stacklevel=3)...
else:
info = db.info()
if info:
self.messages.append((self.Warning, info))
warn(self.Warning(0, info), stacklevel=3)
Variable | Value |
---|---|
warnings | ((u'Warning', 1287L, u"'BINARY expr' is deprecated and will be removed in a future release. Please use CAST instead"),) |
self | <MySQLdb.cursors.Cursor object at 0x7f2b4c702f90> |
db | <_mysql.connection open to 'localhost' at 55bbcbe22e30> |
warning_count | 1 |
warn | <built-in function warn> |
w | (u'Warning', 1287L, u"'BINARY expr' is deprecated and will be removed in a future release. Please use CAST instead") |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '443' |
H2_PUSHED | '' |
SERVER_SOFTWARE | 'Apache' |
SCRIPT_NAME | u'' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/it/mirror/cat_s/applications/' |
SERVER_PROTOCOL | 'HTTP/2.0' |
QUERY_STRING | '' |
wsgi.multithread | True |
SSL_TLS_SNI | 'www.cdcautokit.it' |
HTTP_USER_AGENT | 'claudebot' |
H2PUSH | 'off' |
SERVER_NAME | 'www.cdcautokit.it' |
REMOTE_ADDR | '3.89.72.221' |
mod_wsgi.request_handler | 'wsgi-script' |
apache.version | (2, 4, 38) |
mod_wsgi.thread_id | 1 |
wsgi.url_scheme | 'https' |
PATH_TRANSLATED | '/home/debian/newcdc/apache/wsgi_autokit.py/it/mirror/cat_s/applications/' |
SERVER_PORT | '443' |
HTTP2 | 'on' |
wsgi.multiprocess | True |
SERVER_ADDR | '162.19.250.101' |
DOCUMENT_ROOT | '/home/debian/newcdc' |
mod_wsgi.process_group | '' |
CONTEXT_DOCUMENT_ROOT | '/home/debian/newcdc' |
mod_wsgi.path_info | '/it/mirror/cat_s/applications/' |
mod_wsgi.total_requests | 1006L |
mod_wsgi.request_id | 'fv/7/ypzHpE' |
SCRIPT_FILENAME | '/home/debian/newcdc/apache/wsgi_autokit.py' |
SERVER_ADMIN | '[no address given]' |
H2_PUSHED_ON | '' |
mod_wsgi.ignore_activity | '0' |
wsgi.input | <mod_wsgi.Input object at 0x7f2b4d42c570> |
wsgi.errors | <mod_wsgi.Log object at 0x7f2b4cd4d670> |
HTTP_HOST | 'www.cdcautokit.it' |
CONTEXT_PREFIX | '' |
H2_STREAM_ID | '5' |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/it/mirror/cat_s/applications/' |
HTTP_ACCEPT | '*/*' |
H2_STREAM_TAG | '64-5' |
mod_wsgi.thread_requests | 200L |
wsgi.file_wrapper | '' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
H2_PUSH | 'off' |
REMOTE_PORT | '45620' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'https' |
mod_wsgi.version | (4, 6, 5) |
wsgi.input_terminated | True |
mod_wsgi.script_start | '1711711970918941' |
mod_wsgi.application_group | 'cdcautokit.it|' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.request_start | '1711711970918270' |
CSRF_COOKIE | '66fa1f18073fb3ed0e3990774e809fd8' |
mod_wsgi.script_name | '' |
mod_wsgi.connection_id | '64-5' |
newcdc.autokit_settings
Setting | Value |
---|---|
TEST_DATABASE_CHARSET | None |
CACHE_MULTISITE_KEY_PREFIX | '' |
USE_L10N | True |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'cms.middleware.multilingual.MultilingualURLMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware') |
TIME_ZONE | 'Europe/Rome' |
DEFAULT_TEMPLATE_DIRS | ['/home/debian/newcdc/themes/autokit/templates', '/home/debian/newcdc/themes'] |
LANGUAGE_CODE | 'it' |
ROOT_URLCONF | 'newcdc.urls' |
MANAGERS | (('marco', 'sviluppo@start3k.it'),) |
DEFAULT_CHARSET | 'utf-8' |
CDC_SERVER_URL | 'https://cdcfi.it/cdc/' |
CMS_MEDIA_ROOT | '/home/debian/newcdc/mediacms/' |
STATIC_ROOT | '/home/debian/newcdc/static' |
CMS_SHOW_START_DATE | False |
CMS_SITE_CHOICES_CACHE_KEY | 'CMS:site_choices' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
CMS_APPLICATIONS_URLS | (('cmsplugin_news.urls', 'News'),) |
CMS_MODERATOR | False |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage' |
DATABASE_HOST | '' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
CMS_TEMPLATE_INHERITANCE_MAGIC | 'INHERIT' |
URL_VALIDATOR_USER_AGENT | 'Django/1.3.7 (http://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
CMS_MEDIA_URL | '/media/cms/' |
CMS_SHOW_END_DATE | False |
DEFAULT_CMS_TEMPLATES | (('autokit_default.html', 'Autokit template'), ('autokit_novita.html', 'Autokit template news'), ('autokit_certs.html', 'Autokit certs'), ('autokit_default2.html', 'Autokit template 2'), ('autokit_distributori.html', 'Autokit template Distributori'), ('autokit_aiuti.html', 'Autokit template Aiuti'), ('INHERIT', <django.utils.functional.__proxy__ object at 0x7f2b6c4a96d0>)) |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
SERVER_1 | 'SERVER1' |
SERVER_2 | 'SERVER2' |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'newcdc', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Rome', 'USER': 'newcdc'}} |
TEST_DATABASE_NAME | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
CACHE_MULTISITE_ALIAS | 'multisite' |
CDC_LOCAL_URL | 'http://localhost:8000/' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
CMS_PLUGIN_PROCESSORS | () |
CMS_MENU_TITLE_OVERWRITE | False |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
USE_THOUSAND_SEPARATOR | False |
CMS_FRONTEND_LANGUAGES | ['it', 'en'] |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
CMS_TEMPLATE_INHERITANCE | True |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
CMS_TEMPLATES | [('autokit_default.html', 'Autokit template'), ('autokit_novita.html', 'Autokit template news'), ('autokit_certs.html', 'Autokit certs'), ('autokit_default2.html', 'Autokit template 2'), ('autokit_distributori.html', 'Autokit template Distributori'), ('autokit_aiuti.html', 'Autokit template Aiuti'), ('INHERIT', <django.utils.functional.__proxy__ object at 0x7f2b6c4a96d0>)] |
CMS_CACHE_PREFIX | 'cms-' |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
CMS_LANGUAGES | [('it', 'Italiano'), ('en', 'English')] |
CMS_NAVIGATION_EXTENDERS | (('cmsplugin_news.navigation.get_nodes', 'News navigation'),) |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TESTX | 'WSK' |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
SESSION_COOKIE_AGE | 1209600 |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
CMS_REDIRECTS | False |
TEMPLATE_DEBUG | True |
STATIC_CMS_ROOT | '/home/debian/newcdc/cms/static/cms' |
CSRF_COOKIE_NAME | 'csrftoken' |
TEST_DATABASE_COLLATION | None |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
SESSION_COOKIE_SECURE | False |
CMS_SOFTROOT | False |
CMS_LANGUAGE_FALLBACK | True |
CDC_SERVER_URL_MEDIA | 'https://cdcfi.it/site_media/' |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
CMS_APPHOOKS | () |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'django.contrib.admindocs', 'autokit', 'cms', 'mptt', 'menus', 'south', 'sekizai', 'cms_themes', 'rssplugin', 'captcha', 'cms.plugins.file', 'cms.plugins.flash', 'cms.plugins.googlemap', 'cms.plugins.link', 'cms.plugins.picture', 'cms.plugins.snippet', 'cms.plugins.teaser', 'cms.plugins.text', 'cms.plugins.video', 'cms.plugins.twitter'] |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
DATABASE_ENGINE | '' |
DATABASE_NAME | '' |
COMMENTS_FIRST_FEW | 0 |
PREPEND_WWW | False |
M_KIT | 'autokit' |
SESSION_COOKIE_HTTPONLY | False |
DATABASE_PORT | '' |
CMS_PAGE_MEDIA_PATH | 'cms_page_media/' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEFAULT_STATICFILES_DIRS | (('themes', '/home/debian/newcdc/themes'),) |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_SAVE_EVERY_REQUEST | False |
DEFAULT_TRACKING_TEMPLATE | 'tracking/visitor_map.html' |
PLACEHOLDER_FRONTEND_EDITING | True |
TIME_FORMAT | 'P' |
GEOIP_PATH | '' |
NUMBER_GROUPING | 0 |
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') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CMS_PLUGIN_CONTEXT_PROCESSORS | () |
ADMIN_MEDIA_PREFIX | '/static/admin/' |
CMS_URL_OVERWRITE | True |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
COMMENTS_SKETCHY_USERS_GROUP | None |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
CMS_CACHE_DURATIONS | {'content': 60, 'menus': 3600, 'permissions': 3600} |
DECIMAL_SEPARATOR | '.' |
CMS_SEO_FIELDS | True |
CACHE_MIDDLEWARE_KEY_PREFIX | '' |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
DISALLOWED_USER_AGENTS | () |
CMS_HIDE_UNTRANSLATED | True |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | ['/home/debian/newcdc/themes/autokit/templates', '/home/debian/newcdc/themes'] |
CMS_PUBLIC_FOR | 'all' |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/debian/newcdc/media' |
ADMINS | (('marco', 'sviluppo@start3k.it'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
STATICFILES_DIRS | ['/home/debian/newcdc/themes', ('themes', '/home/debian/newcdc/themes')] |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
CMS_PAGE_CHOICES_CACHE_KEY | 'CMS:page_choices' |
TRACKING_USE_GEOIP | True |
THEMES_DIR | '/home/debian/newcdc/themes' |
GOOGLE_MAPS_KEY | '' |
CMS_TITLE_CHARACTER | '+' |
SITE_ID | 1 |
CMS_PERMISSION | False |
ALLOWED_INCLUDE_ROOTS | () |
MIRROR_MEDIA_ROOT | '/home/debian/newcdc/site_media' |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
PROJECT_DIR | '/home/debian/newcdc' |
SECRET_KEY | '********************' |
DATABASE_USER | '' |
STATIC_TH_ROOT | '/home/debian/newcdc/themes' |
CDC_LOCAL_URL_MEDIA | 'http://localhost:8000/site_media/' |
SHORT_DATE_FORMAT | 'm/d/Y' |
TESTSITE | True |
GEOIP_CACHE_TYPE | 0 |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
STATIC_TH_URL | '/static/themes/' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
CMS_MEDIA_PATH | 'cms/' |
CMS_FLAT_URLS | False |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.core.context_processors.static', 'cms.context_processors.media', 'sekizai.context_processors.sekizai') |
PROJECT_PATH | '/home/debian/newcdc' |
COMMENTS_ALLOW_PROFANITIES | False |
STATIC_CMS_URL | '/static/cms/' |
SETTINGS_MODULE | 'newcdc.autokit_settings' |
USE_ETAGS | False |
LANGUAGES | [('it', 'Italiano'), ('en', 'English')] |
CMS_LANGUAGE_CONF | {} |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
CMS_PLACEHOLDER_CONF | {} |
ABSOLUTE_URL_OVERRIDES | {} |
DATABASE_OPTIONS | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
BANNED_IPS | () |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y') |
TRANSACTIONS_MANAGED | False |
DATABASE_PASSWORD | '********************' |
COMMENTS_MODERATORS_GROUP | None |
PROFANITIES_LIST | '********************' |
CMS_SITE_LANGUAGES | {} |
EMAIL_HOST_USER | '' |
COMMENTS_BANNED_USERS_GROUP | None |
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 500 page.