(1045, "Access denied for user 'root'@'localhost' (using password: YES)")
Request Method: | GET |
---|---|
Request URL: | http://compgen.bio.unipd.it/bioinfo/download/europeaneelreads.fasta.zip/ |
Django Version: | 1.3 |
Exception Type: | OperationalError |
Exception Value: | (1045, "Access denied for user 'root'@'localhost' (using password: YES)") |
Exception Location: | /usr/lib/python2.7/dist-packages/MySQLdb/connections.py in __init__, line 187 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.3 |
Python Path: | ['/usr/local/lib/python2.7/dist-packages/South-0.5-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/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', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/local', '/usr/local/bioinfo'] |
Server time: | Fri, 29 Mar 2024 08:38:58 -0600 |
/usr/local/lib/python2.7/dist-packages/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 '/usr/local/lib/python2.7/dist-packages/django/core/exceptions.pyc'> |
e | OperationalError(1045, "Access denied for user 'root'@'localhost' (using password: YES)") |
callback_args | (u'europeaneelreads.fasta.zip',) |
receivers | [(<function _rollback_on_exception at 0x7f0ff88930c8>, None)] |
middleware_method | <bound method XViewMiddleware.process_view of <django.middleware.doc.XViewMiddleware object at 0x7f0ff86d9250>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f0ff86c7190> |
settings | <django.conf.LazySettings object at 0x7f0ff83e2350> |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/var/www/html/compgen.bio.unipd.it', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'compgen.bio.unipd.it', 'HTTP_REFERER': 'http://compgen.bio.unipd.it/bioinfo/download/europeaneelreads.fasta.zip', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/download/europeaneelreads.fasta.zip/', 'PATH_TRANSLATED': '/var/www/html/compgen.bio.unipd.it/download/europeaneelreads.fasta.zip/', 'QUERY_STRING': '', 'REMOTE_ADDR': '34.207.137.245', 'REMOTE_PORT': '55388', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/bioinfo/download/europeaneelreads.fasta.zip/', 'SCRIPT_FILENAME': '/usr/local/bioinfo/django.wsgi', 'SCRIPT_NAME': u'/bioinfo', 'SCRIPT_URI': 'http://compgen.bio.unipd.it/bioinfo/download/europeaneelreads.fasta.zip/', 'SCRIPT_URL': '/bioinfo/download/europeaneelreads.fasta.zip/', 'SERVER_ADDR': '172.21.32.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'compgen.bio.unipd.it', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at compgen.bio.unipd.it Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'force-proxy-request-1.0': '1', 'mod_wsgi.application_group': 'compgen.bio.unipd.it|/bioinfo', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'moin', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'proxy-nokeepalive': '1', 'wsgi.errors': <mod_wsgi.Log object at 0x7f0fe8b27db0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f0ff3b2fdc8>, 'wsgi.input': <mod_wsgi.Input object at 0x7f0fe8c4b1f0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}> |
callback | <function download at 0x7f0ff8b072a8> |
resolver | <RegexURLResolver bioinfo.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {} |
response | None |
urlconf | 'bioinfo.urls' |
/usr/local/bioinfo/views.py
in download
return HttpResponseRedirect('/bioinfo/')
def download(request, fileName):
ip = request.META["REMOTE_ADDR"]
userAgent = request.META["HTTP_USER_AGENT"]
download = Download(filename=fileName, ip=ip, useragent=userAgent, checked=False)
download.save()...
return HttpResponseRedirect("http://compgen.bio.unipd.it/downloads/"+fileName)
def dstats(request):
downloads = Download.objects.filter(checked=True).filter(ua_filter)
downloads = [download for download in downloads if download.lat and download.lon]
Variable | Value |
---|---|
download | <Download: Download object> |
userAgent | 'claudebot' |
fileName | u'europeaneelreads.fasta.zip' |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/var/www/html/compgen.bio.unipd.it', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'compgen.bio.unipd.it', 'HTTP_REFERER': 'http://compgen.bio.unipd.it/bioinfo/download/europeaneelreads.fasta.zip', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/download/europeaneelreads.fasta.zip/', 'PATH_TRANSLATED': '/var/www/html/compgen.bio.unipd.it/download/europeaneelreads.fasta.zip/', 'QUERY_STRING': '', 'REMOTE_ADDR': '34.207.137.245', 'REMOTE_PORT': '55388', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/bioinfo/download/europeaneelreads.fasta.zip/', 'SCRIPT_FILENAME': '/usr/local/bioinfo/django.wsgi', 'SCRIPT_NAME': u'/bioinfo', 'SCRIPT_URI': 'http://compgen.bio.unipd.it/bioinfo/download/europeaneelreads.fasta.zip/', 'SCRIPT_URL': '/bioinfo/download/europeaneelreads.fasta.zip/', 'SERVER_ADDR': '172.21.32.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'compgen.bio.unipd.it', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Ubuntu) Server at compgen.bio.unipd.it Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.22 (Ubuntu)', 'force-proxy-request-1.0': '1', 'mod_wsgi.application_group': 'compgen.bio.unipd.it|/bioinfo', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.handler_script': '', 'mod_wsgi.input_chunked': '0', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'moin', 'mod_wsgi.request_handler': 'wsgi-script', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (3, 3), 'proxy-nokeepalive': '1', 'wsgi.errors': <mod_wsgi.Log object at 0x7f0fe8b27db0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f0ff3b2fdc8>, 'wsgi.input': <mod_wsgi.Input object at 0x7f0fe8c4b1f0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 1)}> |
ip | '34.207.137.245' |
/usr/local/lib/python2.7/dist-packages/django/db/models/base.py
in save
The 'force_insert' and 'force_update' parameters can be used to insist
that the "save" must be an SQL insert or update (or equivalent for
non-SQL backends), respectively. Normally, they should not be set.
"""
if force_insert and force_update:
raise ValueError("Cannot force both insert and updating in model saving.")
self.save_base(using=using, force_insert=force_insert, force_update=force_update)...
save.alters_data = True
def save_base(self, raw=False, cls=None, origin=None, force_insert=False,
force_update=False, using=None):
"""
Variable | Value |
---|---|
using | None |
self | <Download: Download object> |
force_update | False |
force_insert | False |
/usr/local/lib/python2.7/dist-packages/django/db/models/base.py
in save_base
for f in meta.local_fields]
record_exists = False
update_pk = bool(meta.has_auto_field and not pk_set)
if values:
# Create a new record.
result = manager._insert(values, return_id=update_pk, using=using)...
else:
# Create a new record with defaults for everything.
result = manager._insert([(meta.pk, connection.ops.pk_default_value())], return_id=update_pk, raw_values=True, using=using)
if update_pk:
setattr(self, meta.pk.attname, result)
Variable | Value |
---|---|
origin | <class 'bioinfo.compgen.models.Download'> |
non_pks | [<django.db.models.fields.CharField object at 0x7f0ff8af8950>, <django.db.models.fields.IPAddressField object at 0x7f0ff8af89d0>, <django.db.models.fields.TextField object at 0x7f0ff8af8a10>, <django.db.models.fields.DecimalField object at 0x7f0ff8af8a50>, <django.db.models.fields.DecimalField object at 0x7f0ff8af8a90>, <django.db.models.fields.BooleanField object at 0x7f0ff8af8ad0>, <django.db.models.fields.CharField object at 0x7f0ff8af8b10>, <django.db.models.fields.CharField object at 0x7f0ff8af8b90>, <django.db.models.fields.DateTimeField object at 0x7f0ff8af8c10>] |
f | <django.db.models.fields.DateTimeField object at 0x7f0ff8af8c10> |
self | <Download: Download object> |
force_update | False |
connection | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f0ff8880a10> |
force_insert | False |
raw | False |
manager | <django.db.models.manager.Manager object at 0x7f0ff8b02ad0> |
meta | <Options for Download> |
values | [(<django.db.models.fields.CharField object at 0x7f0ff8af8950>, u'europeaneelreads.fasta.zip'), (<django.db.models.fields.IPAddressField object at 0x7f0ff8af89d0>, '34.207.137.245'), (<django.db.models.fields.TextField object at 0x7f0ff8af8a10>, 'claudebot'), (<django.db.models.fields.DecimalField object at 0x7f0ff8af8a50>, None), (<django.db.models.fields.DecimalField object at 0x7f0ff8af8a90>, None), (<django.db.models.fields.BooleanField object at 0x7f0ff8af8ad0>, False), (<django.db.models.fields.CharField object at 0x7f0ff8af8b10>, None), (<django.db.models.fields.CharField object at 0x7f0ff8af8b90>, None), (<django.db.models.fields.DateTimeField object at 0x7f0ff8af8c10>, u'2024-03-29 08:38:58')] |
pk_val | None |
using | 'default' |
pk_set | False |
org | None |
cls | <class 'bioinfo.compgen.models.Download'> |
update_pk | True |
record_exists | False |
/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py
in _insert
def using(self, *args, **kwargs):
return self.get_query_set().using(*args, **kwargs)
def exists(self, *args, **kwargs):
return self.get_query_set().exists(*args, **kwargs)
def _insert(self, values, **kwargs):
return insert_query(self.model, values, **kwargs)...
def _update(self, values, **kwargs):
return self.get_query_set()._update(values, **kwargs)
def raw(self, raw_query, params=None, *args, **kwargs):
return RawQuerySet(raw_query=raw_query, model=self.model, params=params, using=self._db, *args, **kwargs)
Variable | Value |
---|---|
self | <django.db.models.manager.Manager object at 0x7f0ff8b02ad0> |
values | [(<django.db.models.fields.CharField object at 0x7f0ff8af8950>, u'europeaneelreads.fasta.zip'), (<django.db.models.fields.IPAddressField object at 0x7f0ff8af89d0>, '34.207.137.245'), (<django.db.models.fields.TextField object at 0x7f0ff8af8a10>, 'claudebot'), (<django.db.models.fields.DecimalField object at 0x7f0ff8af8a50>, None), (<django.db.models.fields.DecimalField object at 0x7f0ff8af8a90>, None), (<django.db.models.fields.BooleanField object at 0x7f0ff8af8ad0>, False), (<django.db.models.fields.CharField object at 0x7f0ff8af8b10>, None), (<django.db.models.fields.CharField object at 0x7f0ff8af8b90>, None), (<django.db.models.fields.DateTimeField object at 0x7f0ff8af8c10>, u'2024-03-29 08:38:58')] |
kwargs | {'return_id': True, 'using': 'default'} |
/usr/local/lib/python2.7/dist-packages/django/db/models/query.py
in insert_query
"""
Inserts a new record for the given model. This provides an interface to
the InsertQuery class and is how Model.save() is implemented. It is not
part of the public API.
"""
query = sql.InsertQuery(model)
query.insert_values(values, raw_values)
return query.get_compiler(using=using).execute_sql(return_id)...
Variable | Value |
---|---|
raw_values | False |
return_id | True |
values | [(<django.db.models.fields.CharField object at 0x7f0ff8af8950>, u'europeaneelreads.fasta.zip'), (<django.db.models.fields.IPAddressField object at 0x7f0ff8af89d0>, '34.207.137.245'), (<django.db.models.fields.TextField object at 0x7f0ff8af8a10>, 'claudebot'), (<django.db.models.fields.DecimalField object at 0x7f0ff8af8a50>, None), (<django.db.models.fields.DecimalField object at 0x7f0ff8af8a90>, None), (<django.db.models.fields.BooleanField object at 0x7f0ff8af8ad0>, False), (<django.db.models.fields.CharField object at 0x7f0ff8af8b10>, None), (<django.db.models.fields.CharField object at 0x7f0ff8af8b90>, None), (<django.db.models.fields.DateTimeField object at 0x7f0ff8af8c10>, u'2024-03-29 08:38:58')] |
using | 'default' |
query | <django.db.models.sql.subqueries.InsertQuery object at 0x7f0ff3b38950> |
model | <class 'bioinfo.compgen.models.Download'> |
/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py
in execute_sql
r_fmt, r_params = self.connection.ops.return_insert_id()
result.append(r_fmt % col)
params = params + r_params
return ' '.join(result), params
def execute_sql(self, return_id=False):
self.return_id = return_id
cursor = super(SQLInsertCompiler, self).execute_sql(None)...
if not (return_id and cursor):
return
if self.connection.features.can_return_id_from_insert:
return self.connection.ops.fetch_returned_insert_id(cursor)
return self.connection.ops.last_insert_id(cursor,
self.query.model._meta.db_table, self.query.model._meta.pk.column)
Variable | Value |
---|---|
self | <django.db.backends.mysql.compiler.SQLInsertCompiler object at 0x7f0ff3b38a10> |
return_id | True |
/usr/local/lib/python2.7/dist-packages/django/db/models/sql/compiler.py
in execute_sql
raise EmptyResultSet
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:
Variable | Value |
---|---|
self | <django.db.backends.mysql.compiler.SQLInsertCompiler object at 0x7f0ff3b38a10> |
params | (u'europeaneelreads.fasta.zip', '34.207.137.245', 'claudebot', None, None, False, None, None, u'2024-03-29 08:38:58') |
result_type | None |
sql | 'INSERT INTO `compgen_download` (`filename`, `ip`, `useragent`, `lat`, `lon`, `checked`, `country`, `town`, `timestamp`) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s)' |
/usr/local/lib/python2.7/dist-packages/django/db/backends/__init__.py
in cursor
if self.connection is not None:
self.connection.close()
self.connection = None
def cursor(self):
if (self.use_debug_cursor or
(self.use_debug_cursor is None and settings.DEBUG)):
cursor = self.make_debug_cursor(self._cursor())...
else:
cursor = util.CursorWrapper(self._cursor(), self)
return cursor
def make_debug_cursor(self, cursor):
return util.CursorDebugWrapper(cursor, self)
Variable | Value |
---|---|
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f0ff8880a10> |
/usr/local/lib/python2.7/dist-packages/django/db/backends/mysql/base.py
in _cursor
kwargs['host'] = settings_dict['HOST']
if settings_dict['PORT']:
kwargs['port'] = int(settings_dict['PORT'])
# We need the number of potentially affected rows after an
# "UPDATE", not the number of changed rows.
kwargs['client_flag'] = CLIENT.FOUND_ROWS
kwargs.update(settings_dict['OPTIONS'])
self.connection = Database.connect(**kwargs)...
self.connection.encoders[SafeUnicode] = self.connection.encoders[unicode]
self.connection.encoders[SafeString] = self.connection.encoders[str]
connection_created.send(sender=self.__class__, connection=self)
cursor = CursorWrapper(self.connection.cursor())
return cursor
Variable | Value |
---|---|
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7f0ff8880a10> |
settings_dict | {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'compgen', 'OPTIONS': {}, 'PASSWORD': 'tosattomona.1t', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Chicago', 'USER': 'root'} |
kwargs | {'charset': 'utf8', 'client_flag': 2, 'conv': {0: <function typecast_decimal at 0x7f0ff8849050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f0ff8883410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f0ff88832a8>, 11: <function typecast_time at 0x7f0ff8838e60>, 12: <function DateTime_or_None at 0x7f0ff8883140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f0ff8849050>, 248: <function Str2Set at 0x7f0ff8883848>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0ff8883398>, <type 'datetime.datetime'>: <function DateTime2literal at 0x7f0ff8883320>, <type 'bool'>: <function Bool2Str at 0x7f0ff8883cf8>, <type 'set'>: <function Set2Str at 0x7f0ff88838c0>, <type 'object'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'NoneType'>: <function None2NULL at 0x7f0ff8883aa0>, <type 'instance'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f0ff88839b0>, <type 'str'>: <function Thing2Literal at 0x7f0ff8883b18>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f0ff8883a28>, <type 'long'>: <function Thing2Str at 0x7f0ff8883938>, <type 'int'>: <function Thing2Str at 0x7f0ff8883938>, <type 'array.array'>: <function array2Str at 0x7f0ff8883c80>}, 'db': 'compgen', 'passwd': 'tosattomona.1t', 'use_unicode': True, 'user': 'root'} |
/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py
in Connect
def Binary(x):
return str(x)
def Connect(*args, **kwargs):
"""Factory function for connections.Connection."""
from connections import Connection
return Connection(*args, **kwargs)...
connect = Connection = Connect
__all__ = [ 'BINARY', 'Binary', 'Connect', 'Connection', 'DATE',
'Date', 'Time', 'Timestamp', 'DateFromTicks', 'TimeFromTicks',
'TimestampFromTicks', 'DataError', 'DatabaseError', 'Error',
Variable | Value |
---|---|
Connection | <class 'MySQLdb.connections.Connection'> |
args | () |
kwargs | {'charset': 'utf8', 'client_flag': 2, 'conv': {0: <function typecast_decimal at 0x7f0ff8849050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f0ff8883410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f0ff88832a8>, 11: <function typecast_time at 0x7f0ff8838e60>, 12: <function DateTime_or_None at 0x7f0ff8883140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f0ff8849050>, 248: <function Str2Set at 0x7f0ff8883848>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0ff8883398>, <type 'datetime.datetime'>: <function DateTime2literal at 0x7f0ff8883320>, <type 'bool'>: <function Bool2Str at 0x7f0ff8883cf8>, <type 'set'>: <function Set2Str at 0x7f0ff88838c0>, <type 'object'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'NoneType'>: <function None2NULL at 0x7f0ff8883aa0>, <type 'instance'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f0ff88839b0>, <type 'str'>: <function Thing2Literal at 0x7f0ff8883b18>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f0ff8883a28>, <type 'long'>: <function Thing2Str at 0x7f0ff8883938>, <type 'int'>: <function Thing2Str at 0x7f0ff8883938>, <type 'array.array'>: <function array2Str at 0x7f0ff8883c80>}, 'db': 'compgen', 'passwd': 'tosattomona.1t', 'use_unicode': True, 'user': 'root'} |
/usr/lib/python2.7/dist-packages/MySQLdb/connections.py
in __init__
if client_version >= (4, 1):
client_flag |= CLIENT.MULTI_STATEMENTS
if client_version >= (5, 0):
client_flag |= CLIENT.MULTI_RESULTS
kwargs2['client_flag'] = client_flag
super(Connection, self).__init__(*args, **kwargs2)...
self.encoders = dict([ (k, v) for k, v in conv.items()
if type(k) is not int ])
self._server_version = tuple([ numeric_part(n) for n in self.get_server_info().split('.')[:2] ])
Variable | Value |
---|---|
conversions | {0: <class 'decimal.Decimal'>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f0ff8883410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f0ff88832a8>, 11: <function TimeDelta_or_None at 0x7f0ff88831b8>, 12: <function DateTime_or_None at 0x7f0ff8883140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <class 'decimal.Decimal'>, 248: <function Str2Set at 0x7f0ff8883848>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0ff8883398>, <type 'datetime.datetime'>: <function DateTime2literal at 0x7f0ff8883320>, <type 'bool'>: <function Bool2Str at 0x7f0ff8883cf8>, <type 'set'>: <function Set2Str at 0x7f0ff88838c0>, <type 'object'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'NoneType'>: <function None2NULL at 0x7f0ff8883aa0>, <type 'instance'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f0ff88839b0>, <type 'str'>: <function Thing2Literal at 0x7f0ff8883b18>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f0ff8883a28>, <type 'long'>: <function Thing2Str at 0x7f0ff8883938>, <type 'int'>: <function Thing2Str at 0x7f0ff8883938>, <type 'array.array'>: <function array2Str at 0x7f0ff8883c80>} |
kwargs2 | {'client_flag': 196610, 'conv': {0: <function typecast_decimal at 0x7f0ff8849050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f0ff8883410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f0ff88832a8>, 11: <function typecast_time at 0x7f0ff8838e60>, 12: <function DateTime_or_None at 0x7f0ff8883140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f0ff8849050>, 248: <function Str2Set at 0x7f0ff8883848>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0ff8883398>, <type 'datetime.datetime'>: <function DateTime2literal at 0x7f0ff8883320>, <type 'bool'>: <function Bool2Str at 0x7f0ff8883cf8>, <type 'set'>: <function Set2Str at 0x7f0ff88838c0>, <type 'object'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'NoneType'>: <function None2NULL at 0x7f0ff8883aa0>, <type 'instance'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f0ff88839b0>, <type 'str'>: <function Thing2Literal at 0x7f0ff8883b18>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f0ff8883a28>, <type 'long'>: <function Thing2Str at 0x7f0ff8883938>, <type 'int'>: <function Thing2Str at 0x7f0ff8883938>, <type 'array.array'>: <function array2Str at 0x7f0ff8883c80>}, 'db': 'compgen', 'passwd': 'tosattomona.1t', 'user': 'root'} |
args | () |
conv | {0: <function typecast_decimal at 0x7f0ff8849050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f0ff8883410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f0ff88832a8>, 11: <function typecast_time at 0x7f0ff8838e60>, 12: <function DateTime_or_None at 0x7f0ff8883140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f0ff8849050>, 248: <function Str2Set at 0x7f0ff8883848>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0ff8883398>, <type 'datetime.datetime'>: <function DateTime2literal at 0x7f0ff8883320>, <type 'bool'>: <function Bool2Str at 0x7f0ff8883cf8>, <type 'set'>: <function Set2Str at 0x7f0ff88838c0>, <type 'object'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'NoneType'>: <function None2NULL at 0x7f0ff8883aa0>, <type 'instance'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f0ff88839b0>, <type 'str'>: <function Thing2Literal at 0x7f0ff8883b18>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f0ff8883a28>, <type 'long'>: <function Thing2Str at 0x7f0ff8883938>, <type 'int'>: <function Thing2Str at 0x7f0ff8883938>, <type 'array.array'>: <function array2Str at 0x7f0ff8883c80>} |
use_unicode | True |
FIELD_TYPE | <module 'MySQLdb.constants.FIELD_TYPE' from '/usr/lib/python2.7/dist-packages/MySQLdb/constants/FIELD_TYPE.pyc'> |
kwargs | {'charset': 'utf8', 'client_flag': 2, 'conv': {0: <function typecast_decimal at 0x7f0ff8849050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f0ff8883410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f0ff88832a8>, 11: <function typecast_time at 0x7f0ff8838e60>, 12: <function DateTime_or_None at 0x7f0ff8883140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f0ff8849050>, 248: <function Str2Set at 0x7f0ff8883848>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0ff8883398>, <type 'datetime.datetime'>: <function DateTime2literal at 0x7f0ff8883320>, <type 'bool'>: <function Bool2Str at 0x7f0ff8883cf8>, <type 'set'>: <function Set2Str at 0x7f0ff88838c0>, <type 'object'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'NoneType'>: <function None2NULL at 0x7f0ff8883aa0>, <type 'instance'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f0ff88839b0>, <type 'str'>: <function Thing2Literal at 0x7f0ff8883b18>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f0ff8883a28>, <type 'long'>: <function Thing2Str at 0x7f0ff8883938>, <type 'int'>: <function Thing2Str at 0x7f0ff8883938>, <type 'array.array'>: <function array2Str at 0x7f0ff8883c80>}, 'db': 'compgen', 'passwd': 'tosattomona.1t', 'use_unicode': True, 'user': 'root'} |
sql_mode | '' |
charset | 'utf8' |
self | <_mysql.connection closed at 7f0ff39e6880> |
n | '5' |
WeakValueDictionary | <class weakref.WeakValueDictionary at 0x7f0ff820d668> |
conv2 | {0: <function typecast_decimal at 0x7f0ff8849050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7f0ff8883410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7f0ff88832a8>, 11: <function typecast_time at 0x7f0ff8838e60>, 12: <function DateTime_or_None at 0x7f0ff8883140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7f0ff8849050>, 248: <function Str2Set at 0x7f0ff8883848>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7f0ff8883398>, <type 'datetime.datetime'>: <function DateTime2literal at 0x7f0ff8883320>, <type 'bool'>: <function Bool2Str at 0x7f0ff8883cf8>, <type 'set'>: <function Set2Str at 0x7f0ff88838c0>, <type 'object'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'NoneType'>: <function None2NULL at 0x7f0ff8883aa0>, <type 'instance'>: <function Instance2Str at 0x7f0ff8883b90>, <type 'dict'>: <built-in function escape_dict>, <type 'list'>: <built-in function escape_sequence>, <type 'unicode'>: <function Unicode2Str at 0x7f0ff88839b0>, <type 'str'>: <function Thing2Literal at 0x7f0ff8883b18>, <type 'tuple'>: <built-in function escape_sequence>, <type 'float'>: <function Float2Str at 0x7f0ff8883a28>, <type 'long'>: <function Thing2Str at 0x7f0ff8883938>, <type 'int'>: <function Thing2Str at 0x7f0ff8883938>, <type 'array.array'>: <function array2Str at 0x7f0ff8883c80>} |
CLIENT | <module 'MySQLdb.constants.CLIENT' from '/usr/lib/python2.7/dist-packages/MySQLdb/constants/CLIENT.pyc'> |
proxy | <built-in function proxy> |
v | [(128, <type 'str'>)] |
k | 254 |
client_version | (5, 5) |
client_flag | 196610 |
types | <module 'types' from '/usr/lib/python2.7/types.pyc'> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '80' |
HTTP_REFERER | 'http://compgen.bio.unipd.it/bioinfo/download/europeaneelreads.fasta.zip' |
SERVER_SOFTWARE | 'Apache/2.2.22 (Ubuntu)' |
SCRIPT_NAME | u'/bioinfo' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '<address>Apache/2.2.22 (Ubuntu) Server at compgen.bio.unipd.it Port 80</address>\n' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/download/europeaneelreads.fasta.zip/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
proxy-nokeepalive | '1' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'compgen.bio.unipd.it' |
REMOTE_ADDR | '34.207.137.245' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/var/www/html/compgen.bio.unipd.it/download/europeaneelreads.fasta.zip/' |
SERVER_PORT | '80' |
wsgi.multiprocess | True |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '172.21.32.1' |
DOCUMENT_ROOT | '/var/www/html/compgen.bio.unipd.it' |
mod_wsgi.process_group | 'moin' |
SCRIPT_FILENAME | '/usr/local/bioinfo/django.wsgi' |
SERVER_ADMIN | '[no address given]' |
SCRIPT_URI | 'http://compgen.bio.unipd.it/bioinfo/download/europeaneelreads.fasta.zip/' |
wsgi.input | <mod_wsgi.Input object at 0x7f0fe8c4b1f0> |
HTTP_HOST | 'compgen.bio.unipd.it' |
SCRIPT_URL | '/bioinfo/download/europeaneelreads.fasta.zip/' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/bioinfo/download/europeaneelreads.fasta.zip/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 1) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7f0fe8b27db0> |
REMOTE_PORT | '55388' |
mod_wsgi.listener_host | '' |
mod_wsgi.version | (3, 3) |
mod_wsgi.application_group | 'compgen.bio.unipd.it|/bioinfo' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
force-proxy-request-1.0 | '1' |
bioinfo.settings
Setting | Value |
---|---|
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'bioinfo.urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '' |
TEST_DATABASE_CHARSET | None |
MESSAGE_STORAGE | 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage' |
DATABASE_HOST | '' |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
SEND_BROKEN_LINK_EMAILS | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.3 (http://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
COMMENTS_MODERATORS_GROUP | None |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'compgen', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Chicago', 'USER': 'root'}} |
TEST_DATABASE_NAME | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.contrib.messages.context_processors.messages') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | '********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
FILE_UPLOAD_TEMP_DIR | None |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source') |
TEMPLATE_DEBUG | True |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
TEST_DATABASE_COLLATION | None |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
DEPLOY | True |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'bioinfo.staticUrl', 'bioinfo.compgen', 'south'] |
LANGUAGES | (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
DATABASE_ENGINE | 'mysql' |
DATABASE_NAME | 'compgen' |
COMMENTS_FIRST_FEW | 0 |
PREPEND_WWW | False |
SESSION_COOKIE_HTTPONLY | False |
DATABASE_PORT | '' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
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') |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/media/' |
NUMBER_GROUPING | 0 |
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/' |
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} |
CACHE_MIDDLEWARE_KEY_PREFIX | '' |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
COMMENTS_ALLOW_PROFANITIES | False |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | ('/usr/local/bioinfo/templates',) |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
STATICFILES_DIRS | () |
MEDIA_URL | '' |
DATETIME_FORMAT | 'N j, Y, P' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
DECIMAL_SEPARATOR | '.' |
SHORT_DATE_FORMAT | 'm/d/Y' |
DATABASE_USER | 'root' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
TIME_ZONE | 'America/Chicago' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
DEFAULT_TABLESPACE | '' |
STATIC_PATH | '/usr/local/web/static' |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'bioinfo.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | () |
STATIC_URL | None |
EMAIL_PORT | 25 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
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') |
DATABASE_PASSWORD | '********************' |
ADMIN_FOR | () |
COMMENTS_BANNED_USERS_GROUP | None |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | '********************' |
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.