(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/web-sites/ |
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 21:00:32 +0000 |
In template /c2g/django/c2g/templates/portfolio.html
, error at line 26
16 | {% block content %} |
---|---|
17 | <div class="content_header">PORTFOLIO</div> |
18 | <hr class="content_header_hr"></hr> |
19 | <div id="portfolio_subnav"> |
20 | <ul id="portfolio_subnav_ul"> |
21 | <li id="portfolio_subnav_web"{% if navslug == 'web' %} class="selected"{% endif %}><a href="/portfolio/web-sites/"></a></li> |
22 | <li id="portfolio_subnav_social"{% if navslug == 'social' %} class="selected"{% endif %}><a href="/portfolio/social-media/"></a></li> |
23 | </ul> |
24 | </div> |
25 | <div id="portfolio_clients"> |
26 | {% for client in clients %} |
27 | <div class="portfolio_client"> |
28 | <a href="/portfolio/{{ client.slug }}/"> |
29 | <span>{{ client }}<br /><br />{{ client.get_type_display }}</span> |
30 | <img src="{{ client.thumbImage.url }}" /> |
31 | </a> |
32 | </div> |
33 | {% endfor %} |
34 | </div> |
35 | <!--- |
36 | <div id="portfolio_footer"> |
/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 PortfolioWeb at 0x7fbaa9322050>, args=(), kwargs={}, url_name='client.views.PortfolioWeb', 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/web-sites/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/c2g/sites/cloudcreativegroup.com/htdocs',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'6Ub7ll8xeZLMsCBK66aOQymKTTdt7JFS',\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/web-sites/',\n 'PATH_TRANSLATED': '/c2g/django/c2g/c2g/wsgi.py/portfolio/web-sites/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.200.196.114',\n 'REMOTE_PORT': '40312',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/portfolio/web-sites/',\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': 'ZgXacJp6JcyeAxxxUQJk0wAAAAk',\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': '1711659632353592',\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 0x7fbaa93c2bf0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fbaa93e3be8>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7fbaa93c2f70>,\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 PortfolioWeb at 0x7fbaa9322050> |
wrapped_callback | <function PortfolioWeb at 0x7fbaa9322050> |
resolver | <RegexURLResolver 'c2g.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'c2g.urls' |
/c2g/django/c2g/client/views.py
in PortfolioWeb
context = {'quicklinks': quicklinks}
return render_to_response('home.html', context, context_instance=RequestContext(request))
def PortfolioWeb(request):
context = {'pageTitle': 'Portfolio'}
clients = Client.objects.filter(siteDisplay=True).filter(type='W').order_by('order')
context.update({'clients': clients, 'navslug': 'web'})
return render_to_response('portfolio.html', context, context_instance=RequestContext(request))...
def PortfolioSocial(request):
context = {'pageTitle': 'Portfolio'}
clients = Client.objects.filter(siteDisplay=True).filter(type='S').order_by('order')
context.update({'clients': clients, 'navslug': 'social'})
return render_to_response('portfolio.html', context, context_instance=RequestContext(request))
Variable | Value |
---|---|
clients | Error in formatting: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
request | "<WSGIRequest\npath:/portfolio/web-sites/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/c2g/sites/cloudcreativegroup.com/htdocs',\n 'CONTEXT_PREFIX': '',\n u'CSRF_COOKIE': u'6Ub7ll8xeZLMsCBK66aOQymKTTdt7JFS',\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/web-sites/',\n 'PATH_TRANSLATED': '/c2g/django/c2g/c2g/wsgi.py/portfolio/web-sites/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '44.200.196.114',\n 'REMOTE_PORT': '40312',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/portfolio/web-sites/',\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': 'ZgXacJp6JcyeAxxxUQJk0wAAAAk',\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': '1711659632353592',\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 0x7fbaa93c2bf0>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7fbaa93e3be8>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7fbaa93c2f70>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
context | 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/shortcuts.py
in render_to_response
def render_to_response(*args, **kwargs):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
httpresponse_kwargs = {'content_type': kwargs.pop('content_type', None)}
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)...
def render(request, *args, **kwargs):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
Variable | Value |
---|---|
httpresponse_kwargs | {'content_type': None} |
args | Error in formatting: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
kwargs | {'context_instance': [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}]} |
/usr/lib64/python2.7/site-packages/django/template/loader.py
in render_to_string
if not context_instance:
return t.render(Context(dictionary))
if not dictionary:
return t.render(context_instance)
# Add the dictionary to the context stack, ensuring it gets removed again
# to keep the context_instance in the same state it started in.
with context_instance.push(dictionary):
return t.render(context_instance)...
def select_template(template_name_list, dirs=None):
"Given a list of template names, returns the first that can be loaded."
if not template_name_list:
raise TemplateDoesNotExist("No template names provided")
Variable | Value |
---|---|
dirs | None |
template_name | 'portfolio.html' |
t | <django.template.base.Template object at 0x7fbaa93ca990> |
dictionary | Error in formatting: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
context_instance | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/usr/lib64/python2.7/site-packages/django/template/base.py
in render
def _render(self, context):
return self.nodelist.render(context)
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)...
finally:
context.render_context.pop()
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fbaa93ca990> |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/usr/lib64/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fbaa93ca990> |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/usr/lib64/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/usr/lib64/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
e | OperationalError(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/usr/lib64/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = dict((n.name, n) for n in
compiled_parent.nodelist.get_nodes_by_type(BlockNode))
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
return compiled_parent._render(context)...
class IncludeNode(Node):
def __init__(self, template, *args, **kwargs):
self.template = template
self.extra_context = kwargs.pop('extra_context', {})
Variable | Value |
---|---|
node | <IfNode> |
blocks | {u'content': <Block Node: content. Contents: [<Text Node: ' '>]>, u'extrahead': <Block Node: extrahead. Contents: []>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7fbaa93ca150> |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
compiled_parent | <django.template.base.Template object at 0x7fbaa93cadd0> |
self | <ExtendsNode: extends "base.html"> |
/usr/lib64/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fbaa93cadd0> |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/usr/lib64/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: content. Contents: [<Text Node: ' '>]> |
bit | u'\n\t<script type="text/javascript">\n\tvar gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\n\tdocument.write(unescape("%3Cscript src=\'" + gaJsHost + "google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E"));\n\t</script>\n\t<script type="text/javascript">\n\ttry {\n\tvar pageTracker = _gat._getTracker("UA-11127697-4");\n\tpageTracker._trackPageview();\n\t} catch(err) {}</script>\n</head>\n<body>\n\t<div id="pageContainer">\n\t\t<div id="header">\n\t\t\t<div id="header_c2g_logo"><a href="/"></a></div>\n\t\t\t<div id="header_social">\n\t\t\t\t<ul id="social_ul">\n\t\t\t\t\t<li id="header_social_facebook"><a href="https://www.facebook.com/CloudCreativeGroup/"></a></li>\n\t\t\t\t\t<li id="header_social_twitter"><a href="http://twitter.com/#!/yearofthecloud/"></a></li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div id="header_nav">\n\t\t\t\t<ul id="navbar">\n\t\t\t\t\t<li id="navbar_portfolio"><a href="/portfolio/web-sites/"></a></li>\n\t\t\t\t\t<li id="navbar_spacer_1"></li>\n\t\t\t\t\t<li id="navbar_services"><a href="/services/"></a></li>\n\t\t\t\t\t<li id="navbar_spacer_2"></li>\n\t\t\t\t\t<li id="navbar_contact"><a href="/contact/"></a></li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div id="header_charities">\n\t\t\t\t<a href="/charities/eff/"><img src="/media/images/charity.png" /></a>\n\t\t\t</div>\n\t\t</div>\n\t\t<div id="content">\n\t\t' |
bits | [u'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n<head>\n\t<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />\n\t<meta name="msvalidate.01" content="BDC7D71BCC239FC10C5496277DE5A7F3" />\n\t<title>Cloud Creative Group', u' :: Portfolio', u'</title>\n\t<link rel="stylesheet" type="text/css" href="/media/css/c2g.css" />\n\t<link rel="icon" href="/media/favicon.ico" type="image/x-icon">\t\n\t', u'\n <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>\n <script type="text/javascript">\n $(document).ready(function() {\n $(\'.portfolio_client\').mouseenter(function(e) {\n $(this).children(\'a\').children(\'img\').animate({ height: \'250\', left: \'-20\', top: \'0\', width: \'250\'}, 100);\n $(this).children(\'a\').children(\'span\').fadeIn(200);\n }).mouseleave(function(e) {\n $(this).children(\'a\').children(\'img\').animate({ height: \'210\', left: \'0\', top: \'0\', width: \'210\'}, 100);\n $(this).children(\'a\').children(\'span\').fadeOut(200);\n });\n });\n </script>\n', u'\n\t<script type="text/javascript">\n\tvar gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\n\tdocument.write(unescape("%3Cscript src=\'" + gaJsHost + "google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E"));\n\t</script>\n\t<script type="text/javascript">\n\ttry {\n\tvar pageTracker = _gat._getTracker("UA-11127697-4");\n\tpageTracker._trackPageview();\n\t} catch(err) {}</script>\n</head>\n<body>\n\t<div id="pageContainer">\n\t\t<div id="header">\n\t\t\t<div id="header_c2g_logo"><a href="/"></a></div>\n\t\t\t<div id="header_social">\n\t\t\t\t<ul id="social_ul">\n\t\t\t\t\t<li id="header_social_facebook"><a href="https://www.facebook.com/CloudCreativeGroup/"></a></li>\n\t\t\t\t\t<li id="header_social_twitter"><a href="http://twitter.com/#!/yearofthecloud/"></a></li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div id="header_nav">\n\t\t\t\t<ul id="navbar">\n\t\t\t\t\t<li id="navbar_portfolio"><a href="/portfolio/web-sites/"></a></li>\n\t\t\t\t\t<li id="navbar_spacer_1"></li>\n\t\t\t\t\t<li id="navbar_services"><a href="/services/"></a></li>\n\t\t\t\t\t<li id="navbar_spacer_2"></li>\n\t\t\t\t\t<li id="navbar_contact"><a href="/contact/"></a></li>\n\t\t\t\t</ul>\n\t\t\t</div>\n\t\t\t<div id="header_charities">\n\t\t\t\t<a href="/charities/eff/"><img src="/media/images/charity.png" /></a>\n\t\t\t</div>\n\t\t</div>\n\t\t<div id="content">\n\t\t'] |
self | [<Text Node: '<!DOCTYPE html PUBLIC "-/'>, <IfNode>, <Text Node: '</title> <link rel="styl'>, <Block Node: extrahead. Contents: []>, <Text Node: ' <script type="text/java'>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> <div class="c'>] |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/usr/lib64/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: content. Contents: [<Text Node: ' '>]> |
self | [<Text Node: '<!DOCTYPE html PUBLIC "-/'>, <IfNode>, <Text Node: '</title> <link rel="styl'>, <Block Node: extrahead. Contents: []>, <Text Node: ' <script type="text/java'>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> <div class="c'>] |
e | OperationalError(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/usr/lib64/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
render_context = self.context.render_context
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<Text Node: ' <div class="content_hea'>, <IfNode>, <Text Node: '><a href="/portfolio/web-'>, <IfNode>, <Text Node: '><a href="/portfolio/soci'>, <For Node: for client in clients, tail_len: 9>, <Text Node: ' </div> <!--- <div id='>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fbaa93ca150> |
block | <Block Node: content. Contents: [<Text Node: ' <div class="content_hea'>, <IfNode>, <Text Node: '><a href="/portfolio/web-'>, <IfNode>, <Text Node: '><a href="/portfolio/soci'>, <For Node: for client in clients, tail_len: 9>, <Text Node: ' </div> <!--- <div id='>]> |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
self | <Block Node: content. Contents: [<Text Node: ' '>]> |
/usr/lib64/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <For Node: for client in clients, tail_len: 9> |
bit | u'><a href="/portfolio/social-media/"></a></li>\n\t\t</ul>\n\t</div>\n\t<div id="portfolio_clients">\n\t\t' |
bits | [u'\n\t<div class="content_header">PORTFOLIO</div>\n\t<hr class="content_header_hr"></hr>\n\t<div id="portfolio_subnav">\n\t\t<ul id="portfolio_subnav_ul">\n\t\t\t<li id="portfolio_subnav_web"', u' class="selected"', u'><a href="/portfolio/web-sites/"></a></li>\n\t\t\t<li id="portfolio_subnav_social"', u'', u'><a href="/portfolio/social-media/"></a></li>\n\t\t</ul>\n\t</div>\n\t<div id="portfolio_clients">\n\t\t'] |
self | [<Text Node: ' <div class="content_hea'>, <IfNode>, <Text Node: '><a href="/portfolio/web-'>, <IfNode>, <Text Node: '><a href="/portfolio/soci'>, <For Node: for client in clients, tail_len: 9>, <Text Node: ' </div> <!--- <div id='>] |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/usr/lib64/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <For Node: for client in clients, tail_len: 9> |
self | [<Text Node: ' <div class="content_hea'>, <IfNode>, <Text Node: '><a href="/portfolio/web-'>, <IfNode>, <Text Node: '><a href="/portfolio/soci'>, <For Node: for client in clients, tail_len: 9>, <Text Node: ' </div> <!--- <div id='>] |
e | OperationalError(2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/usr/lib64/python2.7/site-packages/django/template/defaulttags.py
in render
values = self.sequence.resolve(context, True)
except VariableDoesNotExist:
values = []
if values is None:
values = []
if not hasattr(values, '__len__'):
values = list(values)
len_values = len(values)...
if len_values < 1:
return self.nodelist_empty.render(context)
nodelist = []
if self.is_reversed:
values = reversed(values)
unpack = len(self.loopvars) > 1
Variable | Value |
---|---|
parentloop | {} |
self | <For Node: for client in clients, tail_len: 9> |
values | Error in formatting: (2002, "Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)") |
context | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7fbaa93dde90>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7fbaa93ddb90>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7fbaa93dd7d0>, u'TIME_ZONE': 'UTC', u'STATIC_URL': '/static/', u'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')), 'user': <SimpleLazyObject: <function <lambda> at 0x7fbaa93e3668>>, u'LANGUAGE_CODE': 'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/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 0x7fbaa932bb90> |
/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 0x7fbaa932bb90> |
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 0x7fbaa932bb90> |
params | (True, 'W') |
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`.`siteDisplay` = %s AND `client_client`.`type` = %s) ORDER BY `client_client`.`order` ASC' |
/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 0x7fbaa94b37a0> |
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 7fba940b3510> |
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/web-sites/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'cloudcreativegroup.com' |
REMOTE_ADDR | '44.200.196.114' |
mod_wsgi.queue_start | '1711659632353592' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/c2g/django/c2g/c2g/wsgi.py/portfolio/web-sites/' |
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 0x7fbaa93c2f70> |
HTTP_HOST | 'cloudcreativegroup.com' |
SCRIPT_NAME | u'' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/portfolio/web-sites/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7fbaa93c2bf0> |
REMOTE_PORT | '40312' |
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'6Ub7ll8xeZLMsCBK66aOQymKTTdt7JFS' |
UNIQUE_ID | 'ZgXacJp6JcyeAxxxUQJk0wAAAAk' |
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.