Control characters are not supported in XML 1.0
Request Method: | GET |
---|---|
Request URL: | https://www.nipfp.org.in/blog/feed/ |
Django Version: | 1.9.9 |
Exception Type: | UnserializableContentError |
Exception Value: | Control characters are not supported in XML 1.0 |
Exception Location: | /etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages/django/utils/xmlutils.py in characters, line 27 |
Python Executable: | /usr/bin/uwsgi-core |
Python Version: | 2.7.18 |
Python Path: | ['/etc/uwsgi-emperor/vassals/nipfp-portal/work/lib/', '/etc/uwsgi-emperor/vassals/nipfp-portal/work/apps/', '.', '', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-aarch64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages'] |
Server time: | मंगल, 19 मा 2024 04:38:22 +0000 |
/etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
e | UnserializableContentError('Control characters are not supported in XML 1.0',) |
callback_args | () |
resolver_match | ResolverMatch(func=elephantblog.feeds.EntryFeed, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0xffff9c0ef690>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0xffff9de57150> |
request | <WSGIRequest: GET '/blog/feed/'> |
callback | <elephantblog.feeds.EntryFeed object at 0xffff9b8bce50> |
wrapped_callback | <elephantblog.feeds.EntryFeed object at 0xffff9b8bce50> |
resolver | <RegexURLResolver 'conf.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'conf.urls' |
/etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
e | UnserializableContentError('Control characters are not supported in XML 1.0',) |
callback_args | () |
resolver_match | ResolverMatch(func=elephantblog.feeds.EntryFeed, args=(), kwargs={}, url_name=None, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0xffff9c0ef690>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0xffff9de57150> |
request | <WSGIRequest: GET '/blog/feed/'> |
callback | <elephantblog.feeds.EntryFeed object at 0xffff9b8bce50> |
wrapped_callback | <elephantblog.feeds.EntryFeed object at 0xffff9b8bce50> |
resolver | <RegexURLResolver 'conf.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'conf.urls' |
/etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages/django/contrib/syndication/views.py
in __call__
feedgen = self.get_feed(obj, request)
response = HttpResponse(content_type=feedgen.content_type)
if hasattr(self, 'item_pubdate') or hasattr(self, 'item_updateddate'):
# if item_pubdate or item_updateddate is defined for the feed, set
# header so as ConditionalGetMiddleware is able to send 304 NOT MODIFIED
response['Last-Modified'] = http_date(
timegm(feedgen.latest_post_date().utctimetuple()))
feedgen.write(response, 'utf-8')...
return response
def item_title(self, item):
# Titles should be double escaped by default (see #6533)
return escape(force_text(item))
Variable | Value |
---|---|
obj | None |
feedgen | <django.utils.feedgenerator.Rss201rev2Feed object at 0xffff9acc1690> |
self | <elephantblog.feeds.EntryFeed object at 0xffff9b8bce50> |
args | () |
request | <WSGIRequest: GET '/blog/feed/'> |
kwargs | {} |
response | <HttpResponse status_code=200, "application/rss+xml; charset=utf-8"> |
/etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages/django/utils/feedgenerator.py
in write
def write(self, outfile, encoding):
handler = SimplerXMLGenerator(outfile, encoding)
handler.startDocument()
handler.startElement("rss", self.rss_attributes())
handler.startElement("channel", self.root_attributes())
self.add_root_elements(handler)
self.write_items(handler)...
self.endChannelElement(handler)
handler.endElement("rss")
def rss_attributes(self):
return {"version": self._version,
"xmlns:atom": "http://www.w3.org/2005/Atom"}
Variable | Value |
---|---|
outfile | <HttpResponse status_code=200, "application/rss+xml; charset=utf-8"> |
self | <django.utils.feedgenerator.Rss201rev2Feed object at 0xffff9acc1690> |
handler | <django.utils.xmlutils.SimplerXMLGenerator instance at 0xffff9aff1e60> |
encoding | u'utf-8' |
/etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages/django/utils/feedgenerator.py
in write_items
def rss_attributes(self):
return {"version": self._version,
"xmlns:atom": "http://www.w3.org/2005/Atom"}
def write_items(self, handler):
for item in self.items:
handler.startElement('item', self.item_attributes(item))
self.add_item_elements(handler, item)...
handler.endElement("item")
def add_root_elements(self, handler):
handler.addQuickElement("title", self.feed['title'])
handler.addQuickElement("link", self.feed['link'])
handler.addQuickElement("description", self.feed['description'])
Variable | Value |
---|---|
item | {u'author_email': None, u'author_link': None, u'author_name': None, u'categories': (), u'comments': None, u'description': u'<div class="box">\n <div style="text-align: justify;">\r\n\t<em>High interest rate affects public debt management when debt servicing becomes costlier. The pragmatic baseline for the G20 fiscal sustainability is to have a check on the cost of borrowing and rate of economic growth, opt for debt restructuring and go soft on numerical thresholds.</em></div>\r\n<div style="text-align: justify;">\r\n\t </div>\r\n<div>\r\n\t<div style="text-align: justify;">\r\n\t\tIn a low-interest rate regime, high public debt can be defended if it is used for strengthening capital infrastructure. However, with interest rates rising globally, public debt management has become costlier. Fiscal policymakers are now facing huge pressure to consolidate high debt and deficits and to return to medium-term fiscal consolidation. If fiscal consolidation happens through revenue buoyancy, there is nothing to fear. However, consolidation through public expenditure compression can affect the economic growth recovery process.</div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tGiven that the monetary policy stance is entirely focused on price stability, economic growth has become the priority of fiscal authorities. However, with rising fiscal risks, there is a growing recognition among finance ministries of the G20 countries that deficits need to be “consolidated”. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tIndia’s <u><strong>finance minister Nirmala Sitaraman</strong></u> has already clearly articulated that public debt management will be a priority issue in the G20 forum for India, and she has categorically highlighted the need to go soft on external debt of emerging and developing countries. The point to be noted here is that she has spoken about <u><strong>debt restructuring</strong></u> from an international public policy perspective. In India, the external financing of public debt is very negligible. Unlike Pakistan and Sri Lanka, we finance the deficits predominantly through internal bond issuances. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\t<strong>Capping Interest Payments</strong></div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tA well-articulated fiscal sustainability path and <u><strong>debt restructuring</strong></u> will receive attention at the G20 forum. The discretionary space available to fiscal authorities is indeed the public expenditure minus interest payments. If the interest payments to revenue receipts mount to above 25-30 percent, it can crowd out the productive public expenditure. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tYet another crucial articulation about the renewed fiscal rules is about the debt-GDP threshold ratios. How to provide guidance to countries to bring down public debt to GDP ratios without huge expenditure compression. The fiscal rules and the medium-term fiscal consolidation frameworks require fresh deliberation at the G20 meetings. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tFiscal sustainability will also be interpreted by markets if countries are able to 'grow out of debt’. Instead of rigid debt numerical thresholds to GDP, investors’ confidence can be boosted if the country experiences a growth rate (g) greater than the real interest rates (r). If the cost of borrowing (r) is below the growth of the economy (g), markets will be happy, as it is a clear condition for fiscal sustainability and strong macroeconomic fundamentals. As long as r<g, there is fiscal sustainability. However, markets have the tendency to go... <trimmed 8628 bytes string> |
self | <django.utils.feedgenerator.Rss201rev2Feed object at 0xffff9acc1690> |
handler | <django.utils.xmlutils.SimplerXMLGenerator instance at 0xffff9aff1e60> |
/etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages/django/utils/feedgenerator.py
in add_item_elements
# Spec: http://blogs.law.harvard.edu/tech/rss
_version = "2.0"
def add_item_elements(self, handler, item):
handler.addQuickElement("title", item['title'])
handler.addQuickElement("link", item['link'])
if item['description'] is not None:
handler.addQuickElement("description", item['description'])...
# Author information.
if item["author_name"] and item["author_email"]:
handler.addQuickElement("author", "%s (%s)" %
(item['author_email'], item['author_name']))
elif item["author_email"]:
Variable | Value |
---|---|
item | {u'author_email': None, u'author_link': None, u'author_name': None, u'categories': (), u'comments': None, u'description': u'<div class="box">\n <div style="text-align: justify;">\r\n\t<em>High interest rate affects public debt management when debt servicing becomes costlier. The pragmatic baseline for the G20 fiscal sustainability is to have a check on the cost of borrowing and rate of economic growth, opt for debt restructuring and go soft on numerical thresholds.</em></div>\r\n<div style="text-align: justify;">\r\n\t </div>\r\n<div>\r\n\t<div style="text-align: justify;">\r\n\t\tIn a low-interest rate regime, high public debt can be defended if it is used for strengthening capital infrastructure. However, with interest rates rising globally, public debt management has become costlier. Fiscal policymakers are now facing huge pressure to consolidate high debt and deficits and to return to medium-term fiscal consolidation. If fiscal consolidation happens through revenue buoyancy, there is nothing to fear. However, consolidation through public expenditure compression can affect the economic growth recovery process.</div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tGiven that the monetary policy stance is entirely focused on price stability, economic growth has become the priority of fiscal authorities. However, with rising fiscal risks, there is a growing recognition among finance ministries of the G20 countries that deficits need to be “consolidated”. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tIndia’s <u><strong>finance minister Nirmala Sitaraman</strong></u> has already clearly articulated that public debt management will be a priority issue in the G20 forum for India, and she has categorically highlighted the need to go soft on external debt of emerging and developing countries. The point to be noted here is that she has spoken about <u><strong>debt restructuring</strong></u> from an international public policy perspective. In India, the external financing of public debt is very negligible. Unlike Pakistan and Sri Lanka, we finance the deficits predominantly through internal bond issuances. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\t<strong>Capping Interest Payments</strong></div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tA well-articulated fiscal sustainability path and <u><strong>debt restructuring</strong></u> will receive attention at the G20 forum. The discretionary space available to fiscal authorities is indeed the public expenditure minus interest payments. If the interest payments to revenue receipts mount to above 25-30 percent, it can crowd out the productive public expenditure. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tYet another crucial articulation about the renewed fiscal rules is about the debt-GDP threshold ratios. How to provide guidance to countries to bring down public debt to GDP ratios without huge expenditure compression. The fiscal rules and the medium-term fiscal consolidation frameworks require fresh deliberation at the G20 meetings. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tFiscal sustainability will also be interpreted by markets if countries are able to 'grow out of debt’. Instead of rigid debt numerical thresholds to GDP, investors’ confidence can be boosted if the country experiences a growth rate (g) greater than the real interest rates (r). If the cost of borrowing (r) is below the growth of the economy (g), markets will be happy, as it is a clear condition for fiscal sustainability and strong macroeconomic fundamentals. As long as r<g, there is fiscal sustainability. However, markets have the tendency to go... <trimmed 8628 bytes string> |
self | <django.utils.feedgenerator.Rss201rev2Feed object at 0xffff9acc1690> |
handler | <django.utils.xmlutils.SimplerXMLGenerator instance at 0xffff9aff1e60> |
/etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages/django/utils/xmlutils.py
in addQuickElement
class SimplerXMLGenerator(XMLGenerator):
def addQuickElement(self, name, contents=None, attrs=None):
"Convenience method for adding an element with no children"
if attrs is None:
attrs = {}
self.startElement(name, attrs)
if contents is not None:
self.characters(contents)...
self.endElement(name)
def characters(self, content):
if content and re.search(r'[\x00-\x08\x0B-\x0C\x0E-\x1F]', content):
# Fail loudly when content has control chars (unsupported in XML 1.0)
# See http://www.w3.org/International/questions/qa-controls
Variable | Value |
---|---|
self | <django.utils.xmlutils.SimplerXMLGenerator instance at 0xffff9aff1e60> |
attrs | {} |
contents | u'<div class="box">\n <div style="text-align: justify;">\r\n\t<em>High interest rate affects public debt management when debt servicing becomes costlier. The pragmatic baseline for the G20 fiscal sustainability is to have a check on the cost of borrowing and rate of economic growth, opt for debt restructuring and go soft on numerical thresholds.</em></div>\r\n<div style="text-align: justify;">\r\n\t </div>\r\n<div>\r\n\t<div style="text-align: justify;">\r\n\t\tIn a low-interest rate regime, high public debt can be defended if it is used for strengthening capital infrastructure. However, with interest rates rising globally, public debt management has become costlier. Fiscal policymakers are now facing huge pressure to consolidate high debt and deficits and to return to medium-term fiscal consolidation. If fiscal consolidation happens through revenue buoyancy, there is nothing to fear. However, consolidation through public expenditure compression can affect the economic growth recovery process.</div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tGiven that the monetary policy stance is entirely focused on price stability, economic growth has become the priority of fiscal authorities. However, with rising fiscal risks, there is a growing recognition among finance ministries of the G20 countries that deficits need to be “consolidated”. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tIndia’s <u><strong>finance minister Nirmala Sitaraman</strong></u> has already clearly articulated that public debt management will be a priority issue in the G20 forum for India, and she has categorically highlighted the need to go soft on external debt of emerging and developing countries. The point to be noted here is that she has spoken about <u><strong>debt restructuring</strong></u> from an international public policy perspective. In India, the external financing of public debt is very negligible. Unlike Pakistan and Sri Lanka, we finance the deficits predominantly through internal bond issuances. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\t<strong>Capping Interest Payments</strong></div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tA well-articulated fiscal sustainability path and <u><strong>debt restructuring</strong></u> will receive attention at the G20 forum. The discretionary space available to fiscal authorities is indeed the public expenditure minus interest payments. If the interest payments to revenue receipts mount to above 25-30 percent, it can crowd out the productive public expenditure. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tYet another crucial articulation about the renewed fiscal rules is about the debt-GDP threshold ratios. How to provide guidance to countries to bring down public debt to GDP ratios without huge expenditure compression. The fiscal rules and the medium-term fiscal consolidation frameworks require fresh deliberation at the G20 meetings. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tFiscal sustainability will also be interpreted by markets if countries are able to 'grow out of debt’. Instead of rigid debt numerical thresholds to GDP, investors’ confidence can be boosted if the country experiences a growth rate (g) greater than the real interest rates (r). If the cost of borrowing (r) is below the growth of the economy (g), markets will be happy, as it is a clear condition for fiscal sustainability and strong macroeconomic fundamentals. As long as r<g, there is fiscal sustainability. However, markets have the tendency to go into panic if the public debt numerical thresholds to GDP cross the 'dangerous' limits, i.e., if it is beyond the arti... <trimmed 7974 bytes string> |
name | u'description' |
/etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages/django/utils/xmlutils.py
in characters
self.characters(contents)
self.endElement(name)
def characters(self, content):
if content and re.search(r'[\x00-\x08\x0B-\x0C\x0E-\x1F]', content):
# Fail loudly when content has control chars (unsupported in XML 1.0)
# See http://www.w3.org/International/questions/qa-controls
raise UnserializableContentError("Control characters are not supported in XML 1.0")...
XMLGenerator.characters(self, content)
Variable | Value |
---|---|
content | u'<div class="box">\n <div style="text-align: justify;">\r\n\t<em>High interest rate affects public debt management when debt servicing becomes costlier. The pragmatic baseline for the G20 fiscal sustainability is to have a check on the cost of borrowing and rate of economic growth, opt for debt restructuring and go soft on numerical thresholds.</em></div>\r\n<div style="text-align: justify;">\r\n\t </div>\r\n<div>\r\n\t<div style="text-align: justify;">\r\n\t\tIn a low-interest rate regime, high public debt can be defended if it is used for strengthening capital infrastructure. However, with interest rates rising globally, public debt management has become costlier. Fiscal policymakers are now facing huge pressure to consolidate high debt and deficits and to return to medium-term fiscal consolidation. If fiscal consolidation happens through revenue buoyancy, there is nothing to fear. However, consolidation through public expenditure compression can affect the economic growth recovery process.</div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tGiven that the monetary policy stance is entirely focused on price stability, economic growth has become the priority of fiscal authorities. However, with rising fiscal risks, there is a growing recognition among finance ministries of the G20 countries that deficits need to be “consolidated”. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tIndia’s <u><strong>finance minister Nirmala Sitaraman</strong></u> has already clearly articulated that public debt management will be a priority issue in the G20 forum for India, and she has categorically highlighted the need to go soft on external debt of emerging and developing countries. The point to be noted here is that she has spoken about <u><strong>debt restructuring</strong></u> from an international public policy perspective. In India, the external financing of public debt is very negligible. Unlike Pakistan and Sri Lanka, we finance the deficits predominantly through internal bond issuances. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\t<strong>Capping Interest Payments</strong></div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tA well-articulated fiscal sustainability path and <u><strong>debt restructuring</strong></u> will receive attention at the G20 forum. The discretionary space available to fiscal authorities is indeed the public expenditure minus interest payments. If the interest payments to revenue receipts mount to above 25-30 percent, it can crowd out the productive public expenditure. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tYet another crucial articulation about the renewed fiscal rules is about the debt-GDP threshold ratios. How to provide guidance to countries to bring down public debt to GDP ratios without huge expenditure compression. The fiscal rules and the medium-term fiscal consolidation frameworks require fresh deliberation at the G20 meetings. </div>\r\n\t<div style="text-align: justify;">\r\n\t\t </div>\r\n\t<div style="text-align: justify;">\r\n\t\tFiscal sustainability will also be interpreted by markets if countries are able to 'grow out of debt’. Instead of rigid debt numerical thresholds to GDP, investors’ confidence can be boosted if the country experiences a growth rate (g) greater than the real interest rates (r). If the cost of borrowing (r) is below the growth of the economy (g), markets will be happy, as it is a clear condition for fiscal sustainability and strong macroeconomic fundamentals. As long as r<g, there is fiscal sustainability. However, markets have the tendency to go into panic if the public debt numerical thresholds to GDP cross the 'dangerous' limits, i.e., if it is beyond the arti... <trimmed 7974 bytes string> |
self | <django.utils.xmlutils.SimplerXMLGenerator instance at 0xffff9aff1e60> |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_REFERER | 'https://www.nipfp.org.in/blog/feed' |
uwsgi.version | '2.0.18-debian' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/blog/feed/' |
SERVER_PROTOCOL | 'HTTP/1.0' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
SERVER_NAME | 'mimirtech.com' |
REMOTE_ADDR | '127.0.0.1' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '8006' |
uwsgi.node | 'mimirtech.com' |
HTTP_X_FORWARDED_PROTO | 'https' |
wsgi.input | <uwsgi._Input object at 0xffff9b2bd0b0> |
HTTP_HOST | 'www.nipfp.org.in' |
wsgi.multithread | False |
REQUEST_URI | '/blog/feed/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
HTTP_X_FORWARDED_FOR | '54.81.185.66' |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0xffff9c16d420> |
wsgi.multiprocess | True |
wsgi.run_once | False |
wsgi.file_wrapper | '' |
conf.settings
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
USE_X_FORWARDED_PORT | False |
USE_THOUSAND_SEPARATOR | False |
REGISTRATION_BACKENDS | {'email': 'nipfp.core.backends.EmailBackend'} |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'hi' |
ROOT_URLCONF | 'conf.urls' |
MANAGERS | (('Gora Mohanty', 'gora@mimirtech.com'),) |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
EMAIL_HOST_PASSWORD | u'********************' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/mnt/web/programs/nipfp-portal/work/public_html/static' |
ALLOWED_HOSTS | [] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
REGISTRATION_ACTIVATION_DAYS | 7 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
EMAIL_SENDER_UPDATES | 'NIPFP Updates <nipfp.updates@nipfp.org.in>' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
SQS_POLL_PERIOD | 10 |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'nipfp_20221010', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'nipfp'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
NUM_LATEST_EVENTS | 5 |
DEFAULT_CONTENT_TYPE | 'text/html' |
SQS_DEFAULT_VISIBILITY_TIMEOUT | 7200 |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
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'}} |
PRECOMPILERS | {'text/coffeescript': '/usr/local/node_modules/coffee-script/bin/coffee --compile {infile}', 'text/less': '/usr/local/node_modules/less/bin/lessc {infile} {outfile}', 'text/x-sass': 'sass {infile} {outfile}', 'text/x-scss': 'sass --scss {infile} {outfile}'} |
NUM_STAFF_PER_PAGE | 5 |
SESSION_COOKIE_PATH | '/' |
DEPLOYMENT | 'DEV' |
LOGIN_REDIRECT_FACULTY | '/faculty/profile/edit/' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
TRAINING_EMAIL_SUBJECT | 'Feedback for NIPFP training programme: "%s"' |
DISQUS_API_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
COMPILED_EXTS | {'text/coffeescript': '.js', 'text/less': '.css'} |
DEFAULT_INDEX_TABLESPACE | '' |
SQS_AWS_REGION | 'us-east-1' |
DEFAULT_SETTINGS | <module 'django.conf.global_settings' from '/etc/uwsgi-emperor/vassals/nipfp-portal/env/lib/python2.7/site-packages/django/conf/global_settings.pyc'> |
LOGGING_CONFIG | 'logging.config.dictConfig' |
BLOG_BASE_URL | 'http://nipfp.org.in/blog' |
MAP_CTR_LATITUDE | 28.542222 |
REGISTRATION_MODERATORS | (('Gora Mohanty', 'gora@mimirtech.com'), ('Subscription coordinator', 'subscription.request@nipfp.org.in')) |
WSGI_APPLICATION | 'conf.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.solr_backend.SolrEngine', 'PASSWORD': u'********************', 'TIMEOUT': 600, 'URL': 'http://127.0.0.1:8080/solr/nipfp', 'USER': 'solrindexer'}} |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
USE_ETAGS | False |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CSRF_TRUSTED_ORIGINS | [] |
LANGUAGE_COOKIE_DOMAIN | None |
AWS_ACCESS_KEY_ID | u'********************' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'disqus', 'elephantblog', 'email_usernames', 'feincms', 'feincms.module.page', 'feincms.module.medialibrary', 'haystack', 'mailer', 'mptt', 'tagging', 'uwsgi_admin', 'django_sqs', 'mass_mailer', 'registration', 'feincmsext.extended_navigation', 'nipfp.core', 'nipfp.event', 'nipfp.feincms_local.blog', 'nipfp.library', 'nipfp.nipfp_mailer', 'nipfp.pages', 'nipfp.project', 'nipfp.publication', 'nipfp.staff') |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | () |
NUM_LATEST_PUBS | 3 |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SQS_QUEUE_SES_COMPLAINTS | 'ses-complaints' |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
AWS_SECRET_ACCESS_KEY | u'********************' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SQS_QUEUE_PREFIX | '' |
TIME_FORMAT | 'P' |
SQS_AWS_ACCESS_KEY_ID | u'********************' |
MAP_ZOOM | 17 |
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'] |
BLOG_PAGINATE_BY | 5 |
MAP_NIPFP_LATITUDE | 28.541967 |
AUTHENTICATION_BACKENDS | ('email_usernames.backends.EmailOrUsernameModelBackend', 'django.contrib.auth.backends.ModelBackend') |
AUTH_PASSWORD_VALIDATORS | u'********************' |
EMAIL_CAREER_CONTACT | 'careers@nipfp.org.in' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/static/admin/' |
NUMBER_GROUPING | 0 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SQS_AWS_SECRET_ACCESS_KEY | u'********************' |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/login_redirect/' |
LOGIN_REDIRECT_OTHER | '/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | [] |
NUM_PROJECTS_PER_PAGE | 5 |
LOCALE_PATHS | ('/mnt/web/programs/nipfp-portal/work/apps/locale', '/mnt/web/programs/nipfp-portal/work/apps/templates/locale') |
TEMPLATE_STRING_IF_INVALID | '' |
NUM_EVENTS_PER_PAGE | 20 |
DEF_SORT_DATE | datetime.date(1970, 1, 1) |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
BLOG_MODERATORS | (('Gora Mohanty', 'gora@mimirtech.com'), ('Samreen Badr', 'samreen.badr@nipfp.org.in')) |
FIXTURE_DIRS | ('/mnt/web/programs/nipfp-portal/work/apps/fixtures',) |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MAP_NIPFP_LONGITUDE | 77.177773 |
MEDIA_ROOT | '/mnt/web/programs/nipfp-portal/work/public_html/media' |
MAP_INFO | '<b>NIPFP</b><br/>' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'support@nipfp.org.in' |
REGISTRATION_MSG_INVALID_MODERATOR | 'You are not an user accounts moderator on the NIPFP website' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/mnt/web/programs/nipfp-portal/work/apps/templates',) |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | [] |
ALLOWED_INCLUDE_ROOTS | [] |
SESSION_COOKIE_AGE | 1209600 |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple', 'level': 'DEBUG'}, 'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'apps.nipfp': {'formatter': 'verbose', 'handlers': ('console',), 'level': 'DEBUG', 'propagate': True}, 'django.request': {'handlers': ('mail_admins',), 'level': 'ERROR', 'propagate': True}, 'lib': {'handlers': ('console',), 'level': 'ERROR', 'propagate': True}, 'mt': {'handlers': ['console'], 'level': 'DEBUG', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
BANNED_SUBSCRIBE_DOMAINS | ('comcast.net', 'hotmail.com', 'msn.com') |
TEMPLATES | [] |
EMAIL_SENDER | 'support@nipfp.org.in' |
APP_NAME | 'conf' |
NUM_PUBLICATIONS_PER_PAGE | 15 |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'Etc/UCT' |
SOUTH_MIGRATION_MODULES | {'page': 'nipfp.feincms_local.content.tender.migrate.page'} |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
BLOG_TITLE | 'NIPFP Blog' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.media', 'django.core.context_processors.request', 'django.core.context_processors.i18n', 'django.core.context_processors.static') |
MIGRATION_MODULES | {} |
REGISTRATION_MODERATION | True |
SETTINGS_MODULE | 'conf.settings' |
FEINCMS_RICHTEXT_INIT_TEMPLATE | 'admin/content/richtext/init_ckeditor_local.html' |
SITE_ROOT | '/mnt/web/programs/nipfp-portal/work' |
LANGUAGES | (('en', 'English'), ('hi', 'Hindi')) |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | [] |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
FEINCMS_RICHTEXT_INIT_CONTEXT | {'CKEDITOR_JS_URL': '/static/js/ckeditor/ckeditor.js', 'TINYMCE_JS_URL': '/static/js/tiny_mce/tiny_mce.js'} |
USE_HTTPS | False |
TEST_NON_SERIALIZED_APPS | [] |
MAP_CTR_LONGITUDE | 77.177773 |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
NUM_FACULTY_PUBLICATIONS_PER_PAGE | 100 |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
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'] |
SQS_QUEUE_SES_BOUNCES | 'ses-bounces' |
DISQUS_WEBSITE_SHORTNAME | 'nipfp-one-pagers' |
EMAIL_HOST_USER | 'nipfp' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.