(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)")
Request Method: | GET |
---|---|
Request URL: | https://einsteinish.com/resource/topic/prednisone-purpose/ |
Django Version: | 1.8.7 |
Exception Type: | OperationalError |
Exception Value: | (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
Exception Location: | /var/www/django/einsteinish3/venv/lib/python2.7/site-packages/MySQLdb/connections.py in __init__, line 193 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.5 |
Python Path: | ['/var/www/django/einsteinish3', '/var/www/django/einsteinish3/venv/lib/python2.7/site-packages', '/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: | Fri, 29 Mar 2024 00:05:15 -0700 |
/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
# 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=resources.views.topic_home, args=(), kwargs={'slug': u'prednisone-purpose'}, url_name=resource_topic_home, app_name=None, namespaces=[]) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7facf72af590>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7facf7b59d50> |
request | "<WSGIRequest\npath:/resource/topic/prednisone-purpose/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'H0pYkzXwtidcKSx9q7Wnf3bt5rrBGYXK',\n 'DOCUMENT_ROOT': '/var/www/html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'einsteinish.com',\n 'HTTP_REFERER': 'http://einsteinish.com/resource/topic/prednisone-purpose/',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/resource/topic/prednisone-purpose/',\n 'PATH_TRANSLATED': '/var/www/django/einsteinish3/einsteinish/wsgi.py/resource/topic/prednisone-purpose/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '35.172.223.130',\n 'REMOTE_PORT': '41152',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/resource/topic/prednisone-purpose/',\n 'SCRIPT_FILENAME': '/var/www/django/einsteinish3/einsteinish/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '45.79.90.218',\n 'SERVER_ADMIN': 'webmaster@einsteinish.com',\n 'SERVER_NAME': 'einsteinish.com',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips Phusion_Passenger/6.0.6 PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5',\n 'SSL_TLS_SNI': 'einsteinish.com',\n 'UNIQUE_ID': 'ZgZoK@1YX5UCSFH@xpVMhwAAAAI',\n 'mod_wsgi.application_group': 'www.einsteinish.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': '443',\n 'mod_wsgi.process_group': 'einsteinish3',\n 'mod_wsgi.queue_start': '1711695915700063',\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 0x7facf6888e30>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7facf691ad50>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7facf6888130>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function topic_home at 0x7facf6ba2050> |
wrapped_callback | <function topic_home at 0x7facf6ba2050> |
resolver | <RegexURLResolver 'einsteinish.urls' (None:None) ^/> |
callback_kwargs | {'slug': u'prednisone-purpose'} |
response | None |
urlconf | 'einsteinish.urls' |
/var/www/django/einsteinish3/resources/views.py
in topic_home
messages.success(self.request, 'You have stopped following this topic.')
except TopicFollow.DoesNotExist:
TopicFollow.objects.create(user=self.request.user, topic=topic)
messages.success(self.request, 'You are now following this topic.')
return reverse_lazy('resource_topic_home', kwargs={'slug':slug})
def topic_home(request, slug):
current_topic = get_object_or_404(Topic, slug=slug)...
headline = """Learn """ + unicode(current_topic.name).capitalize() + """ - from experts and online resources"""
topics = Topic.objects.filter(resource__title__isnull=False).distinct().order_by('name')
ctx = {
'current_topic': current_topic,
'headline': headline,
Variable | Value |
---|---|
request | "<WSGIRequest\npath:/resource/topic/prednisone-purpose/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/var/www/html',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'H0pYkzXwtidcKSx9q7Wnf3bt5rrBGYXK',\n 'DOCUMENT_ROOT': '/var/www/html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'einsteinish.com',\n 'HTTP_REFERER': 'http://einsteinish.com/resource/topic/prednisone-purpose/',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/resource/topic/prednisone-purpose/',\n 'PATH_TRANSLATED': '/var/www/django/einsteinish3/einsteinish/wsgi.py/resource/topic/prednisone-purpose/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '35.172.223.130',\n 'REMOTE_PORT': '41152',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/resource/topic/prednisone-purpose/',\n 'SCRIPT_FILENAME': '/var/www/django/einsteinish3/einsteinish/wsgi.py',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '45.79.90.218',\n 'SERVER_ADMIN': 'webmaster@einsteinish.com',\n 'SERVER_NAME': 'einsteinish.com',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips Phusion_Passenger/6.0.6 PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5',\n 'SSL_TLS_SNI': 'einsteinish.com',\n 'UNIQUE_ID': 'ZgZoK@1YX5UCSFH@xpVMhwAAAAI',\n 'mod_wsgi.application_group': 'www.einsteinish.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': '443',\n 'mod_wsgi.process_group': 'einsteinish3',\n 'mod_wsgi.queue_start': '1711695915700063',\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 0x7facf6888e30>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7facf691ad50>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7facf6888130>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
slug | u'prednisone-purpose' |
/var/www/django/einsteinish3/venv/lib/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: OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
klass | <class 'resources.models.Topic'> |
kwargs | {'slug': u'prednisone-purpose'} |
/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/django/db/models/query.py
in get
"""
Performs the query and returns a single object matching the given
keyword arguments.
"""
clone = self.filter(*args, **kwargs)
if self.query.can_filter():
clone = clone.order_by()
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: OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
args | () |
self | Error in formatting: OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
kwargs | {'slug': u'prednisone-purpose'} |
/var/www/django/einsteinish3/venv/lib/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: OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
/var/www/django/einsteinish3/venv/lib/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: OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/django/db/models/query.py
in iterator
An iterator over the results from applying this QuerySet to the
database.
"""
db = self.db
compiler = self.query.get_compiler(using=db)
# Execute the query. This will also fill compiler.select, klass_info,
# and annotations.
results = compiler.execute_sql()...
select, klass_info, annotation_col_map = (compiler.select, compiler.klass_info,
compiler.annotation_col_map)
if klass_info is None:
return
model_cls = klass_info['model']
select_fields = klass_info['select_fields']
Variable | Value |
---|---|
self | Error in formatting: OperationalError: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
db | 'default' |
compiler | <django.db.backends.mysql.compiler.SQLCompiler object at 0x7facf655a550> |
/var/www/django/einsteinish3/venv/lib/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 0x7facf655a550> |
params | (u'prednisone-purpose',) |
result_type | 'multi' |
sql | u'SELECT `resources_topic`.`id`, `resources_topic`.`name`, `resources_topic`.`slug`, `resources_topic`.`help_text`, `resources_topic`.`description`, `resources_topic`.`image_thumbnail`, `resources_topic`.`official_website` FROM `resources_topic` WHERE `resources_topic`.`slug` = %s' |
/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/django/db/backends/base/base.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 = self.make_cursor(self._cursor())
return cursor
def commit(self):
"""
Variable | Value |
---|---|
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7facf6b1ee10> |
/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/django/db/backends/base/base.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 0x7facf6b1ee10> |
/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/django/db/backends/base/base.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 0x7facf6b1ee10> |
/var/www/django/einsteinish3/venv/lib/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 0x7facf6a48a10> |
traceback | <traceback object at 0x7facf688b9e0> |
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'> |
/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/django/db/backends/base/base.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 0x7facf6b1ee10> |
/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/django/db/backends/base/base.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 0x7fad00291140>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7facf7725410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7facf77252a8>, 11: <function typecast_time at 0x7fad00291050>, 12: <function parse_datetime_with_timezone_support at 0x7facf74db320>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fad00291140>, 248: <function Str2Set at 0x7facf77258c0>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7facf7725cf8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7facf7725398>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7facf74dd8c0>, <type 'bool'>: <function Bool2Str at 0x7facf7725848>, <type 'instance'>: <function Instance2Str at 0x7facf7725c08>, <type 'float'>: <function Float2Str at 0x7facf7725aa0>, <type 'int'>: <function Thing2Str at 0x7facf77259b0>, <type 'list'>: <function quote_tuple at 0x7facf7725d70>, <type 'long'>: <function Thing2Str at 0x7facf77259b0>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7facf7725b18>, <type 'set'>: <function Set2Str at 0x7facf7725938>, <type 'str'>: <function Thing2Literal at 0x7facf7725b90>, <type 'tuple'>: <function quote_tuple at 0x7facf7725d70>, <type 'object'>: <function Instance2Str at 0x7facf7725c08>, <type 'unicode'>: <function Unicode2Str at 0x7facf7725a28>}, u'db': 'einsteinishdb5', u'passwd': 'HK*UY(!4akkb777', u'use_unicode': True, u'user': 'sfvue'} |
max_age | 0 |
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7facf6b1ee10> |
/var/www/django/einsteinish3/venv/lib/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 0x7fad00291140>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7facf7725410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7facf77252a8>, 11: <function typecast_time at 0x7fad00291050>, 12: <function parse_datetime_with_timezone_support at 0x7facf74db320>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fad00291140>, 248: <function Str2Set at 0x7facf77258c0>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7facf7725cf8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7facf7725398>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7facf74dd8c0>, <type 'bool'>: <function Bool2Str at 0x7facf7725848>, <type 'instance'>: <function Instance2Str at 0x7facf7725c08>, <type 'float'>: <function Float2Str at 0x7facf7725aa0>, <type 'int'>: <function Thing2Str at 0x7facf77259b0>, <type 'list'>: <function quote_tuple at 0x7facf7725d70>, <type 'long'>: <function Thing2Str at 0x7facf77259b0>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7facf7725b18>, <type 'set'>: <function Set2Str at 0x7facf7725938>, <type 'str'>: <function Thing2Literal at 0x7facf7725b90>, <type 'tuple'>: <function quote_tuple at 0x7facf7725d70>, <type 'object'>: <function Instance2Str at 0x7facf7725c08>, <type 'unicode'>: <function Unicode2Str at 0x7facf7725a28>}, u'db': 'einsteinishdb5', u'passwd': 'HK*UY(!4akkb777', u'use_unicode': True, u'user': 'sfvue'} |
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x7facf6b1ee10> |
/var/www/django/einsteinish3/venv/lib/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 MySQLdb.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 0x7fad00291140>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7facf7725410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7facf77252a8>, 11: <function typecast_time at 0x7fad00291050>, 12: <function parse_datetime_with_timezone_support at 0x7facf74db320>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fad00291140>, 248: <function Str2Set at 0x7facf77258c0>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7facf7725cf8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7facf7725398>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7facf74dd8c0>, <type 'bool'>: <function Bool2Str at 0x7facf7725848>, <type 'instance'>: <function Instance2Str at 0x7facf7725c08>, <type 'float'>: <function Float2Str at 0x7facf7725aa0>, <type 'int'>: <function Thing2Str at 0x7facf77259b0>, <type 'list'>: <function quote_tuple at 0x7facf7725d70>, <type 'long'>: <function Thing2Str at 0x7facf77259b0>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7facf7725b18>, <type 'set'>: <function Set2Str at 0x7facf7725938>, <type 'str'>: <function Thing2Literal at 0x7facf7725b90>, <type 'tuple'>: <function quote_tuple at 0x7facf7725d70>, <type 'object'>: <function Instance2Str at 0x7facf7725c08>, <type 'unicode'>: <function Unicode2Str at 0x7facf7725a28>}, u'db': 'einsteinishdb5', u'passwd': 'HK*UY(!4akkb777', u'use_unicode': True, u'user': 'sfvue'} |
/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/MySQLdb/connections.py
in __init__
client_flag |= CLIENT.MULTI_RESULTS
kwargs2['client_flag'] = client_flag
# PEP-249 requires autocommit to be initially off
autocommit = kwargs2.pop('autocommit', False)
super(Connection, self).__init__(*args, **kwargs2)...
self.cursorclass = cursorclass
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 |
---|---|
autocommit | False |
FIELD_TYPE | <module 'MySQLdb.constants.FIELD_TYPE' from '/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/MySQLdb/constants/FIELD_TYPE.pyc'> |
charset | u'utf8' |
conv | {0: <function typecast_decimal at 0x7fad00291140>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7facf7725410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7facf77252a8>, 11: <function typecast_time at 0x7fad00291050>, 12: <function parse_datetime_with_timezone_support at 0x7facf74db320>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fad00291140>, 248: <function Str2Set at 0x7facf77258c0>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7facf7725cf8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7facf7725398>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7facf74dd8c0>, <type 'bool'>: <function Bool2Str at 0x7facf7725848>, <type 'instance'>: <function Instance2Str at 0x7facf7725c08>, <type 'float'>: <function Float2Str at 0x7facf7725aa0>, <type 'int'>: <function Thing2Str at 0x7facf77259b0>, <type 'list'>: <function quote_tuple at 0x7facf7725d70>, <type 'long'>: <function Thing2Str at 0x7facf77259b0>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7facf7725b18>, <type 'set'>: <function Set2Str at 0x7facf7725938>, <type 'str'>: <function Thing2Literal at 0x7facf7725b90>, <type 'tuple'>: <function quote_tuple at 0x7facf7725d70>, <type 'object'>: <function Instance2Str at 0x7facf7725c08>, <type 'unicode'>: <function Unicode2Str at 0x7facf7725a28>} |
use_unicode | True |
client_flag | 196610 |
sql_mode | '' |
args | () |
v | [(128, <type 'str'>)] |
n | '5' |
conv2 | {0: <function typecast_decimal at 0x7fad00291140>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7facf7725410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7facf77252a8>, 11: <function typecast_time at 0x7fad00291050>, 12: <function parse_datetime_with_timezone_support at 0x7facf74db320>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fad00291140>, 248: <function Str2Set at 0x7facf77258c0>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7facf7725cf8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7facf7725398>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7facf74dd8c0>, <type 'bool'>: <function Bool2Str at 0x7facf7725848>, <type 'instance'>: <function Instance2Str at 0x7facf7725c08>, <type 'float'>: <function Float2Str at 0x7facf7725aa0>, <type 'int'>: <function Thing2Str at 0x7facf77259b0>, <type 'list'>: <function quote_tuple at 0x7facf7725d70>, <type 'long'>: <function Thing2Str at 0x7facf77259b0>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7facf7725b18>, <type 'set'>: <function Set2Str at 0x7facf7725938>, <type 'str'>: <function Thing2Literal at 0x7facf7725b90>, <type 'tuple'>: <function quote_tuple at 0x7facf7725d70>, <type 'object'>: <function Instance2Str at 0x7facf7725c08>, <type 'unicode'>: <function Unicode2Str at 0x7facf7725a28>} |
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 0x7facf7725410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7facf77252a8>, 11: <function TimeDelta_or_None at 0x7facf77251b8>, 12: <function DateTime_or_None at 0x7facf7725140>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <class 'decimal.Decimal'>, 248: <function Str2Set at 0x7facf77258c0>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7facf7725cf8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7facf7725398>, <type 'datetime.datetime'>: <function DateTime2literal at 0x7facf7725320>, <type 'bool'>: <function Bool2Str at 0x7facf7725848>, <type 'instance'>: <function Instance2Str at 0x7facf7725c08>, <type 'float'>: <function Float2Str at 0x7facf7725aa0>, <type 'int'>: <function Thing2Str at 0x7facf77259b0>, <type 'list'>: <function quote_tuple at 0x7facf7725d70>, <type 'long'>: <function Thing2Str at 0x7facf77259b0>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7facf7725b18>, <type 'set'>: <function Set2Str at 0x7facf7725938>, <type 'str'>: <function Thing2Literal at 0x7facf7725b90>, <type 'tuple'>: <function quote_tuple at 0x7facf7725d70>, <type 'object'>: <function Instance2Str at 0x7facf7725c08>, <type 'unicode'>: <function Unicode2Str at 0x7facf7725a28>} |
CLIENT | <module 'MySQLdb.constants.CLIENT' from '/var/www/django/einsteinish3/venv/lib/python2.7/site-packages/MySQLdb/constants/CLIENT.pyc'> |
proxy | <built-in function proxy> |
cursorclass | <class 'MySQLdb.cursors.Cursor'> |
kwargs | {u'charset': u'utf8', u'client_flag': 2, u'conv': {0: <function typecast_decimal at 0x7fad00291140>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7facf7725410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7facf77252a8>, 11: <function typecast_time at 0x7fad00291050>, 12: <function parse_datetime_with_timezone_support at 0x7facf74db320>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fad00291140>, 248: <function Str2Set at 0x7facf77258c0>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7facf7725cf8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7facf7725398>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7facf74dd8c0>, <type 'bool'>: <function Bool2Str at 0x7facf7725848>, <type 'instance'>: <function Instance2Str at 0x7facf7725c08>, <type 'float'>: <function Float2Str at 0x7facf7725aa0>, <type 'int'>: <function Thing2Str at 0x7facf77259b0>, <type 'list'>: <function quote_tuple at 0x7facf7725d70>, <type 'long'>: <function Thing2Str at 0x7facf77259b0>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7facf7725b18>, <type 'set'>: <function Set2Str at 0x7facf7725938>, <type 'str'>: <function Thing2Literal at 0x7facf7725b90>, <type 'tuple'>: <function quote_tuple at 0x7facf7725d70>, <type 'object'>: <function Instance2Str at 0x7facf7725c08>, <type 'unicode'>: <function Unicode2Str at 0x7facf7725a28>}, u'db': 'einsteinishdb5', u'passwd': 'HK*UY(!4akkb777', u'use_unicode': True, u'user': 'sfvue'} |
k | 254 |
client_version | (5, 5) |
kwargs2 | {u'client_flag': 196610, u'conv': {0: <function typecast_decimal at 0x7fad00291140>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x7facf7725410>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x7facf77252a8>, 11: <function typecast_time at 0x7fad00291050>, 12: <function parse_datetime_with_timezone_support at 0x7facf74db320>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x7fad00291140>, 248: <function Str2Set at 0x7facf77258c0>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'array.array'>: <function array2Str at 0x7facf7725cf8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x7facf7725398>, <type 'datetime.datetime'>: <function adapt_datetime_with_timezone_support at 0x7facf74dd8c0>, <type 'bool'>: <function Bool2Str at 0x7facf7725848>, <type 'instance'>: <function Instance2Str at 0x7facf7725c08>, <type 'float'>: <function Float2Str at 0x7facf7725aa0>, <type 'int'>: <function Thing2Str at 0x7facf77259b0>, <type 'list'>: <function quote_tuple at 0x7facf7725d70>, <type 'long'>: <function Thing2Str at 0x7facf77259b0>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x7facf7725b18>, <type 'set'>: <function Set2Str at 0x7facf7725938>, <type 'str'>: <function Thing2Literal at 0x7facf7725b90>, <type 'tuple'>: <function quote_tuple at 0x7facf7725d70>, <type 'object'>: <function Instance2Str at 0x7facf7725c08>, <type 'unicode'>: <function Unicode2Str at 0x7facf7725a28>}, u'db': 'einsteinishdb5', u'passwd': 'HK*UY(!4akkb777', u'user': 'sfvue'} |
self | <_mysql.connection closed at 7facfc050220> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '443' |
HTTP_REFERER | 'http://einsteinish.com/resource/topic/prednisone-purpose/' |
CONTEXT_DOCUMENT_ROOT | '/var/www/html' |
SERVER_SOFTWARE | 'Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips Phusion_Passenger/6.0.6 PHP/5.4.16 mod_wsgi/3.4 Python/2.7.5' |
SCRIPT_NAME | u'' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/resource/topic/prednisone-purpose/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
SSL_TLS_SNI | 'einsteinish.com' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'einsteinish.com' |
REMOTE_ADDR | '35.172.223.130' |
mod_wsgi.queue_start | '1711695915700063' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'https' |
PATH_TRANSLATED | '/var/www/django/einsteinish3/einsteinish/wsgi.py/resource/topic/prednisone-purpose/' |
SERVER_PORT | '443' |
wsgi.multiprocess | False |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '45.79.90.218' |
DOCUMENT_ROOT | '/var/www/html' |
mod_wsgi.process_group | 'einsteinish3' |
SCRIPT_FILENAME | '/var/www/django/einsteinish3/einsteinish/wsgi.py' |
SERVER_ADMIN | 'webmaster@einsteinish.com' |
wsgi.input | <mod_wsgi.Input object at 0x7facf6888130> |
HTTP_HOST | 'einsteinish.com' |
CONTEXT_PREFIX | '' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/resource/topic/prednisone-purpose/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7facf6888e30> |
REMOTE_PORT | '41152' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'https' |
mod_wsgi.version | (3, 4) |
mod_wsgi.application_group | 'www.einsteinish.com|' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'H0pYkzXwtidcKSx9q7Wnf3bt5rrBGYXK' |
UNIQUE_ID | 'ZgZoK@1YX5UCSFH@xpVMhwAAAAI' |
einsteinish.settings
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'einsteinish.urls' |
MANAGERS | (('K Hong', 'einsteinish@aol.com'),) |
SILENCED_SYSTEM_CHECKS | [] |
ACCOUNT_ACTIVATION_DAYS | 7 |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/var/www/django/einsteinish3/assets' |
ALLOWED_HOSTS | ['127.0.0.1'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'k.hong@aol.com' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'einsteinishdb5', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'America/Tijuana', 'USER': 'sfvue'}} |
EMAIL_SSL_KEYFILE | u'********************' |
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 |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
LOCAL_APPS | ('registration', 'profiles', 'resources') |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
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', 'django.middleware.clickjacking.XFrameOptionsMiddleware') |
USE_I18N | False |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
DISQUS_API_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | 'einsteinish.wsgi.application' |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend', 'guardian.backends.ObjectPermissionBackend') |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine', 'INDEX_NAME': 'haystack', 'URL': 'http://127.0.0.1:9200/'}} |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
DEFAULT_CHARSET | 'utf-8' |
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.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.sitemaps', 'django.contrib.flatpages', 'markdown_deux', 'haystack', 'django_extensions', 'guardian', 'widget_tweaks', 'braces', 'djangoratings', 'disqus', 'registration', 'profiles', 'resources') |
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')) |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | ('/var/www/django/einsteinish3/static',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
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') |
CSRF_COOKIE_NAME | 'csrftoken' |
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 | '/resource/' |
PROJECT_ROOT | '/var/www/django/einsteinish3' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
RATINGS_VOTES_PER_IP | 2000 |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
FIXTURE_DIRS | () |
EMAIL_HOST | 'smtp.gmail.com' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/var/www/django/einsteinish3/media' |
LANGUAGE_COOKIE_PATH | '/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | (('K Hong', 'einsteinish@aol.com'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'kihyuck.hong@gmail.com' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | () |
HAYSTACK_SEARCH_RESULTS_PER_PAGE | 12 |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/django/einsteinish3/templates'], 'OPTIONS': {'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.request', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.static', 'django.template.context_processors.tz'], 'debug': True}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'America/Tijuana' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
CSRF_COOKIE_HTTPONLY | False |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'einsteinish.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
HAYSTACK_SIGNAL_PROCESSOR | 'haystack.signals.BaseSignalProcessor' |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 587 |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
THIRD_PARTY_APPS | ('markdown_deux', 'haystack', 'django_extensions', 'guardian', 'widget_tweaks', 'braces', 'djangoratings', 'disqus') |
ABSOLUTE_URL_OVERRIDES | {'auth.user': <function <lambda> at 0x7facf7adcb18>} |
DJANGO_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.sitemaps', 'django.contrib.flatpages') |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
ANONYMOUS_USER_ID | -1 |
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') |
DISQUS_WEBSITE_SHORTNAME | 'einsteinish' |
GUARDIAN_RENDER_403 | True |
EMAIL_HOST_USER | 'kihyuck.hong@gmail.com' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.