(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)")
Request Method: | GET |
---|---|
Request URL: | http://cloudcreativegroup.com/portfolio/davis-salvage/ |
Django Version: | 1.7.2 |
Exception Type: | OperationalError |
Exception Value: | (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
Exception Location: | /usr/lib64/python2.7/site-packages/MySQLdb/connections.py in __init__, line 187 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.5 |
Python Path: | ['/c2g/django/c2g', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7/site-packages', '/usr/lib/python2.7/site-packages'] |
Server time: | Thu, 28 Mar 2024 13:21:14 +0000 |
/usr/lib64/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:
# 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 |
---|---|
e | OperationalError(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
callback_args | () |
resolver_match | ResolverMatch(func=<function client at 0x7fbaa931ded8>, args=(), kwargs={'clientslug': u'davis-salvage'}, url_name='client.views.client', app_name='None', namespace='') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fbaa929eb10>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fbaa8986190> |
request | "<WSGIRequest\npath:/portfolio/davis-salvage/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/c2g/sites/cloudcreativegroup.com/htdocs',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'rimrhguO78pSAqcVudAQgriItDYrP1zC',\n 'DOCUMENT_ROOT': '/c2g/sites/cloudcreativegroup.com/htdocs',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'cloudcreativegroup.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/portfolio/davis-salvage/',\n 'PATH_TRANSLATED': '/c2g/django/c2g/c2g/wsgi.py/portfolio/davis-salvage/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.167.52.238',\n 'REMOTE_PORT': '52338',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/portfolio/davis-salvage/',\n 'SCRIPT_FILENAME': '/c2g/django/c2g/c2g/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '104.237.157.222',\n 'SERVER_ADMIN': 'joey@cloudcreativegroup.com',\n 'SERVER_NAME': 'cloudcreativegroup.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5',\n 'UNIQUE_ID': 'ZgVuymShp2wP57gg@6rQ4AAAABM',\n 'mod_wsgi.application_group': 'cloudcreativegroup.com|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'cloudcreativegroup.com',\n 'mod_wsgi.queue_start': '1711632074293755',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7fbaa93e8770>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fbaa93298a0>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7fbaa93e8f30>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function client at 0x7fbaa931ded8> |
wrapped_callback | <function client at 0x7fbaa931ded8> |
resolver | <RegexURLResolver 'c2g.urls' (None:None) ^/> |
callback_kwargs | {'clientslug': u'davis-salvage'} |
response | None |
urlconf | 'c2g.urls' |
/c2g/django/c2g/client/views.py
in client
def portfolio(request):
context = {'pageTitle': 'Portfolio'}
clients = Client.objects.filter(siteDisplay=True).order_by('order')
context.update({'clients': clients})
return render_to_response('portfolio.html', context, context_instance=RequestContext(request))
def client(request, clientslug):
selectedclient = get_object_or_404(Client, slug__exact=clientslug)...
context = {'pageTitle': selectedclient.name, 'client': selectedclient}
return render_to_response('client.html', context, context_instance=RequestContext(request))
def home(request):
quicklinks = Client.objects.filter(quicklinkDisp=True).order_by('order')
context = {'quicklinks': quicklinks}
Variable | Value |
---|---|
clientslug | u'davis-salvage' |
request | "<WSGIRequest\npath:/portfolio/davis-salvage/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/c2g/sites/cloudcreativegroup.com/htdocs',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'rimrhguO78pSAqcVudAQgriItDYrP1zC',\n 'DOCUMENT_ROOT': '/c2g/sites/cloudcreativegroup.com/htdocs',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'cloudcreativegroup.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/portfolio/davis-salvage/',\n 'PATH_TRANSLATED': '/c2g/django/c2g/c2g/wsgi.py/portfolio/davis-salvage/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.167.52.238',\n 'REMOTE_PORT': '52338',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/portfolio/davis-salvage/',\n 'SCRIPT_FILENAME': '/c2g/django/c2g/c2g/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '104.237.157.222',\n 'SERVER_ADMIN': 'joey@cloudcreativegroup.com',\n 'SERVER_NAME': 'cloudcreativegroup.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5',\n 'UNIQUE_ID': 'ZgVuymShp2wP57gg@6rQ4AAAABM',\n 'mod_wsgi.application_group': 'cloudcreativegroup.com|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.enable_sendfile': '0',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '80',\n 'mod_wsgi.process_group': 'cloudcreativegroup.com',\n 'mod_wsgi.queue_start': '1711632074293755',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 4),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7fbaa93e8770>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fbaa93298a0>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7fbaa93e8f30>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
/usr/lib64/python2.7/site-packages/django/shortcuts.py
in get_object_or_404
arguments and keyword arguments are used in the get() query.
Note: Like with get(), an MultipleObjectsReturned will be raised if more than one
object is found.
"""
queryset = _get_queryset(klass)
try:
return queryset.get(*args, **kwargs)...
except queryset.model.DoesNotExist:
raise Http404('No %s matches the given query.' % queryset.model._meta.object_name)
def get_list_or_404(klass, *args, **kwargs):
"""
Variable | Value |
---|---|
args | () |
queryset | Error in formatting: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
klass | <class 'client.models.Client'> |
kwargs | {'slug__exact': u'davis-salvage'} |
/usr/lib64/python2.7/site-packages/django/db/models/query.py
in get
"""
clone = self.filter(*args, **kwargs)
if self.query.can_filter():
clone = clone.order_by()
if (not clone.query.select_for_update or
connections[self.db].features.supports_select_for_update_with_limit):
clone = clone[:MAX_GET_RESULTS + 1]
num = len(clone)...
if num == 1:
return clone._result_cache[0]
if not num:
raise self.model.DoesNotExist(
"%s matching query does not exist." %
self.model._meta.object_name)
Variable | Value |
---|---|
clone | Error in formatting: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
args | () |
self | Error in formatting: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
kwargs | {'slug__exact': u'davis-salvage'} |
/usr/lib64/python2.7/site-packages/django/db/models/query.py
in __len__
def __repr__(self):
data = list(self[:REPR_OUTPUT_SIZE + 1])
if len(data) > REPR_OUTPUT_SIZE:
data[-1] = "...(remaining elements truncated)..."
return repr(data)
def __len__(self):
self._fetch_all()...
return len(self._result_cache)
def __iter__(self):
"""
The queryset iterator protocol uses three nested iterators in the
default case:
Variable | Value |
---|---|
self | Error in formatting: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
/usr/lib64/python2.7/site-packages/django/db/models/query.py
in _fetch_all
c.__dict__.update(kwargs)
if setup and hasattr(c, '_setup_query'):
c._setup_query()
return c
def _fetch_all(self):
if self._result_cache is None:
self._result_cache = list(self.iterator())...
if self._prefetch_related_lookups and not self._prefetch_done:
self._prefetch_related_objects()
def _next_is_sticky(self):
"""
Indicates that the next filter call and the one following that should
Variable | Value |
---|---|
self | Error in formatting: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
/usr/lib64/python2.7/site-packages/django/db/models/query.py
in iterator
# Cache db and model outside the loop
db = self.db
model = self.model
compiler = self.query.get_compiler(using=db)
if fill_cache:
klass_info = get_klass_info(model, max_depth=max_depth,
requested=requested, only_load=only_load)
for row in compiler.results_iter():...
if fill_cache:
obj, _ = get_cached_row(row, index_start, db, klass_info,
offset=len(aggregate_select))
else:
# Omit aggregates in object creation.
row_data = row[index_start:aggregate_start]
Variable | Value |
---|---|
requested | None |
fill_cache | False |
aggregate_select | [] |
skip | None |
self | Error in formatting: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
load_fields | [] |
db | 'default' |
index_start | 0 |
extra_select | [] |
fields | [<django.db.models.fields.AutoField: id>, <django.db.models.fields.CharField: name>, <django.db.models.fields.SlugField: slug>, <django.db.models.fields.CharField: type>, <django.db.models.fields.IntegerField: order>, <django.db.models.fields.URLField: site>, <django.db.models.fields.TextField: desc>, <django.db.models.fields.TextField: info>, <django.db.models.fields.files.ImageField: sliderImage>, <django.db.models.fields.files.ImageField: thumbImage>, <django.db.models.fields.files.ImageField: quicklinkImage>, <django.db.models.fields.BooleanField: siteDisplay>, <django.db.models.fields.BooleanField: sliderDisplay>, <django.db.models.fields.BooleanField: quicklinkDisp>, <django.db.models.fields.BooleanField: facebookDisplay>] |
aggregate_start | 15 |
model | <class 'client.models.Client'> |
only_load | {} |
max_depth | 5 |
compiler | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7fbaa93e8fd0> |
/usr/lib64/python2.7/site-packages/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 has_aggregate_select:
loaded_fields = self.query.get_loaded_field_names().get(self.query.model, set()) or self.query.select
aggregate_start = len(self.query.extra_select) + len(loaded_fields)
aggregate_end = aggregate_start + len(self.query.aggregate_select)
if resolve_columns:
Variable | Value |
---|---|
fields | None |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7fbaa93e8fd0> |
has_aggregate_select | False |
resolve_columns | True |
/usr/lib64/python2.7/site-packages/django/db/models/sql/compiler.py
in execute_sql
raise EmptyResultSet
except EmptyResultSet:
if result_type == MULTI:
return iter([])
else:
return
cursor = self.connection.cursor()...
try:
cursor.execute(sql, params)
except Exception:
cursor.close()
raise
Variable | Value |
---|---|
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7fbaa93e8fd0> |
params | (u'davis-salvage',) |
result_type | 'multi' |
sql | u'SELECT `client_client`.`id`, `client_client`.`name`, `client_client`.`slug`, `client_client`.`type`, `client_client`.`order`, `client_client`.`site`, `client_client`.`desc`, `client_client`.`info`, `client_client`.`sliderImage`, `client_client`.`thumbImage`, `client_client`.`quicklinkImage`, `client_client`.`siteDisplay`, `client_client`.`sliderDisplay`, `client_client`.`quicklinkDisp`, `client_client`.`facebookDisplay` FROM `client_client` WHERE `client_client`.`slug` = %s LIMIT 21' |
/usr/lib64/python2.7/site-packages/django/db/backends/__init__.py
in cursor
def cursor(self):
"""
Creates a cursor, opening a connection if necessary.
"""
self.validate_thread_sharing()
if self.queries_logged:
cursor = self.make_debug_cursor(self._cursor())...
else:
cursor = utils.CursorWrapper(self._cursor(), self)
return cursor
def commit(self):
"""
Variable | Value |
---|---|
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7fbaa93dad50> |
/usr/lib64/python2.7/site-packages/django/db/backends/__init__.py
in _cursor
if self.connection is None:
with self.wrap_database_errors:
self.connect()
##### Backend-specific wrappers for PEP-249 connection methods #####
def _cursor(self):
self.ensure_connection()...
with self.wrap_database_errors:
return self.create_cursor()
def _commit(self):
if self.connection is not None:
with self.wrap_database_errors:
Variable | Value |
---|---|
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7fbaa93dad50> |
/usr/lib64/python2.7/site-packages/django/db/backends/__init__.py
in ensure_connection
def ensure_connection(self):
"""
Guarantees that a connection to the database is established.
"""
if self.connection is None:
with self.wrap_database_errors:
self.connect()...
##### Backend-specific wrappers for PEP-249 connection methods #####
def _cursor(self):
self.ensure_connection()
with self.wrap_database_errors:
Variable | Value |
---|---|
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7fbaa93dad50> |
/usr/lib64/python2.7/site-packages/django/db/utils.py
in __exit__
if issubclass(exc_type, db_exc_type):
dj_exc_value = dj_exc_type(*exc_value.args)
dj_exc_value.__cause__ = exc_value
# Only set the 'errors_occurred' flag for errors that may make
# the connection unusable.
if dj_exc_type not in (DataError, IntegrityError):
self.wrapper.errors_occurred = True
six.reraise(dj_exc_type, dj_exc_value, traceback)...
def __call__(self, func):
# Note that we are intentionally not using @wraps here for performance
# reasons. Refs #21109.
def inner(*args, **kwargs):
with self:
Variable | Value |
---|---|
self | <django.db.utils.DatabaseErrorWrapper object at 0x7fbaa94ae110> |
traceback | <traceback object at 0x7fbaa93dfe60> |
exc_type | <class '_mysql_exceptions.OperationalError'> |
dj_exc_type | <class 'django.db.utils.OperationalError'> |
dj_exc_value | OperationalError(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
exc_value | OperationalError(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
db_exc_type | <class '_mysql_exceptions.OperationalError'> |
/usr/lib64/python2.7/site-packages/django/db/backends/__init__.py
in ensure_connection
def ensure_connection(self):
"""
Guarantees that a connection to the database is established.
"""
if self.connection is None:
with self.wrap_database_errors:
self.connect()...
##### Backend-specific wrappers for PEP-249 connection methods #####
def _cursor(self):
self.ensure_connection()
with self.wrap_database_errors:
Variable | Value |
---|---|
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7fbaa93dad50> |
/usr/lib64/python2.7/site-packages/django/db/backends/__init__.py
in connect
# Reset parameters defining when to close the connection
max_age = self.settings_dict['CONN_MAX_AGE']
self.close_at = None if max_age is None else time.time() + max_age
self.closed_in_transaction = False
self.errors_occurred = False
# Establish the connection
conn_params = self.get_connection_params()
self.connection = self.get_new_connection(conn_params)...
self.set_autocommit(self.settings_dict['AUTOCOMMIT'])
self.init_connection_state()
connection_created.send(sender=self.__class__, connection=self)
def ensure_connection(self):
"""
Variable | Value |
---|---|
conn_params | {u'charset': u'utf8', u'client_flag': 2, u'conv': {0: <function typecast_decimal at 0x7fbaa8985050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7fbaa90de8c0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7fbaa90de758>, 11: <function typecast_time at 0x7fbaa8981ed8>, 12: <function parse_datetime_with_timezone_support at 0x7fbaa9132050>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fbaa8985050>, 248: <function Str2Set at 0x7fbaa90decf8>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7fbaa90e41b8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7fbaa90de848>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7fbaa9133050>, <type 'bool'>: <function Bool2Str at 0x7fbaa90dec80>, <type 'instance'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'float'>: <function Float2Str at 0x7fbaa90deed8>, <type 'int'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7fbaa90def50>, <type 'set'>: <function Set2Str at 0x7fbaa90ded70>, <type 'str'>: <function Thing2Literal at 0x7fbaa90e4050>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'unicode'>: <function Unicode2Str at 0x7fbaa90dee60>}, u'db': 'c2gdb', u'passwd': 'UccuDrLAhbTZBaY5', u'use_unicode': True, u'user': 'c2guser'} |
max_age | 0 |
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7fbaa93dad50> |
/usr/lib64/python2.7/site-packages/django/db/backends/mysql/base.py
in get_new_connection
# 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'])
return kwargs
def get_new_connection(self, conn_params):
conn = Database.connect(**conn_params)...
conn.encoders[SafeText] = conn.encoders[six.text_type]
conn.encoders[SafeBytes] = conn.encoders[bytes]
return conn
def init_connection_state(self):
with self.cursor() as cursor:
Variable | Value |
---|---|
conn_params | {u'charset': u'utf8', u'client_flag': 2, u'conv': {0: <function typecast_decimal at 0x7fbaa8985050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7fbaa90de8c0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7fbaa90de758>, 11: <function typecast_time at 0x7fbaa8981ed8>, 12: <function parse_datetime_with_timezone_support at 0x7fbaa9132050>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fbaa8985050>, 248: <function Str2Set at 0x7fbaa90decf8>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7fbaa90e41b8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7fbaa90de848>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7fbaa9133050>, <type 'bool'>: <function Bool2Str at 0x7fbaa90dec80>, <type 'instance'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'float'>: <function Float2Str at 0x7fbaa90deed8>, <type 'int'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7fbaa90def50>, <type 'set'>: <function Set2Str at 0x7fbaa90ded70>, <type 'str'>: <function Thing2Literal at 0x7fbaa90e4050>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'unicode'>: <function Unicode2Str at 0x7fbaa90dee60>}, u'db': 'c2gdb', u'passwd': 'UccuDrLAhbTZBaY5', u'use_unicode': True, u'user': 'c2guser'} |
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7fbaa93dad50> |
/usr/lib64/python2.7/site-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 | {u'charset': u'utf8', u'client_flag': 2, u'conv': {0: <function typecast_decimal at 0x7fbaa8985050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7fbaa90de8c0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7fbaa90de758>, 11: <function typecast_time at 0x7fbaa8981ed8>, 12: <function parse_datetime_with_timezone_support at 0x7fbaa9132050>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fbaa8985050>, 248: <function Str2Set at 0x7fbaa90decf8>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7fbaa90e41b8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7fbaa90de848>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7fbaa9133050>, <type 'bool'>: <function Bool2Str at 0x7fbaa90dec80>, <type 'instance'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'float'>: <function Float2Str at 0x7fbaa90deed8>, <type 'int'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7fbaa90def50>, <type 'set'>: <function Set2Str at 0x7fbaa90ded70>, <type 'str'>: <function Thing2Literal at 0x7fbaa90e4050>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'unicode'>: <function Unicode2Str at 0x7fbaa90dee60>}, u'db': 'c2gdb', u'passwd': 'UccuDrLAhbTZBaY5', u'use_unicode': True, u'user': 'c2guser'} |
/usr/lib64/python2.7/site-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 0x7fbaa90de8c0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7fbaa90de758>, 11: <function TimeDelta_or_None at 0x7fbaa90de668>, 12: <function DateTime_or_None at 0x7fbaa90de5f0>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <class 'decimal.Decimal'>, 248: <function Str2Set at 0x7fbaa90decf8>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7fbaa90e41b8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7fbaa90de848>, <type 'datetime.datetime'>: <function DateTime2literal at 0x7fbaa90de7d0>, <type 'bool'>: <function Bool2Str at 0x7fbaa90dec80>, <type 'instance'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'float'>: <function Float2Str at 0x7fbaa90deed8>, <type 'int'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7fbaa90def50>, <type 'set'>: <function Set2Str at 0x7fbaa90ded70>, <type 'str'>: <function Thing2Literal at 0x7fbaa90e4050>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'unicode'>: <function Unicode2Str at 0x7fbaa90dee60>} |
FIELD_TYPE | <module 'MySQLdb.constants.FIELD_TYPE' from '/usr/lib64/python2.7/site-packages/MySQLdb/constants/FIELD_TYPE.pyc'> |
charset | u'utf8' |
conv | {0: <function typecast_decimal at 0x7fbaa8985050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7fbaa90de8c0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7fbaa90de758>, 11: <function typecast_time at 0x7fbaa8981ed8>, 12: <function parse_datetime_with_timezone_support at 0x7fbaa9132050>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fbaa8985050>, 248: <function Str2Set at 0x7fbaa90decf8>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7fbaa90e41b8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7fbaa90de848>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7fbaa9133050>, <type 'bool'>: <function Bool2Str at 0x7fbaa90dec80>, <type 'instance'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'float'>: <function Float2Str at 0x7fbaa90deed8>, <type 'int'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7fbaa90def50>, <type 'set'>: <function Set2Str at 0x7fbaa90ded70>, <type 'str'>: <function Thing2Literal at 0x7fbaa90e4050>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'unicode'>: <function Unicode2Str at 0x7fbaa90dee60>} |
use_unicode | True |
client_flag | 196610 |
sql_mode | '' |
args | () |
v | [(128, <type 'str'>)] |
n | '5' |
WeakValueDictionary | <class weakref.WeakValueDictionary at 0x7fbaa81f62c0> |
conv2 | {0: <function typecast_decimal at 0x7fbaa8985050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7fbaa90de8c0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7fbaa90de758>, 11: <function typecast_time at 0x7fbaa8981ed8>, 12: <function parse_datetime_with_timezone_support at 0x7fbaa9132050>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fbaa8985050>, 248: <function Str2Set at 0x7fbaa90decf8>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7fbaa90e41b8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7fbaa90de848>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7fbaa9133050>, <type 'bool'>: <function Bool2Str at 0x7fbaa90dec80>, <type 'instance'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'float'>: <function Float2Str at 0x7fbaa90deed8>, <type 'int'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7fbaa90def50>, <type 'set'>: <function Set2Str at 0x7fbaa90ded70>, <type 'str'>: <function Thing2Literal at 0x7fbaa90e4050>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'unicode'>: <function Unicode2Str at 0x7fbaa90dee60>} |
CLIENT | <module 'MySQLdb.constants.CLIENT' from '/usr/lib64/python2.7/site-packages/MySQLdb/constants/CLIENT.pyc'> |
proxy | <built-in function proxy> |
kwargs | {u'charset': u'utf8', u'client_flag': 2, u'conv': {0: <function typecast_decimal at 0x7fbaa8985050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7fbaa90de8c0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7fbaa90de758>, 11: <function typecast_time at 0x7fbaa8981ed8>, 12: <function parse_datetime_with_timezone_support at 0x7fbaa9132050>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fbaa8985050>, 248: <function Str2Set at 0x7fbaa90decf8>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7fbaa90e41b8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7fbaa90de848>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7fbaa9133050>, <type 'bool'>: <function Bool2Str at 0x7fbaa90dec80>, <type 'instance'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'float'>: <function Float2Str at 0x7fbaa90deed8>, <type 'int'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7fbaa90def50>, <type 'set'>: <function Set2Str at 0x7fbaa90ded70>, <type 'str'>: <function Thing2Literal at 0x7fbaa90e4050>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'unicode'>: <function Unicode2Str at 0x7fbaa90dee60>}, u'db': 'c2gdb', u'passwd': 'UccuDrLAhbTZBaY5', u'use_unicode': True, u'user': 'c2guser'} |
k | 254 |
client_version | (5, 5) |
kwargs2 | {u'client_flag': 196610, u'conv': {0: <function typecast_decimal at 0x7fbaa8985050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7fbaa90de8c0>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7fbaa90de758>, 11: <function typecast_time at 0x7fbaa8981ed8>, 12: <function parse_datetime_with_timezone_support at 0x7fbaa9132050>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fbaa8985050>, 248: <function Str2Set at 0x7fbaa90decf8>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7fbaa90e41b8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7fbaa90de848>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7fbaa9133050>, <type 'bool'>: <function Bool2Str at 0x7fbaa90dec80>, <type 'instance'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'float'>: <function Float2Str at 0x7fbaa90deed8>, <type 'int'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x7fbaa90dede8>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7fbaa90def50>, <type 'set'>: <function Set2Str at 0x7fbaa90ded70>, <type 'str'>: <function Thing2Literal at 0x7fbaa90e4050>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x7fbaa90e40c8>, <type 'unicode'>: <function Unicode2Str at 0x7fbaa90dee60>}, u'db': 'c2gdb', u'passwd': 'UccuDrLAhbTZBaY5', u'user': 'c2guser'} |
self | <_mysql.connection closed at 7fba9408eff0> |
types | <module 'types' from '/usr/lib64/python2.7/types.pyc'> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '80' |
CONTEXT_DOCUMENT_ROOT | '/c2g/sites/cloudcreativegroup.com/htdocs' |
SERVER_SOFTWARE | 'Apache/2.4.6 (CentOS) PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5' |
CONTEXT_PREFIX | '' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/portfolio/davis-salvage/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'cloudcreativegroup.com' |
REMOTE_ADDR | '54.167.52.238' |
mod_wsgi.queue_start | '1711632074293755' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/c2g/django/c2g/c2g/wsgi.py/portfolio/davis-salvage/' |
SERVER_PORT | '80' |
wsgi.multiprocess | False |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '104.237.157.222' |
DOCUMENT_ROOT | '/c2g/sites/cloudcreativegroup.com/htdocs' |
mod_wsgi.process_group | 'cloudcreativegroup.com' |
SCRIPT_FILENAME | '/c2g/django/c2g/c2g/wsgi.py' |
SERVER_ADMIN | 'joey@cloudcreativegroup.com' |
wsgi.input | <mod_wsgi.Input object at 0x7fbaa93e8f30> |
HTTP_HOST | 'cloudcreativegroup.com' |
SCRIPT_NAME | u'' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/portfolio/davis-salvage/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7fbaa93e8770> |
REMOTE_PORT | '52338' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'http' |
mod_wsgi.version | (3, 4) |
mod_wsgi.application_group | 'cloudcreativegroup.com|' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'rimrhguO78pSAqcVudAQgriItDYrP1zC' |
UNIQUE_ID | 'ZgVuymShp2wP57gg@6rQ4AAAABM' |
c2g.settings
Setting | Value |
---|---|
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'c2g.urls' |
MANAGERS | () |
BASE_DIR | '/c2g/django/c2g' |
TEST_NON_SERIALIZED_APPS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/c2g/sites/cloudcreativegroup.com/htdocs/static/' |
ALLOWED_HOSTS | [] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'c2gdb', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': 'c2guser'}} |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
LOCALE_PATHS | () |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
SILENCED_SYSTEM_CHECKS | [] |
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') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | 'c2g.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'client', 'contact') |
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')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
INTERNAL_IPS | () |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
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') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
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' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/c2g/sites/cloudcreativegroup.com/htdocs/media/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/c2g/django/c2g/templates/',) |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'UTC' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
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.core.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'c2g.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
CSRF_COOKIE_AGE | 31449600 |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
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') |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
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.