HTTP Error 403: Forbidden
Request Method: | GET |
---|---|
Request URL: | http://cnintl.com/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/ |
Django Version: | 1.3.1 |
Exception Type: | HTTPError |
Exception Value: | HTTP Error 403: Forbidden |
Exception Location: | /usr/lib/python2.6/urllib2.py in http_error_default, line 518 |
Python Executable: | /usr/bin/python |
Python Version: | 2.6.5 |
Python Path: | ['/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages/pip-1.0-py2.6.egg', '/home/rawjam/sites/iic_branded/cnintl/env/src/django-admintools-bootstrap', '/home/rawjam/sites/iic_branded/cnintl/env/src/django-allauth', '/home/rawjam/sites/iic_branded/cnintl/env/src/django-modeltranslation', '/home/rawjam/sites/iic_branded/cnintl/env/src/django-pagination', '/home/rawjam/sites/iic_branded/cnintl/env/src/django-uni-form', '/home/rawjam/sites/iic_branded/cnintl/env/src/facebook-sdk', '/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg', '/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages', '/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages/PIL', '/usr/local/lib/python2.6/dist-packages/pip-1.0-py2.6.egg', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/pymodules/python2.6', '/usr/local/lib/python2.6/dist-packages', '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/..', '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded'] |
Server time: | Thu, 28 Mar 2024 12:52:38 +0000 |
/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages/django/core/handlers/base.py
in get_response
try:
response = callback(request, *callback_args, **callback_kwargs)
except Exception, e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)...
if response:
break
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
exceptions | <module 'django.core.exceptions' from '/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages/django/core/exceptions.pyc'> |
e | HTTPError() |
callback_args | () |
receivers | [(<function _rollback_on_exception at 0x2b81df4>, None)] |
middleware_method | <bound method LocalStoreClearMiddleware.process_exception of <johnny.middleware.LocalStoreClearMiddleware object at 0x2b15bcc>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x2a9bd8c> |
settings | <django.conf.LazySettings object at 0x2901dac> |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '0d0e0521d37c0fd87a856ebcd2037758', 'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'cnintl.com', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '3.238.79.169', 'HTTP_X_REAL_IP': '3.238.79.169', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'PATH_TRANSLATED': '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/configs/production/production.wsgi/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '45096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SCRIPT_FILENAME': '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/configs/production/production.wsgi', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'http://cnintl.com/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SCRIPT_URL': '/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'cnintl.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)', 'mod_wsgi.application_group': 'cnintl.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '81', 'mod_wsgi.process_group': 'cnintl', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 8), 'wsgi.errors': <mod_wsgi.Log object at 0x517ed20>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x51b9e30>, 'wsgi.input': <mod_wsgi.Input object at 0x559dac0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
callback | <function blog_post_detail at 0x39ca9cc> |
resolver | <RegexURLResolver iic_branded.configs.common.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {'post_slug': u'iic-partners-expands-global-footprint-eight-new-co'} |
response | None |
urlconf | 'iic_branded.configs.common.urls' |
/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
exceptions | <module 'django.core.exceptions' from '/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages/django/core/exceptions.pyc'> |
e | HTTPError() |
callback_args | () |
receivers | [(<function _rollback_on_exception at 0x2b81df4>, None)] |
middleware_method | <bound method LocalStoreClearMiddleware.process_exception of <johnny.middleware.LocalStoreClearMiddleware object at 0x2b15bcc>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x2a9bd8c> |
settings | <django.conf.LazySettings object at 0x2901dac> |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '0d0e0521d37c0fd87a856ebcd2037758', 'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'cnintl.com', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '3.238.79.169', 'HTTP_X_REAL_IP': '3.238.79.169', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'PATH_TRANSLATED': '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/configs/production/production.wsgi/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '45096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SCRIPT_FILENAME': '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/configs/production/production.wsgi', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'http://cnintl.com/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SCRIPT_URL': '/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'cnintl.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)', 'mod_wsgi.application_group': 'cnintl.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '81', 'mod_wsgi.process_group': 'cnintl', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 8), 'wsgi.errors': <mod_wsgi.Log object at 0x517ed20>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x51b9e30>, 'wsgi.input': <mod_wsgi.Input object at 0x559dac0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
callback | <function blog_post_detail at 0x39ca9cc> |
resolver | <RegexURLResolver iic_branded.configs.common.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {'post_slug': u'iic-partners-expands-global-footprint-eight-new-co'} |
response | None |
urlconf | 'iic_branded.configs.common.urls' |
/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/apps/common/utils/decorators.py
in wrapper
template_name = '%s.html' % category
return {'bar': bar, 'TEMPLATE': template_name}
"""
def renderer(function):
@wraps(function)
def wrapper(request, *args, **kwargs):
output = function(request, *args, **kwargs)...
if not isinstance(output, dict):
return output
tmpl = output.pop('TEMPLATE', template)
return render_to_response(tmpl, output, \
context_instance=RequestContext(request), mimetype=mimetype)
return wrapper
Variable | Value |
---|---|
mimetype | 'text/html' |
function | <function blog_post_detail at 0x39ca994> |
args | () |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '0d0e0521d37c0fd87a856ebcd2037758', 'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'cnintl.com', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '3.238.79.169', 'HTTP_X_REAL_IP': '3.238.79.169', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'PATH_TRANSLATED': '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/configs/production/production.wsgi/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '45096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SCRIPT_FILENAME': '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/configs/production/production.wsgi', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'http://cnintl.com/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SCRIPT_URL': '/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'cnintl.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)', 'mod_wsgi.application_group': 'cnintl.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '81', 'mod_wsgi.process_group': 'cnintl', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 8), 'wsgi.errors': <mod_wsgi.Log object at 0x517ed20>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x51b9e30>, 'wsgi.input': <mod_wsgi.Input object at 0x559dac0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
template | 'blog/post_detail.html' |
kwargs | {'post_slug': u'iic-partners-expands-global-footprint-eight-new-co'} |
/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/apps/blog/views.py
in blog_post_detail
@render_to("blog/post_detail.html")
def blog_post_detail(request, post_slug):
ws_settings = get_website_settings()
is_local_blog_post_request = request_is_for_local_blog(request, ws_settings)
if ws_settings.include_api_blogposts and not is_local_blog_post_request:
post = get_api_object("blogpost", {'slug':post_slug})...
if post:
key = request.GET.get('key', None)
view_allowed = True
if post["is_premium"] and not request.user.is_authenticated() and key != post["secret_key"] and not request.session.get('premium_access_backdoor', False):
view_allowed = False
return {'post':post, 'view_allowed':view_allowed}
Variable | Value |
---|---|
is_local_blog_post_request | False |
post_slug | u'iic-partners-expands-global-footprint-eight-new-co' |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': '0d0e0521d37c0fd87a856ebcd2037758', 'DOCUMENT_ROOT': '/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'cnintl.com', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '3.238.79.169', 'HTTP_X_REAL_IP': '3.238.79.169', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'PATH_TRANSLATED': '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/configs/production/production.wsgi/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '45096', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SCRIPT_FILENAME': '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/configs/production/production.wsgi', 'SCRIPT_NAME': u'', 'SCRIPT_URI': 'http://cnintl.com/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SCRIPT_URL': '/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': '[no address given]', 'SERVER_NAME': 'cnintl.com', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '', 'SERVER_SOFTWARE': 'Apache/2.2.14 (Ubuntu)', 'mod_wsgi.application_group': 'cnintl.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '81', 'mod_wsgi.process_group': 'cnintl', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'mod_wsgi.version': (2, 8), 'wsgi.errors': <mod_wsgi.Log object at 0x517ed20>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x51b9e30>, 'wsgi.input': <mod_wsgi.Input object at 0x559dac0>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> |
ws_settings | <WebsiteSetting: Active Website Settings #1> |
/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/apps/core/utils.py
in __call__
self.cache = {}
def __call__(self, *args, **kwargs):
key = str(args) + str(kwargs)
try:
return self.cache[key]
except KeyError:
self.cache[key] = rval = self.fun(*args, **kwargs)...
return rval
except TypeError: # incase key isn't a valid key - don't cache
return self.fun(*args, **kwargs)
@cache
def get_website_settings():
Variable | Value |
---|---|
self | <apps.core.utils.cache object at 0x326534c> |
args | ('blogpost', {'slug': u'iic-partners-expands-global-footprint-eight-new-co'}) |
key | "('blogpost', {'slug': u'iic-partners-expands-global-footprint-eight-new-co'}){}" |
kwargs | {} |
/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/apps/core/utils.py
in get_api_object
return simplejson.load(result)["objects"]
@cache
def get_api_object(entity, filter_dict):
"""
Retrieves a single object from the IIC Partners API
"""
results = get_api_list(entity, filter_dict)...
if results:
results = results[0]
else:
results = None
Variable | Value |
---|---|
filter_dict | {'slug': u'iic-partners-expands-global-footprint-eight-new-co'} |
entity | 'blogpost' |
/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/apps/core/utils.py
in __call__
self.cache = {}
def __call__(self, *args, **kwargs):
key = str(args) + str(kwargs)
try:
return self.cache[key]
except KeyError:
self.cache[key] = rval = self.fun(*args, **kwargs)...
return rval
except TypeError: # incase key isn't a valid key - don't cache
return self.fun(*args, **kwargs)
@cache
def get_website_settings():
Variable | Value |
---|---|
self | <apps.core.utils.cache object at 0x326532c> |
args | ('blogpost', {'slug': u'iic-partners-expands-global-footprint-eight-new-co'}) |
key | "('blogpost', {'slug': u'iic-partners-expands-global-footprint-eight-new-co'}){}" |
kwargs | {} |
/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/apps/core/utils.py
in get_api_list
if settings.IIC_API_USERNAME != "" and settings.IIC_API_PASSWORD != "":
request = urllib2.Request(_url)
base64string = base64.encodestring('%s:%s' % (settings.IIC_API_USERNAME, settings.IIC_API_PASSWORD)).replace('\n', '')
request.add_header("Authorization", "Basic %s" % base64string)
result = urllib2.urlopen(request)
else:
result = urllib2.urlopen(_url)...
return simplejson.load(result)["objects"]
@cache
def get_api_object(entity, filter_dict):
"""
Variable | Value |
---|---|
_filters | u'slug=iic-partners-expands-global-footprint-eight-new-co' |
_url | u'http://old.iicpartners.com/api/v1/blogpost/?format=json&slug=iic-partners-expands-global-footprint-eight-new-co' |
filter_dict | {'slug': u'iic-partners-expands-global-footprint-eight-new-co'} |
value | u'iic-partners-expands-global-footprint-eight-new-co' |
entity | 'blogpost' |
key | 'slug' |
/usr/lib/python2.6/urllib2.py
in urlopen
__version__ = sys.version[:3]
_opener = None
def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
global _opener
if _opener is None:
_opener = build_opener()
return _opener.open(url, data, timeout)...
def install_opener(opener):
global _opener
_opener = opener
# do these error classes make sense?
Variable | Value |
---|---|
url | u'http://old.iicpartners.com/api/v1/blogpost/?format=json&slug=iic-partners-expands-global-footprint-eight-new-co' |
data | None |
timeout | <object object at 0xb62594d8> |
/usr/lib/python2.6/urllib2.py
in open
response = self._open(req, data)
# post-process response
meth_name = protocol+"_response"
for processor in self.process_response.get(protocol, []):
meth = getattr(processor, meth_name)
response = meth(req, response)...
return response
def _open(self, req, data=None):
result = self._call_chain(self.handle_open, 'default',
'default_open', req)
Variable | Value |
---|---|
protocol | u'http' |
self | <urllib2.OpenerDirector instance at 0x55eb98c> |
req | <urllib2.Request instance at 0x4f12bac> |
meth_name | u'http_response' |
processor | <urllib2.HTTPErrorProcessor instance at 0x55eb60c> |
timeout | <object object at 0xb62594d8> |
meth | <bound method HTTPErrorProcessor.http_response of <urllib2.HTTPErrorProcessor instance at 0x55eb60c>> |
data | None |
response | <addinfourl at 89415500 whose fp = <socket._fileobject object at 0x51a552c>> |
fullurl | u'http://old.iicpartners.com/api/v1/blogpost/?format=json&slug=iic-partners-expands-global-footprint-eight-new-co' |
/usr/lib/python2.6/urllib2.py
in http_response
def http_response(self, request, response):
code, msg, hdrs = response.code, response.msg, response.info()
# According to RFC 2616, "2xx" code indicates that the client's
# request was successfully received, understood, and accepted.
if not (200 <= code < 300):
response = self.parent.error(
'http', request, response, code, msg, hdrs)...
return response
https_response = http_response
class HTTPDefaultErrorHandler(BaseHandler):
Variable | Value |
---|---|
code | 403 |
hdrs | <httplib.HTTPMessage instance at 0x559270c> |
self | <urllib2.HTTPErrorProcessor instance at 0x55eb60c> |
request | <urllib2.Request instance at 0x4f12bac> |
msg | 'Forbidden' |
response | <addinfourl at 89415500 whose fp = <socket._fileobject object at 0x51a552c>> |
/usr/lib/python2.6/urllib2.py
in error
args = (dict, proto, meth_name) + args
result = self._call_chain(*args)
if result:
return result
if http_err:
args = (dict, 'default', 'http_error_default') + orig_args
return self._call_chain(*args)...
# XXX probably also want an abstract factory that knows when it makes
# sense to skip a superclass in favor of a subclass and when it might
# make sense to include both
def build_opener(*handlers):
Variable | Value |
---|---|
orig_args | (<urllib2.Request instance at 0x4f12bac>, <addinfourl at 89415500 whose fp = <socket._fileobject object at 0x51a552c>>, 403, 'Forbidden', <httplib.HTTPMessage instance at 0x559270c>) |
proto | 403 |
self | <urllib2.OpenerDirector instance at 0x55eb98c> |
args | ({301: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 302: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 303: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 307: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 'default': [<urllib2.HTTPDefaultErrorHandler instance at 0x55eb42c>]}, 'default', 'http_error_default', <urllib2.Request instance at 0x4f12bac>, <addinfourl at 89415500 whose fp = <socket._fileobject object at 0x51a552c>>, 403, 'Forbidden', <httplib.HTTPMessage instance at 0x559270c>) |
meth_name | 'http_error_403' |
dict | {301: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 302: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 303: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 307: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 'default': [<urllib2.HTTPDefaultErrorHandler instance at 0x55eb42c>]} |
result | None |
http_err | 1 |
/usr/lib/python2.6/urllib2.py
in _call_chain
# Handlers raise an exception if no one else should try to handle
# the request, or return None if they can't but another handler
# could. Otherwise, they return the response.
handlers = chain.get(kind, ())
for handler in handlers:
func = getattr(handler, meth_name)
result = func(*args)...
if result is not None:
return result
def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
# accept a URL or a Request object
if isinstance(fullurl, basestring):
Variable | Value |
---|---|
kind | 'default' |
chain | {301: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 302: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 303: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 307: [<urllib2.HTTPRedirectHandler instance at 0x55eb66c>], 'default': [<urllib2.HTTPDefaultErrorHandler instance at 0x55eb42c>]} |
handlers | [<urllib2.HTTPDefaultErrorHandler instance at 0x55eb42c>] |
self | <urllib2.OpenerDirector instance at 0x55eb98c> |
args | (<urllib2.Request instance at 0x4f12bac>, <addinfourl at 89415500 whose fp = <socket._fileobject object at 0x51a552c>>, 403, 'Forbidden', <httplib.HTTPMessage instance at 0x559270c>) |
meth_name | 'http_error_default' |
handler | <urllib2.HTTPDefaultErrorHandler instance at 0x55eb42c> |
func | <bound method HTTPDefaultErrorHandler.http_error_default of <urllib2.HTTPDefaultErrorHandler instance at 0x55eb42c>> |
/usr/lib/python2.6/urllib2.py
in http_error_default
return response
https_response = http_response
class HTTPDefaultErrorHandler(BaseHandler):
def http_error_default(self, req, fp, code, msg, hdrs):
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)...
class HTTPRedirectHandler(BaseHandler):
# maximum number of redirections to any single URL
# this is needed because of the state that cookies introduce
max_repeats = 4
# maximum total number of redirections (regardless of URL) before
Variable | Value |
---|---|
fp | <addinfourl at 89415500 whose fp = <socket._fileobject object at 0x51a552c>> |
code | 403 |
hdrs | <httplib.HTTPMessage instance at 0x559270c> |
self | <urllib2.HTTPDefaultErrorHandler instance at 0x55eb42c> |
req | <urllib2.Request instance at 0x4f12bac> |
msg | 'Forbidden' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.reload_mechanism | '1' |
mod_wsgi.listener_port | '81' |
SERVER_SOFTWARE | 'Apache/2.2.14 (Ubuntu)' |
SCRIPT_NAME | u'' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/' |
SERVER_PROTOCOL | 'HTTP/1.0' |
QUERY_STRING | '' |
PATH | '/usr/local/bin:/usr/bin:/bin' |
HTTP_X_REAL_IP | '3.238.79.169' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
SERVER_NAME | 'cnintl.com' |
REMOTE_ADDR | '127.0.0.1' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/configs/production/production.wsgi/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/' |
SERVER_PORT | '80' |
wsgi.multiprocess | False |
SERVER_ADDR | '127.0.0.1' |
DOCUMENT_ROOT | '/htdocs' |
mod_wsgi.process_group | 'cnintl' |
SCRIPT_FILENAME | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/configs/production/production.wsgi' |
SERVER_ADMIN | '[no address given]' |
SCRIPT_URI | 'http://cnintl.com/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/' |
wsgi.input | <mod_wsgi.Input object at 0x559dac0> |
HTTP_HOST | 'cnintl.com' |
SCRIPT_URL | '/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/executive-lounge/iic-partners-expands-global-footprint-eight-new-co/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_X_FORWARDED_FOR | '3.238.79.169' |
wsgi.errors | <mod_wsgi.Log object at 0x517ed20> |
REMOTE_PORT | '45096' |
mod_wsgi.listener_host | '' |
mod_wsgi.version | (2, 8) |
wsgi.run_once | False |
mod_wsgi.application_group | 'cnintl.com|' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | '0d0e0521d37c0fd87a856ebcd2037758' |
iic_branded.configs.production.settings
Setting | Value |
---|---|
CACHE_COUNT_TIMEOUT | 60 |
ADDTHIS_KEY | 'ra-4d87f7de6c9ab011' |
SOCIALACCOUNT_ENABLED | True |
FILEBROWSER_VERSIONS | {'blog_detail_photo': {'height': 190, 'opts': 'crop upscale', 'verbose_name': 'Blog Detail Photo', 'width': 290}, 'blog_detail_photo_wide': {'height': 190, 'opts': 'crop upscale', 'verbose_name': 'Blog Detail Photo', 'width': 690}, 'blog_featured': {'height': 244, 'opts': 'crop upscale', 'verbose_name': 'Blog Featured Image', 'width': 689}, 'blog_image_thumb': {'height': 74, 'opts': 'crop upscale', 'verbose_name': 'Blog Image Thumb', 'width': 137}, 'blog_image_thumb_portrait': {'height': 196, 'opts': 'crop upscale', 'verbose_name': 'Blog Image Thumb (portrait)', 'width': 137}, 'fb_thumb': {'height': 60, 'opts': 'crop upscale', 'verbose_name': 'Admin Thumbnail', 'width': 60}, 'footer_featured_thumb': {'height': 76, 'opts': 'crop upscale', 'verbose_name': 'Footer Featured Thumb', 'width': 139}, 'header_logo': {'height': 72, 'opts': 'crop upscale', 'verbose_name': 'Footer Featured Thumb', 'width': ''}, 'header_logo_sm': {'height': 56, 'opts': 'crop upscale', 'verbose_name': 'Footer Featured Thumb', 'width': ''}, 'large': {'height': '', 'opts': '', 'verbose_name': 'Large (530px)', 'width': 530}, 'location_banner_photo': {'height': 184, 'opts': 'crop upscale', 'verbose_name': 'Office Banner Photo', 'width': 780}, 'medium': {'height': '', 'opts': '', 'verbose_name': 'Medium (370px)', 'width': 370}, 'office_person_thumb_medium': {'height': 161, 'opts': 'crop upscale', 'verbose_name': 'Office Person Thumb - Medium', 'width': 122}, 'office_person_thumb_medium2': {'height': '', 'opts': 'crop', 'verbose_name': 'Office Person Thumb - Medium', 'width': 122}, 'office_person_thumb_medium3': {'height': '', 'opts': 'crop', 'verbose_name': 'Office Person Thumb - Medium', 'width': 200}, 'office_person_thumb_small': {'height': 79, 'opts': 'crop upscale', 'verbose_name': 'Office Person Thumb - Small', 'width': 60}, 'portrait_thumb': {'height': 51, 'opts': 'crop upscale', 'verbose_name': 'Portrait Thumb', 'width': 48}, 'portrait_thumb3': {'height': '', 'opts': 'crop upscale', 'verbose_name': 'Portrait Thumb', 'width': 39}, 'portrait_thumb_48': {'height': 48, 'opts': 'crop upscale', 'verbose_name': 'Portrait Thumb (48x48)', 'width': 48}, 'portrait_thumb_48x63': {'height': 63, 'opts': 'crop upscale', 'verbose_name': 'Portrait Thumb (48x63)', 'width': 48}, 'practicegroup_banner_photo': {'height': 164, 'opts': 'crop upscale', 'verbose_name': 'Practice Group Banner Photo', 'width': 697}, 'small': {'height': '', 'opts': '', 'verbose_name': 'Small (210px)', 'width': 210}, 'thumb': {'height': 150, 'opts': 'crop upscale', 'verbose_name': 'Grid Thumb', 'width': 150}, 'two_col_header_back': {'height': 152, 'opts': 'crop upscale', 'verbose_name': 'Two Columns of Text - Header Back', 'width': 687}} |
GRAPPELLI_INDEX_DASHBOARD | 'dashboard.CustomIndexDashboard' |
EMAIL_USE_TLS | False |
HAYSTACK_SEARCH_ENGINE | 'whoosh' |
TINYMCE_JS_ROOT | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/media/grappelli/tinymce/jscripts/tiny_mce/' |
HAYSTACK_WHOOSH_PATH | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/whoosh_index' |
NUMBER_GROUPING | 0 |
RECAPTCHA_PRIVATE_KEY | '6LfA9ucSAAAAAJ7lw2cCZvto0EsHSfdBHj4EizbH' |
LANGUAGE_CODE | 'en' |
ROOT_URLCONF | 'iic_branded.configs.common.urls' |
LOGIN_URL | '/accounts/signin/' |
PROJECT_INFO_EMAIL_ADDRESS | 'info@iic.rawjam.co.uk' |
DEFAULT_CHARSET | 'utf-8' |
CMS_MEDIA_ROOT | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/media/cms/' |
ACCOUNT_EMAIL_REQUIRED | True |
CMS_SHOW_START_DATE | True |
CMS_SITE_CHOICES_CACHE_KEY | 'CMS:site_choices' |
TINYMCE_JS_URL | '/static/grappelli/tinymce/jscripts/tiny_mce/tiny_mce.js' |
DEFAULT_LANGUAGE | 0 |
EXEC_LOUNGE_BACKDOOR_KEY | 'BN02ME1CNTMLEVG' |
DJANGO_ROOT | '/home/rawjam/sites/iic_branded/cnintl/env/lib/python2.6/site-packages/django' |
CMS_MODERATOR | False |
GOOGLE_MAPS_API_KEY | '' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage' |
DATABASE_HOST | '' |
PREFIX_DEFAULT_LOCALE | False |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
SECRET_KEY | '********************' |
CMS_TEMPLATE_INHERITANCE_MAGIC | 'INHERIT' |
URL_VALIDATOR_USER_AGENT | 'Django/1.3.1 (http://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
CMS_MEDIA_URL | '/media/cms/' |
CMS_SHOW_END_DATE | True |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'iic_branded_cnintl', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/London', 'USER': 'postgres'}} |
FILEBROWSER_ADMIN_THUMBNAIL | 'fb_thumb' |
TEST_DATABASE_NAME | None |
PLACEHOLDER_FRONTEND_EDITING | True |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DJANGO_STATIC | True |
DEFAULT_CONTENT_TYPE | 'text/html' |
ACCOUNT_EMAIL_VERIFICATION | False |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
CMS_PLUGIN_PROCESSORS | () |
CMS_MENU_TITLE_OVERWRITE | True |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'KEY_PREFIX': 'iic_branded_cnintl:', 'LOCATION': '127.0.0.1:11211'}} |
ACCOUNT_ACTIVATION_ADMINS | ['ben@rawjam.co.uk'] |
CMS_FRONTEND_LANGUAGES | ['en'] |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
IIC_API_USERNAME | '' |
USE_X_FORWARDED_HOST | False |
CMS_TEMPLATE_INHERITANCE | True |
HAYSTACK_DEFAULT_OPERATOR | 'OR' |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
FILE_UPLOAD_TEMP_DIR | None |
CMS_TEMPLATES | (('cms/home.html', 'Home Page'), ('cms/home2.html', 'Home Page 2'), ('cms/home3.html', 'Home Page (with translatable title)'), ('cms/global_offices.html', 'Global Offices'), ('cms/media_centre.html', 'Media Centre'), ('cms/subpage_simple.html', 'Standard Subpage'), ('cms/subpage_wider.html', 'Standard Subpage (wider)'), ('cms/subpage_simple_subbody.html', 'Standard Subpage - Sub Body'), ('cms/subpage_simple_noblock.html', 'Standard Subpage - No Block'), ('cms/subpage_simple_noblock_largelogo.html', 'Standard Subpage - No Block / Large Logo'), ('cms/subpage_simple_notitle.html', 'Standard Subpage - No Title'), ('cms/subpage_simple_nointro.html', 'Standard Subpage - No Intro'), ('cms/full_width.html', 'Full Width (Black Background)'), ('cms/full_width_whitebg.html', 'Full Width (White Background)'), ('cms/iic_about_page.html', 'About IIC Partners'), ('INHERIT', <django.utils.functional.__proxy__ object at 0x2dbdd8c>)) |
CMS_CACHE_PREFIX | 'iic_menu_cnintl:' |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
CMS_LANGUAGES | (('en', 'English'),) |
LANGUAGE_COOKIE_NAME | 'django_language' |
CMS_USE_TINYMCE | True |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
SESSION_COOKIE_AGE | 1209600 |
FILEBROWSER_IMAGE_MAXBLOCK | 1048576 |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
CMS_REDIRECTS | False |
TEMPLATE_DEBUG | True |
CSRF_COOKIE_NAME | 'csrftoken' |
TEST_DATABASE_COLLATION | None |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'johnny.backends.memcached://127.0.0.1:11211' |
FILEBROWSER_PATH_FILEBROWSER_MEDIA | '/static/filebrowser/' |
SOCIALACCOUNT_QUERY_EMAIL | True |
SESSION_COOKIE_SECURE | False |
CMS_SOFTROOT | True |
SITE_ROOT | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded' |
CMS_LANGUAGE_FALLBACK | True |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CMS_CONTENT_CACHE_DURATION | 60 |
SESSION_FILE_PATH | None |
CMS_APPHOOKS | () |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['localeurl', 'mothertongue', 'rosetta', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'grappelli.dashboard', 'grappelli', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.comments', 'django.contrib.markup', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'south', 'tinymce', 'filebrowser', 'django_extensions', 'uni_form', 'django_static', 'johnny', 'tagging', 'tagging_autocomplete', 'smart_selects', 'pagination', 'haystack', 'emailconfirmation', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.twitter', 'allauth.openid', 'allauth.facebook', 'apps.common', 'apps.core', 'apps.profile', 'apps.iic', 'apps.practicegroup', 'apps.office', 'apps.insight', 'apps.blog', 'apps.mediacentre', 'cms', 'mptt', 'menus', 'cms.plugins.text', 'cms.plugins.picture', 'cms.plugins.link', 'cms.plugins.file', 'cms.plugins.snippet', 'cms.plugins.googlemap', 'cms.plugins.inherit', 'cms_search', 'apps.cmsplugin_contact', 'sekizai'] |
DJANGO_STATIC_SAVE_PREFIX | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/media/cache-forever' |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
USE_L10N | True |
DATABASE_ENGINE | '' |
STATIC_ROOT | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/static' |
DATABASE_NAME | '' |
COMMENTS_FIRST_FEW | 0 |
PREPEND_WWW | False |
GRAPPELLI_ADMIN_TITLE | "IIC Partners' Branded Website Administration" |
SESSION_COOKIE_HTTPONLY | False |
DATABASE_PORT | '' |
CMS_PAGE_MEDIA_PATH | 'uploads/cms_media/' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CONTACT_EMAIL | 'support@iic.com' |
FILEBROWSER_EXTENSIONS | {'Code': ['.html', '.py', '.js', '.css'], 'Document': ['.pdf', '.doc', '.rtf', '.txt', '.xls', '.csv'], 'Folder': [''], 'Image': ['.jpg', '.jpeg', '.gif', '.png', '.tif', '.tiff'], 'Sound': ['.mp3', '.mp4', '.wav', '.aiff', '.midi', '.m4p'], 'Video': ['.mov', '.wmv', '.mpeg', '.mpg', '.avi', '.rm', '.swf'], 'file': ['Folder', 'Image', 'Document'], 'image': ['Image']} |
LOG_FILENAME | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/../iic_branded/configs/production/logging.conf' |
MONTH_DAY_FORMAT | 'F j' |
LOCALEURL_USE_ACCEPT_LANGUAGE | True |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
OPENID_ENABLED | False |
SESSION_SAVE_EVERY_REQUEST | False |
GOOGLE_ANALYTICS_CODE | 'UA-XXXXX-X' |
EMAIL_CONFIRMATION_DAYS | 99 |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
TIME_FORMAT | 'P' |
HAYSTACK_SITECONF | 'configs.common.search_sites' |
FACEBOOK_ENABLED | True |
TEST_DATABASE_CHARSET | None |
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') |
TWITTER_ENABLED | True |
IIC_API_DOMAIN | 'http://old.iicpartners.com' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend', 'allauth.account.auth_backends.AuthenticationBackend') |
EMAIL_HOST_PASSWORD | '********************' |
GRAPPELLI_ADMIN_URL | '/admin' |
SHARETHIS_PUBLISHER_KEY | 'f3129d97-8846-4ead-a850-726b9901d0f1' |
AUTH_PROFILE_MODULE | 'profile.UserProfile' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CMS_PLUGIN_CONTEXT_PROCESSORS | () |
ADMIN_MEDIA_PREFIX | '/static/grappelli/' |
CMS_URL_OVERWRITE | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
COMMENTS_SKETCHY_USERS_GROUP | None |
LOGIN_REDIRECT_URL | '/accounts/dashboard/' |
SOCIALACCOUNT_AVATAR_SUPPORT | False |
CMS_CACHE_DURATIONS | {'content': 60, 'menus': 3600, 'permissions': 3600} |
DECIMAL_SEPARATOR | '.' |
CMS_SEO_FIELDS | True |
CACHE_MIDDLEWARE_KEY_PREFIX | 'iic_branded_cnintl:' |
LOCALE_PATHS | () |
JOHNNY_MIDDLEWARE_KEY_PREFIX | 'jc_iic_branded_cnintl' |
TEMPLATE_STRING_IF_INVALID | '' |
DISALLOWED_USER_AGENTS | () |
FILEBROWSER_MAX_UPLOAD_SIZE | 10485760 |
CMS_HIDE_UNTRANSLATED | True |
LOGOUT_URL | '/accounts/logout/' |
DEFAULT_PROFILE_IMAGE | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/media/uploads/iic_defaults/profile_portrait_default.png' |
DJANGO_STATIC_USE_SYMLINK | True |
TEMPLATE_DIRS | ('/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/templates',) |
EMAIL_MANAGER | ['ben@rawjam.co.uk'] |
HAYSTACK_WHOOSH_POST_LIMIT | 268435456 |
CMS_PUBLIC_FOR | 'all' |
FIXTURE_DIRS | () |
EMAIL_HOST | 'mail.cnintl.com' |
DATE_FORMAT | 'N j, Y' |
SOCIALACCOUNT_AUTO_SIGNUP | True |
MEDIA_ROOT | '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/media' |
DJANGO_STATIC_MEDIA_URL_ALWAYS | True |
ADMINS | ('ben@rawjam.co.uk',) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'cni@cnintl.com' |
VER_NO | 0.90000000000000002 |
STATICFILES_DIRS | () |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
CMS_PAGE_CHOICES_CACHE_KEY | 'CMS:page_choices' |
TWITTER_TIMEOUT | 300 |
HAYSTACK_SEARCH_RESULTS_PER_PAGE | 20 |
CMS_TITLE_CHARACTER | '+' |
SITE_ID | 1 |
CMS_PERMISSION | False |
ALLOWED_INCLUDE_ROOTS | () |
FILEBROWSER_ADMIN_VERSIONS | ['thumb', 'small', 'medium', 'large'] |
USE_THOUSAND_SEPARATOR | False |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
HAYSTACK_WHOOSH_STORAGE | 'file' |
DATABASE_USER | '' |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'johnny.middleware.LocalStoreClearMiddleware', 'johnny.middleware.QueryCacheMiddleware', 'pagination.middleware.PaginationMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'threadlocals.middleware.ThreadLocalMiddleware') |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
ACCOUNT_EMAIL_AUTHENTICATION | True |
TIME_ZONE | 'Europe/London' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
MANAGERS | (('Benjamin Dell', 'ben@rawjam.co.uk'),) |
FILEBROWSER_URL_FILEBROWSER_MEDIA | '/static/filebrowser/' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
CMS_MEDIA_PATH | 'cms/' |
CMS_FLAT_URLS | False |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.request', 'django.contrib.messages.context_processors.messages', 'apps.common.utils.context_processors.app_wide_vars', 'allauth.context_processors.allauth', 'allauth.account.context_processors.account', 'cms.context_processors.media', 'sekizai.context_processors.sekizai', 'apps.core.context_processors.brandedwebsite_context_vars', 'django.core.context_processors.i18n') |
COMMENTS_ALLOW_PROFANITIES | False |
SETTINGS_MODULE | 'iic_branded.configs.production.settings' |
USE_ETAGS | False |
PROJECT_NAME | 'iic' |
PROJECT_SITE_DOMAIN | 'iic.rawjam.co.uk' |
LANGUAGES | (('en', 'English'),) |
CMS_LANGUAGE_CONF | {} |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | '81.149.235.248' |
STATIC_URL | '/static/' |
ACCOUNT_USERNAME_REQUIRED | False |
EMAIL_PORT | 25 |
CACHE_PREFIX | 'iic_branded_cnintl:' |
DJANGO_STATIC_NAME_PREFIX | 'cache-forever/' |
TAGGING_AUTOCOMPLETE_JS_BASE_URL | '/static/lib' |
CMS_PLACEHOLDER_CONF | {'company_name': {'name': 'Title (Company Name)', 'plugins': 'SimpleTextPlugin'}, 'welcome_to': {'name': 'Title (Welcome To)', 'plugins': 'SimpleTextPlugin'}} |
ACCOUNT_UNIQUE_EMAIL | True |
ABSOLUTE_URL_OVERRIDES | {} |
DATABASE_OPTIONS | {} |
DJANGO_STATIC_MEDIA_URL | '/media/' |
CACHE_MIDDLEWARE_SECONDS | 5400 |
IIC_API_PASSWORD | '********************' |
BANNED_IPS | () |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y') |
DATABASE_PASSWORD | '********************' |
COMMENTS_MODERATORS_GROUP | None |
PROFANITIES_LIST | '********************' |
DJANGO_STATIC_MEDIA_ROOTS | ['/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/apps/common/static', '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/static', '/home/rawjam/sites/iic_branded/cnintl/repository/iic_branded/media'] |
CMS_SITE_LANGUAGES | {} |
EMAIL_HOST_USER | 'cni@cnintl.com' |
COMMENTS_BANNED_USERS_GROUP | None |
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.