(2062, 'Cloud SQL socket open failed with error: Input/output error')
Request Method: | GET |
---|---|
Request URL: | https://urbanqualityproject.appspot.com/accounts/register/ |
Django Version: | 1.10.5 |
Exception Type: | OperationalError |
Exception Value: | (2062, 'Cloud SQL socket open failed with error: Input/output error') |
Exception Location: | /base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/MySQLdb-1.2.5/MySQLdb/connections.py in __init__, line 193 |
Python Executable: | /base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_dist/python |
Python Version: | 2.7.18 |
Python Path: | ['/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320', '/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_dist/lib/python27.zip', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_dist/lib/python2.7', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_dist/lib/python2.7/plat-linux2', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_dist/lib/python2.7/lib-tk', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_dist/lib/python2.7/lib-old', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_dist/lib/python2.7/lib-dynload', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_dist/lib/python2.7/site-packages', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/1', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/MySQLdb-1.2.5', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/PIL-1.1.7', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/PIL-1.1.7/PIL', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/protorpc-1.0', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/six-1.12.0', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/webapp2-2.3', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/webob-1.1.1', '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/yaml-3.10'] |
Server time: | Thu, 28 Mar 2024 18:58:22 +0000 |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | OperationalError(2062, 'Cloud SQL socket open failed with error: Input/output error') |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x3ef8ecb3e390>> |
request | <WSGIRequest: GET '/accounts/register/'> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method SecurityMiddleware.process_request of <django.middleware.security.SecurityMiddleware object at 0x3ef8b5ff8250>> |
request | <WSGIRequest: GET '/accounts/register/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x3ef8ecb3e390> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/django/core/handlers/base.py
in _get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function register at 0x3ef8b59e2c50> |
callback_args | () |
callback_kwargs | {} |
e | OperationalError(2062, 'Cloud SQL socket open failed with error: Input/output error') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x3ef8b5fe8ad0>> |
request | <WSGIRequest: GET '/accounts/register/'> |
resolver | <RegexURLResolver 'mysite.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=polls.views.register, args=(), kwargs={}, url_name=register, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x3ef8ecb3e390> |
wrapped_callback | <function register at 0x3ef8b59e2c50> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/django/core/handlers/base.py
in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function register at 0x3ef8b59e2c50> |
callback_args | () |
callback_kwargs | {} |
e | OperationalError(2062, 'Cloud SQL socket open failed with error: Input/output error') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x3ef8b5fe8ad0>> |
request | <WSGIRequest: GET '/accounts/register/'> |
resolver | <RegexURLResolver 'mysite.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=polls.views.register, args=(), kwargs={}, url_name=register, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x3ef8ecb3e390> |
wrapped_callback | <function register at 0x3ef8b59e2c50> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/polls/views.py
in register
for key in order :
newQuestions.append(questionByPK[key])
return render(request, "register.html", {'form': form, 'questions': newQuestions, 'email1':email1, 'email2':email2})
else:
sitedata = SiteData.objects.last()...
orderStr = sitedata.sub_question_order
order = orderStr.split(',')
form = UserCreationForm() # An unbound form
questions = UserSubdataQuestion.objects.all()
questionByPK = {}
Variable | Value |
---|---|
email1 | '' |
email2 | '' |
request | <WSGIRequest: GET '/accounts/register/'> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/django/db/models/manager.py
in manager_method
def check(self, **kwargs):
return []
@classmethod
def _get_queryset_methods(cls, queryset_class):
def create_method(name, method):
def manager_method(self, *args, **kwargs):
return getattr(self.get_queryset(), name)(*args, **kwargs)...
manager_method.__name__ = method.__name__
manager_method.__doc__ = method.__doc__
return manager_method
new_methods = {}
# Refs http://bugs.python.org/issue1785.
Variable | Value |
---|---|
args | () |
kwargs | {} |
name | 'last' |
self | <django.db.models.manager.Manager object at 0x3ef8b59686d0> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/django/db/models/query.py
in last
return objects[0]
return None
def last(self):
"""
Returns the last object of a query, returns None if no match is found.
"""
objects = list((self.reverse() if self.ordered else self.order_by('-pk'))[:1])...
if objects:
return objects[0]
return None
def in_bulk(self, id_list=None):
"""
Variable | Value |
---|---|
self | Error in formatting: OperationalError: (2062, 'Cloud SQL socket open failed with error: Input/output error') |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/django/db/models/query.py
in __iter__
2. sql/compiler.results_iter()
- Returns one row at time. At this point the rows are still just
tuples. In some cases the return values are converted to
Python values at this location.
3. self.iterator()
- Responsible for turning the rows into model objects.
"""
self._fetch_all()...
return iter(self._result_cache)
def __bool__(self):
self._fetch_all()
return bool(self._result_cache)
Variable | Value |
---|---|
self | Error in formatting: OperationalError: (2062, 'Cloud SQL socket open failed with error: Input/output error') |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/django/db/models/query.py
in _fetch_all
clone._fields = self._fields
clone.__dict__.update(kwargs)
return clone
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: (2062, 'Cloud SQL socket open failed with error: Input/output error') |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/django/db/models/query.py
in __iter__
def __iter__(self):
queryset = self.queryset
db = queryset.db
compiler = queryset.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 |
---|---|
compiler | <django.db.backends.mysql.compiler.SQLCompiler object at 0x3ef8b5968ad0> |
db | 'default' |
queryset | Error in formatting: OperationalError: (2062, 'Cloud SQL socket open failed with error: Input/output error') |
self | <django.db.models.query.ModelIterable object at 0x3ef8b59689d0> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/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 |
---|---|
params | () |
result_type | 'multi' |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0x3ef8b5968ad0> |
sql | u'SELECT `polls_sitedata`.`id`, `polls_sitedata`.`json_data`, `polls_sitedata`.`sub_question_order`, `polls_sitedata`.`result_order`, `polls_sitedata`.`is_show_heatmap`, `polls_sitedata`.`no_gaze_score`, `polls_sitedata`.`current_experimental_id` FROM `polls_sitedata` ORDER BY `polls_sitedata`.`id` DESC LIMIT 1' |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/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 0x3ef8b5968110> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/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 0x3ef8b5968110> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/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 0x3ef8b5968110> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/django/db/utils.py
in __exit__
dj_exc_value.__cause__ = exc_value
if not hasattr(exc_value, '__traceback__'):
exc_value.__traceback__ = traceback
# 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 |
---|---|
db_exc_type | <class '_mysql_exceptions.OperationalError'> |
dj_exc_type | <class 'django.db.utils.OperationalError'> |
dj_exc_value | OperationalError(2062, 'Cloud SQL socket open failed with error: Input/output error') |
exc_type | <class '_mysql_exceptions.OperationalError'> |
exc_value | OperationalError(2062, 'Cloud SQL socket open failed with error: Input/output error') |
self | <django.db.utils.DatabaseErrorWrapper object at 0x3ef8b5951f10> |
traceback | <traceback object at 0x3ef8b592e780> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/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 0x3ef8b5968110> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/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)
self.run_on_commit = []
Variable | Value |
---|---|
conn_params | {u'charset': u'utf8', u'client_flag': 2, u'conv': {0: <function typecast_decimal at 0x3ef8ec7c6050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x3ef8b6b8ad50>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x3ef8b6b8abd0>, 11: <function typecast_time at 0x3ef8ec7c3ed0>, 12: <function DateTime_or_None at 0x3ef8b6b8aa50>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x3ef8ec7c6050>, 248: <function Str2Set at 0x3ef8b6b8e850>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'bool'>: <function Bool2Str at 0x3ef8b6b8e7d0>, <type 'instance'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'float'>: <function Float2Str at 0x3ef8b6b8ea50>, <type 'int'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'list'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'long'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x3ef8b6b8ead0>, <type 'set'>: <function Set2Str at 0x3ef8b6b8e8d0>, <type 'str'>: <function Thing2Literal at 0x3ef8b6b8eb50>, <type 'tuple'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'object'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'unicode'>: <function Unicode2Str at 0x3ef8b6b8e9d0>, <type 'array.array'>: <function array2Str at 0x3ef8b6b8ecd0>, <type 'datetime.datetime'>: <function adapt_datetime_warn_on_aware_datetime at 0x3ef8b63d7bd0>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x3ef8b6b8acd0>}, u'db': 'polls', u'passwd': '1234', u'unix_socket': '/cloudsql/urbanqualityproject:asia-northeast1:urbanqualityprojectdb', u'use_unicode': True, u'user': 'admin'} |
max_age | 0 |
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x3ef8b5968110> |
/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/lib/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):
if self.features.is_sql_auto_is_null_enabled:
Variable | Value |
---|---|
conn_params | {u'charset': u'utf8', u'client_flag': 2, u'conv': {0: <function typecast_decimal at 0x3ef8ec7c6050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x3ef8b6b8ad50>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x3ef8b6b8abd0>, 11: <function typecast_time at 0x3ef8ec7c3ed0>, 12: <function DateTime_or_None at 0x3ef8b6b8aa50>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x3ef8ec7c6050>, 248: <function Str2Set at 0x3ef8b6b8e850>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'bool'>: <function Bool2Str at 0x3ef8b6b8e7d0>, <type 'instance'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'float'>: <function Float2Str at 0x3ef8b6b8ea50>, <type 'int'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'list'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'long'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x3ef8b6b8ead0>, <type 'set'>: <function Set2Str at 0x3ef8b6b8e8d0>, <type 'str'>: <function Thing2Literal at 0x3ef8b6b8eb50>, <type 'tuple'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'object'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'unicode'>: <function Unicode2Str at 0x3ef8b6b8e9d0>, <type 'array.array'>: <function array2Str at 0x3ef8b6b8ecd0>, <type 'datetime.datetime'>: <function adapt_datetime_warn_on_aware_datetime at 0x3ef8b63d7bd0>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x3ef8b6b8acd0>}, u'db': 'polls', u'passwd': '1234', u'unix_socket': '/cloudsql/urbanqualityproject:asia-northeast1:urbanqualityprojectdb', u'use_unicode': True, u'user': 'admin'} |
self | <django.db.backends.mysql.base.DatabaseWrapper object at 0x3ef8b5968110> |
/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/MySQLdb-1.2.5/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 0x3ef8ec7c6050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x3ef8b6b8ad50>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x3ef8b6b8abd0>, 11: <function typecast_time at 0x3ef8ec7c3ed0>, 12: <function DateTime_or_None at 0x3ef8b6b8aa50>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x3ef8ec7c6050>, 248: <function Str2Set at 0x3ef8b6b8e850>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'bool'>: <function Bool2Str at 0x3ef8b6b8e7d0>, <type 'instance'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'float'>: <function Float2Str at 0x3ef8b6b8ea50>, <type 'int'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'list'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'long'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x3ef8b6b8ead0>, <type 'set'>: <function Set2Str at 0x3ef8b6b8e8d0>, <type 'str'>: <function Thing2Literal at 0x3ef8b6b8eb50>, <type 'tuple'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'object'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'unicode'>: <function Unicode2Str at 0x3ef8b6b8e9d0>, <type 'array.array'>: <function array2Str at 0x3ef8b6b8ecd0>, <type 'datetime.datetime'>: <function adapt_datetime_warn_on_aware_datetime at 0x3ef8b63d7bd0>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x3ef8b6b8acd0>}, u'db': 'polls', u'passwd': '1234', u'unix_socket': '/cloudsql/urbanqualityproject:asia-northeast1:urbanqualityprojectdb', u'use_unicode': True, u'user': 'admin'} |
/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/MySQLdb-1.2.5/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 |
---|---|
CLIENT | <module 'MySQLdb.constants.CLIENT' from '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/MySQLdb-1.2.5/MySQLdb/constants/CLIENT.pyc'> |
FIELD_TYPE | <module 'MySQLdb.constants.FIELD_TYPE' from '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_lib/versions/third_party/MySQLdb-1.2.5/MySQLdb/constants/FIELD_TYPE.pyc'> |
args | () |
autocommit | False |
charset | u'utf8' |
client_flag | 196610 |
client_version | (6, 0) |
conv | {0: <function typecast_decimal at 0x3ef8ec7c6050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x3ef8b6b8ad50>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x3ef8b6b8abd0>, 11: <function typecast_time at 0x3ef8ec7c3ed0>, 12: <function DateTime_or_None at 0x3ef8b6b8aa50>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x3ef8ec7c6050>, 248: <function Str2Set at 0x3ef8b6b8e850>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'bool'>: <function Bool2Str at 0x3ef8b6b8e7d0>, <type 'instance'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'float'>: <function Float2Str at 0x3ef8b6b8ea50>, <type 'int'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'list'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'long'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x3ef8b6b8ead0>, <type 'set'>: <function Set2Str at 0x3ef8b6b8e8d0>, <type 'str'>: <function Thing2Literal at 0x3ef8b6b8eb50>, <type 'tuple'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'object'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'unicode'>: <function Unicode2Str at 0x3ef8b6b8e9d0>, <type 'array.array'>: <function array2Str at 0x3ef8b6b8ecd0>, <type 'datetime.datetime'>: <function adapt_datetime_warn_on_aware_datetime at 0x3ef8b63d7bd0>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x3ef8b6b8acd0>} |
conv2 | {0: <function typecast_decimal at 0x3ef8ec7c6050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x3ef8b6b8ad50>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x3ef8b6b8abd0>, 11: <function typecast_time at 0x3ef8ec7c3ed0>, 12: <function DateTime_or_None at 0x3ef8b6b8aa50>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x3ef8ec7c6050>, 248: <function Str2Set at 0x3ef8b6b8e850>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'bool'>: <function Bool2Str at 0x3ef8b6b8e7d0>, <type 'instance'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'float'>: <function Float2Str at 0x3ef8b6b8ea50>, <type 'int'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'list'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'long'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x3ef8b6b8ead0>, <type 'set'>: <function Set2Str at 0x3ef8b6b8e8d0>, <type 'str'>: <function Thing2Literal at 0x3ef8b6b8eb50>, <type 'tuple'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'object'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'unicode'>: <function Unicode2Str at 0x3ef8b6b8e9d0>, <type 'array.array'>: <function array2Str at 0x3ef8b6b8ecd0>, <type 'datetime.datetime'>: <function adapt_datetime_warn_on_aware_datetime at 0x3ef8b63d7bd0>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x3ef8b6b8acd0>} |
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 0x3ef8b6b8ad50>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x3ef8b6b8abd0>, 11: <function TimeDelta_or_None at 0x3ef8b6b8aad0>, 12: <function DateTime_or_None at 0x3ef8b6b8aa50>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <class 'decimal.Decimal'>, 248: <function Str2Set at 0x3ef8b6b8e850>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'bool'>: <function Bool2Str at 0x3ef8b6b8e7d0>, <type 'instance'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'float'>: <function Float2Str at 0x3ef8b6b8ea50>, <type 'int'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'list'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'long'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x3ef8b6b8ead0>, <type 'set'>: <function Set2Str at 0x3ef8b6b8e8d0>, <type 'str'>: <function Thing2Literal at 0x3ef8b6b8eb50>, <type 'tuple'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'object'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'unicode'>: <function Unicode2Str at 0x3ef8b6b8e9d0>, <type 'array.array'>: <function array2Str at 0x3ef8b6b8ecd0>, <type 'datetime.datetime'>: <function DateTime2literal at 0x3ef8b6b8ac50>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x3ef8b6b8acd0>} |
cursorclass | <class 'MySQLdb.cursors.Cursor'> |
k | <type 'str'> |
kwargs | {u'charset': u'utf8', u'client_flag': 2, u'conv': {0: <function typecast_decimal at 0x3ef8ec7c6050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x3ef8b6b8ad50>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x3ef8b6b8abd0>, 11: <function typecast_time at 0x3ef8ec7c3ed0>, 12: <function DateTime_or_None at 0x3ef8b6b8aa50>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x3ef8ec7c6050>, 248: <function Str2Set at 0x3ef8b6b8e850>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'bool'>: <function Bool2Str at 0x3ef8b6b8e7d0>, <type 'instance'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'float'>: <function Float2Str at 0x3ef8b6b8ea50>, <type 'int'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'list'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'long'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x3ef8b6b8ead0>, <type 'set'>: <function Set2Str at 0x3ef8b6b8e8d0>, <type 'str'>: <function Thing2Literal at 0x3ef8b6b8eb50>, <type 'tuple'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'object'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'unicode'>: <function Unicode2Str at 0x3ef8b6b8e9d0>, <type 'array.array'>: <function array2Str at 0x3ef8b6b8ecd0>, <type 'datetime.datetime'>: <function adapt_datetime_warn_on_aware_datetime at 0x3ef8b63d7bd0>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x3ef8b6b8acd0>}, u'db': 'polls', u'passwd': '1234', u'unix_socket': '/cloudsql/urbanqualityproject:asia-northeast1:urbanqualityprojectdb', u'use_unicode': True, u'user': 'admin'} |
kwargs2 | {u'client_flag': 196610, u'conv': {0: <function typecast_decimal at 0x3ef8ec7c6050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x3ef8b6b8ad50>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x3ef8b6b8abd0>, 11: <function typecast_time at 0x3ef8ec7c3ed0>, 12: <function DateTime_or_None at 0x3ef8b6b8aa50>, 13: <type 'int'>, 15: [(128, <type 'str'>)], 246: <function typecast_decimal at 0x3ef8ec7c6050>, 248: <function Str2Set at 0x3ef8b6b8e850>, 252: [(128, <type 'str'>)], 253: [(128, <type 'str'>)], 254: [(128, <type 'str'>)], <type 'bool'>: <function Bool2Str at 0x3ef8b6b8e7d0>, <type 'instance'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'float'>: <function Float2Str at 0x3ef8b6b8ea50>, <type 'int'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'list'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'long'>: <function Thing2Str at 0x3ef8b6b8e950>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x3ef8b6b8ead0>, <type 'set'>: <function Set2Str at 0x3ef8b6b8e8d0>, <type 'str'>: <function Thing2Literal at 0x3ef8b6b8eb50>, <type 'tuple'>: <function quote_tuple at 0x3ef8b6b8ed50>, <type 'object'>: <function Instance2Str at 0x3ef8b6b8ebd0>, <type 'unicode'>: <function Unicode2Str at 0x3ef8b6b8e9d0>, <type 'array.array'>: <function array2Str at 0x3ef8b6b8ecd0>, <type 'datetime.datetime'>: <function adapt_datetime_warn_on_aware_datetime at 0x3ef8b63d7bd0>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x3ef8b6b8acd0>}, u'db': 'polls', u'passwd': '1234', u'unix_socket': '/cloudsql/urbanqualityproject:asia-northeast1:urbanqualityprojectdb', u'user': 'admin'} |
n | '0' |
proxy | <built-in function proxy> |
self | <_mysql.connection closed at 3ef8bc87f5b0> |
sql_mode | '' |
use_unicode | True |
v | <function Thing2Literal at 0x3ef8b6b8eb50> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
APPENGINE_RUNTIME | 'python27' |
APPLICATION_ID | 'b~urbanqualityproject' |
AUTH_DOMAIN | 'gmail.com' |
CLOUD_TRACE_ENABLE_STACK_TRACE | '0' |
CURRENT_MODULE_ID | 'default' |
CURRENT_VERSION_ID | '20180723t011847.411317311177117320' |
DATACENTER | 'asia-northeast1-3' |
DEFAULT_VERSION_HOSTNAME | 'urbanqualityproject.appspot.com' |
GAE_APPLICATION | 'b~urbanqualityproject' |
GAE_DEPLOYMENT_ID | '411317311177117320' |
GAE_ENV | 'standard' |
GAE_INSTANCE | '00a22404dc1f35d5fc5efcd242881e4d9851f939b9cd13f5dacf52a563297efe8002a0cf60870f40b21d0fb048335738a1c1cbe2d56b8afa62c7e6545d9f44aa55731b' |
GAE_RUNTIME | 'python27' |
GAE_SERVICE | 'default' |
GAE_VERSION | '20180723t011847' |
GCLOUD_PROJECT | 'urbanqualityproject' |
GCONV_PATH | '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/gconv' |
GOOGLE_CLOUD_PROJECT | 'urbanqualityproject' |
HOME | '/base/data/home' |
HTTPS | 'on' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'urbanqualityproject.appspot.com' |
HTTP_REFERER | 'https://urbanqualityproject.appspot.com/accounts/register' |
HTTP_TRACEPARENT | '00-2d56791534778dace1a8a0b44df57ec4-85a84cd1f8c979a7-00' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_APPENGINE_CITY | 'ashburn' |
HTTP_X_APPENGINE_CITYLATLONG | '39.043757,-77.487442' |
HTTP_X_APPENGINE_COUNTRY | 'US' |
HTTP_X_APPENGINE_REGION | 'va' |
HTTP_X_CLOUD_TRACE_CONTEXT | '2d56791534778dace1a8a0b44df57ec4/9631032267837634983' |
INSTANCE_ID | '00a22404dc1f35d5fc5efcd242881e4d9851f939b9cd13f5dacf52a563297efe8002a0cf60870f40b21d0fb048335738a1c1cbe2d56b8afa62c7e6545d9f44aa55731b' |
PATH_INFO | u'/accounts/register/' |
PATH_TRANSLATED | '/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/mysite/wsgi.pyc' |
PYTHONUSERBASE | '/base/alloc/tmpfs/dynamic_runtimes/python27g/abc1bb91493545df/python27/python27_dist' |
QUERY_STRING | '' |
REMOTE_ADDR | '3.94.150.98' |
REQUEST_ID_HASH | 'C1D920CC' |
REQUEST_LOG_ID | '6605bdcc00ff00ff0760c1d920cc0001627e757262616e7175616c69747970726f6a6563740001323031383037323374303131383437000100' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/accounts/register/' |
S2A_ACCESS_TOKEN | '4a9d0e40264564185dc66ac6de45165477dafbe8deda05ed69741803915c20e0' |
SCRIPT_NAME | u'' |
SERVER_NAME | 'urbanqualityproject.appspot.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'Google App Engine/1.9.91' |
TZ | 'UTC' |
USER | 'appengine' |
USER_EMAIL | '' |
USER_ID | '' |
USER_IS_ADMIN | '0' |
USER_NICKNAME | '' |
USER_ORGANIZATION | '' |
wsgi.errors | <google.appengine.api.logservice.logservice._LogsDequeBuffer object at 0x3ef8b5951d10> |
wsgi.input | <cStringIO.StringI object at 0x3ef8b5a399c0> |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
mysite.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '/cloudsql/urbanqualityproject:asia-northeast1:urbanqualityprojectdb', 'NAME': 'polls', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'admin'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | u'localhost' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | u'' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'polls') |
INTERNAL_IPS | [] |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '../../instruction' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/../uploads' |
MEDIA_URL | '/uploadimages/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
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', 'django.middleware.security.SecurityMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'mysite.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'mysite.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | ('/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/static',) |
STATICFILES_FINDERS | [u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/base/data/home/apps/b~urbanqualityproject/20180723t011847.411317311177117320/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'UTC' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'mysite.wsgi.application' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.