calculators/bond-repayment-calc.html
Request Method: | GET |
---|---|
Request URL: | https://m.chaseveritt.co.za/bond-repayment-calculator/?amount=1890000 |
Django Version: | 1.6.5 |
Exception Type: | TemplateDoesNotExist |
Exception Value: | calculators/bond-repayment-calc.html |
Exception Location: | /var/www/django-eos3-4/local/lib/python2.7/site-packages/django/template/loader.py in find_template, line 131 |
Python Executable: | /usr/bin/uwsgi-core |
Python Version: | 2.7.13 |
Python Path: | ['./eos', '.', '', '/var/www/django-eos3-4/lib/python2.7', '/var/www/django-eos3-4/lib/python2.7/plat-x86_64-linux-gnu', '/var/www/django-eos3-4/lib/python2.7/lib-tk', '/var/www/django-eos3-4/lib/python2.7/lib-old', '/var/www/django-eos3-4/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/var/www/django-eos3-4/local/lib/python2.7/site-packages', '/var/www/django-eos3-4/local/lib/python2.7/site-packages/newrelic-2.28.0.26', '/var/www/django-eos3-4/lib/python2.7/site-packages', '/var/www/django-eos3-4/lib/python2.7/site-packages/newrelic-2.28.0.26', '/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group'] |
Server time: | Thu, 28 Mar 2024 14:16:42 +0200 |
Django tried loading these templates, in this order:
django.template.loaders.filesystem.Loader
:
/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group/eos/html/calculators/bond-repayment-calc.html
(File does not exist)/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group/html/calculators/bond-repayment-calc.html
(File does not exist)django.template.loaders.app_directories.Loader
:
/var/www/django-eos3-4/local/lib/python2.7/site-packages/django/contrib/auth/templates/calculators/bond-repayment-calc.html
(File does not exist)/var/www/django-eos3-4/local/lib/python2.7/site-packages/django/contrib/admin/templates/calculators/bond-repayment-calc.html
(File does not exist)/var/www/django-eos3-4/local/lib/python2.7/site-packages/tastypie/templates/calculators/bond-repayment-calc.html
(File does not exist)/var/www/django-eos3-4/local/lib/python2.7/site-packages/compressor/templates/calculators/bond-repayment-calc.html
(File does not exist)/var/www/django-eos3-4/local/lib/python2.7/site-packages/rest_framework/templates/calculators/bond-repayment-calc.html
(File does not exist)/var/www/django-eos3-4/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
e | TemplateDoesNotExist('calculators/bond-repayment-calc.html',) |
callback_args | () |
resolver_match | ResolverMatch(func=<function bond_repayment at 0x7f68c22e58c0>, args=(), kwargs={}, url_name='eos.lib.calculators.views.bond_repayment', app_name='None', namespace='') |
middleware_method | <bound method Http403Middleware.process_exception of <eos.lib.http.Http403Middleware object at 0x7f68ce22f490>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f68d77860d0> |
request | "<WSGIRequest\npath:/bond-repayment-calculator/,\nGET:<QueryDict: {u'amount': [u'1890000']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'W4qlg0SYEjd7P097EuhewdKxO4EEXD5e',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'm.chaseveritt.co.za',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_REAL_IP': '172.16.10.23',\n 'HTTP_X_SCHEME': 'https',\n 'PATH_INFO': u'/bond-repayment-calculator/',\n 'QUERY_STRING': 'amount=1890000',\n 'REMOTE_ADDR': '172.16.20.127',\n 'REMOTE_PORT': '62168',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/bond-repayment-calculator/?amount=1890000',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'app-7.aws.propdata.net',\n 'SERVER_PORT': '11718',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'UWSGI_ROUTER': 'http',\n 'uwsgi.core': 1,\n 'uwsgi.node': 'app-7.aws.propdata.net',\n 'uwsgi.version': '2.0.14-debian',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f68d6cb3e40>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f68c2341360>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function bond_repayment at 0x7f68c22e58c0> |
wrapped_callback | <function bond_repayment at 0x7f68c22e58c0> |
resolver | <RegexURLResolver 'chas_everitt_international_properties_group.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'chas_everitt_international_properties_group.urls' |
./eos/lib/calculators/views.py
in bond_repayment
template = 'calculators/bond-repayment-calc.html'
if settings.MOBI_URL:
if request.META.get("HTTP_HOST").startswith(settings.MOBI_URL.replace("http://", "")):
template = "mobi/calculators/bond-repayment-calc.html"
return render_to_response(template,
template_vars, context_instance=RequestContext(request))...
def bond_transfer(request):
calc = TransBondCostCalculator()
calc.amount = float(request.GET.get('amount', 0))
Variable | Value |
---|---|
template_vars | {'active_tab': 'bond-repayment', 'calculator': '<!--\n(C): 2007 Copyright propdata.co.za\nAll rigths reserved\nDUPLICATION of this code in whole or in part\nwithout prior written permission from propdata.co.za\nIS PROHIBITED\n-->\n<script type="text/javascript">\nsAgent = navigator.userAgent;\nbIsMac = sAgent.indexOf("Mac") > -1;\nbIsIE = sAgent.indexOf("MSIE") > -1;\nbIsIE3 = sAgent.indexOf("IE 3") > -1;\nbIsIE4 = sAgent.indexOf("IE 4") > -1;\nbIsIE5 = sAgent.indexOf("IE 5") > -1;\nbIsNav = sAgent.indexOf("Mozilla") > -1 && !bIsIE;\nbDoesAll = (bIsIE4 || bIsIE5) && !bIsMac;\n\nfunction formatCalc(num) {\n num = num.toString().replace(/\\$|\\,/g,\'\');\n if(isNaN(num)) num = "0";\n \n sign = (num == (num = Math.abs(num)));\n num = Math.floor(num*100+0.50000000001);\n cents = num%100;\n num = Math.floor(num/100).toString();\n \n if(cents<10) cents = "0" + cents;\n \n for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)\n num = num.substring(0,num.length-(4*i+3)) + \',\' + num.substring(num.length-(4*i+3));\n \n return cents == 0 ? (((sign)?\'\':\'-\') + \'\' + num) : (((sign)?\'\':\'-\') + \'\' + num + \'.\' + cents);\n}\n\nfunction mycalc() {\n Pv = vValue();\n i = vInt();\n n = vYears();\n \n if ( (Pv == -1) || (i == -1) || (n == -1) ) {\n try {\n document.data.pmt.value = "ERROR";\n } catch(err) {\n document.getElementById(\'pmt\').innerHTML = "ERROR";\n }\n } else {\n Pmt = i * Pv / (1-Math.pow(1+i,-n));\n try {\n document.data.pmt.value = formatCalc(Math.round(Pmt*100)/100); \n } catch(err) {\n document.getElementById(\'pmt\').innerHTML = formatCalc(Math.round(Pmt*100)/100); \n }\n }\n\n if(bDoesAll) {\n window.event.returnValue=false;\n } else {\n document.data.action=\'javascript::void()\';\n return false;\n }\n}\n\nfunction vValue() {\n num = document.data.pV.value.split(".")[0];\n num = num.replace(\',\', \'\');\n num = num.replace(\',\', \'\');\n num = num.replace(\',\', \'\');\n num = parseFloat(num);\n \n if(isNaN(num)) {\n if(document.data.pV.value != "ERROR") {\n document.data.pV.value = "ERROR";\n alert("Loan amount must be a number");\n }\n return -1;\n } else if(num <= 0) {\n if(document.data.pV.value != "ERROR") {\n document.data.pV.value = "ERROR";\n alert("Loan amount must be number greater than 0.");\n }\n return -1;\n } else {\n document.data.pV.value = formatCalc(num);\n return num; \n } \n}\n\nfunction vInt() {\n num = parseFloat(document.data.iY.value);\n if(isNaN(num)) {\n if(document.data.iY.value != "ERROR") {\n document.data.iY.value = "ERROR";\n alert("Interest rate must be a number");\n }\n return -1;\n } else if(num <= 0) {\n if(document.data.iY.value != "ERROR") {\n document.data.iY.value = "ERROR";\n alert("Interest rate must be number greater than 0.");\n }\n //document.data.iY.value = num;\n return -1;\n }\n document.data.iY.value = num;\n return num/1200; \n}\n\nfunction vYears() {\n num = parseFloat(document.data.tY.value);\n if(isNaN(num)) {\n if(document.data.tY.value != "ERROR") {\n document.data.tY.value = "ERROR";\n alert("Number of years must be a number");\n }\n return -1;\n } else if(num <= 0) {\n if(document.data.tY.value != "ERROR") {\n document.data.tY.value = "ERROR";\n alert("Number of years must be number greater than 0.");\n }\n //document.data.tY.value = num;\n return -1;\n }\n document.data.tY.value = num;\n return num*12; \n}\n\nfunction resetValues() {\n var purprice = 0;\n document.data.pV.value = purprice;\n document.data.pmt.value = "";\n}\n</script><script type="text/javascript">$(document).ready(function(){if ($(\'#pV\').val()>0) mycalc();});</script>\r\n<form name="data" action="javascript:var X;" method="post" id="data" onsubmit="mycalc();">\r\n <table class="calctable">\r\n <tr class="alt"> \r\n <td class="col1"><strong>Loan amount</strong> (Present Value)</td>\r\n <td width="1"><strong>R</strong></td>\r\n <td>\r\n <input name="pV" id="pV" onblur="mycalc();" value="1890000" />\r\n </td>\r\n </tr>\r\n <tr> \r\n <td><strong>Interest Rate</strong> (% per year) </td>\r\n <td> </td>\r\n <td> \r\n <input name="iY" id="iY" onblur="mycalc();" value="11.75" /> <strong>%</strong> \r\n </td>\r\n </tr>\r\n <tr class="alt"> \r\n <td><b>Number of years </b></td>\r\n <td> </td>\r\n <td><input name="tY" id="tY" onblur="mycalc();" value="20" /></td>\r\n </tr>\r\n <tr> \r\n <td><b>Monthly Payment</b></td>\r\n <td><strong>R</strong></td>\r\n <td><input name="pmt" id="pmt" type="text" /></td>\r\n </tr>\r\n <tr class="alt"> \r\n <td> </td>\r\n <td> </td>\r\n <td>\r\n <input type="button" onclick="mycalc();" value="Calculate" class="button"/>\r\n <!-- <input type="button" onclick="resetValues();" value="Reset" class="button"/> -->\r\n </td>\r\n </tr> \r\n </table>\r\n</form>'} |
calc | <eos.lib.calculators.bond_cost_calculator.BondCostCalculator object at 0x7f68c37bec10> |
request | "<WSGIRequest\npath:/bond-repayment-calculator/,\nGET:<QueryDict: {u'amount': [u'1890000']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'W4qlg0SYEjd7P097EuhewdKxO4EEXD5e',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'm.chaseveritt.co.za',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_REAL_IP': '172.16.10.23',\n 'HTTP_X_SCHEME': 'https',\n 'PATH_INFO': u'/bond-repayment-calculator/',\n 'QUERY_STRING': 'amount=1890000',\n 'REMOTE_ADDR': '172.16.20.127',\n 'REMOTE_PORT': '62168',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/bond-repayment-calculator/?amount=1890000',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'app-7.aws.propdata.net',\n 'SERVER_PORT': '11718',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'UWSGI_ROUTER': 'http',\n 'uwsgi.core': 1,\n 'uwsgi.node': 'app-7.aws.propdata.net',\n 'uwsgi.version': '2.0.14-debian',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f68d6cb3e40>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f68c2341360>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
template | 'calculators/bond-repayment-calc.html' |
years | None |
/var/www/django-eos3-4/local/lib/python2.7/site-packages/django/shortcuts/__init__.py
in render_to_response
mimetype = kwargs.pop('mimetype', None)
if mimetype:
warnings.warn("The mimetype keyword argument is deprecated, use "
"content_type instead", DeprecationWarning, stacklevel=2)
httpresponse_kwargs['content_type'] = mimetype
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.
Uses a RequestContext by default.
Variable | Value |
---|---|
mimetype | None |
httpresponse_kwargs | {'content_type': None} |
args | ('calculators/bond-repayment-calc.html', {'active_tab': 'bond-repayment', 'calculator': '<!--\n(C): 2007 Copyright propdata.co.za\nAll rigths reserved\nDUPLICATION of this code in whole or in part\nwithout prior written permission from propdata.co.za\nIS PROHIBITED\n-->\n<script type="text/javascript">\nsAgent = navigator.userAgent;\nbIsMac = sAgent.indexOf("Mac") > -1;\nbIsIE = sAgent.indexOf("MSIE") > -1;\nbIsIE3 = sAgent.indexOf("IE 3") > -1;\nbIsIE4 = sAgent.indexOf("IE 4") > -1;\nbIsIE5 = sAgent.indexOf("IE 5") > -1;\nbIsNav = sAgent.indexOf("Mozilla") > -1 && !bIsIE;\nbDoesAll = (bIsIE4 || bIsIE5) && !bIsMac;\n\nfunction formatCalc(num) {\n num = num.toString().replace(/\\$|\\,/g,\'\');\n if(isNaN(num)) num = "0";\n \n sign = (num == (num = Math.abs(num)));\n num = Math.floor(num*100+0.50000000001);\n cents = num%100;\n num = Math.floor(num/100).toString();\n \n if(cents<10) cents = "0" + cents;\n \n for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)\n num = num.substring(0,num.length-(4*i+3)) + \',\' + num.substring(num.length-(4*i+3));\n \n return cents == 0 ? (((sign)?\'\':\'-\') + \'\' + num) : (((sign)?\'\':\'-\') + \'\' + num + \'.\' + cents);\n}\n\nfunction mycalc() {\n Pv = vValue();\n i = vInt();\n n = vYears();\n \n if ( (Pv == -1) || (i == -1) || (n == -1) ) {\n try {\n document.data.pmt.value = "ERROR";\n } catch(err) {\n document.getElementById(\'pmt\').innerHTML = "ERROR";\n }\n } else {\n Pmt = i * Pv / (1-Math.pow(1+i,-n));\n try {\n document.data.pmt.value = formatCalc(Math.round(Pmt*100)/100); \n } catch(err) {\n document.getElementById(\'pmt\').innerHTML = formatCalc(Math.round(Pmt*100)/100); \n }\n }\n\n if(bDoesAll) {\n window.event.returnValue=false;\n } else {\n document.data.action=\'javascript::void()\';\n return false;\n }\n}\n\nfunction vValue() {\n num = document.data.pV.value.split(".")[0];\n num = num.replace(\',\', \'\');\n num = num.replace(\',\', \'\');\n num = num.replace(\',\', \'\');\n num = parseFloat(num);\n \n if(isNaN(num)) {\n if(document.data.pV.value != "ERROR") {\n document.data.pV.value = "ERROR";\n alert("Loan amount must be a number");\n }\n return -1;\n } else if(num <= 0) {\n if(document.data.pV.value != "ERROR") {\n document.data.pV.value = "ERROR";\n alert("Loan amount must be number greater than 0.");\n }\n return -1;\n } else {\n document.data.pV.value = formatCalc(num);\n return num; \n } \n}\n\nfunction vInt() {\n num = parseFloat(document.data.iY.value);\n if(isNaN(num)) {\n if(document.data.iY.value != "ERROR") {\n document.data.iY.value = "ERROR";\n alert("Interest rate must be a number");\n }\n return -1;\n } else if(num <= 0) {\n if(document.data.iY.value != "ERROR") {\n document.data.iY.value = "ERROR";\n alert("Interest rate must be number greater than 0.");\n }\n //document.data.iY.value = num;\n return -1;\n }\n document.data.iY.value = num;\n return num/1200; \n}\n\nfunction vYears() {\n num = parseFloat(document.data.tY.value);\n if(isNaN(num)) {\n if(document.data.tY.value != "ERROR") {\n document.data.tY.value = "ERROR";\n alert("Number of years must be a number");\n }\n return -1;\n } else if(num <= 0) {\n if(document.data.tY.value != "ERROR") {\n document.data.tY.value = "ERROR";\n alert("Number of years must be number greater than 0.");\n }\n //document.data.tY.value = num;\n return -1;\n }\n document.data.tY.value = num;\n return num*12; \n}\n\nfunction resetValues() {\n var purprice = 0;\n document.data.pV.value = purprice;\n document.data.pmt.value = "";\n}\n</script><script type="text/javascript">$(document).ready(function(){if ($(\'#pV\').val()>0) mycalc();});</script>\r\n<form name="data" action="javascript:var X;" method="post" id="data" onsubmit="mycalc();">\r\n <table class="calctable">\r\n <tr class="alt"> \r\n <td class="col1"><strong>Loan amount</strong> (Present Value)</td>\r\n <td width="1"><strong>R</strong></td>\r\n <td>\r\n <input name="pV" id="pV" onblur="mycalc();" value="1890000" />\r\n </td>\r\n </tr>\r\n <tr> \r\n <td><strong>Interest Rate</strong> (% per year) </td>\r\n <td> </td>\r\n <td> \r\n <input name="iY" id="iY" onblur="mycalc();" value="11.75" /> <strong>%</strong> \r\n </td>\r\n </tr>\r\n <tr class="alt"> \r\n <td><b>Number of years </b></td>\r\n <td> </td>\r\n <td><input name="tY" id="tY" onblur="mycalc();" value="20" /></td>\r\n </tr>\r\n <tr> \r\n <td><b>Monthly Payment</b></td>\r\n <td><strong>R</strong></td>\r\n <td><input name="pmt" id="pmt" type="text" /></td>\r\n </tr>\r\n <tr class="alt"> \r\n <td> </td>\r\n <td> </td>\r\n <td>\r\n <input type="button" onclick="mycalc();" value="Calculate" class="button"/>\r\n <!-- <input type="button" onclick="resetValues();" value="Reset" class="button"/> -->\r\n </td>\r\n </tr> \r\n </table>\r\n</form>'}) |
kwargs | {'context_instance': [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f68c25b7650>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f68c25b78d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f68c25b7a90>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('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-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-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('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'), ('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-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': ''}, {u'request': <WSGIRequest path:/bond-repayment-calculator/, GET:<QueryDict: {u'amount': [u'1890000']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'W4qlg0SYEjd7P097EuhewdKxO4EEXD5e', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'm.chaseveritt.co.za', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_REAL_IP': '172.16.10.23', 'HTTP_X_SCHEME': 'https', 'PATH_INFO': u'/bond-repayment-calculator/', 'QUERY_STRING': 'amount=1890000', 'REMOTE_ADDR': '172.16.20.127', 'REMOTE_PORT': '62168', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/bond-repayment-calculator/?amount=1890000', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'app-7.aws.propdata.net', 'SERVER_PORT': '11718', 'SERVER_PROTOCOL': 'HTTP/1.1', 'UWSGI_ROUTER': 'http', 'uwsgi.core': 1, 'uwsgi.node': 'app-7.aws.propdata.net', 'uwsgi.version': '2.0.14-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f68d6cb3e40>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f68c2341360>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'is_landing_page': False, 'documents_addon': True, 'show_listing_location': True, 'portals_addon': False, 'sms': False, 'social_media_list': [{'url': u'https://www.facebook.com/ChasEverittProperty/', 'name': 'facebook', 'icon': ''}, {'url': u'https://twitter.com/ChasEveritt', 'name': 'twitter', 'icon': ''}, {'url': u'https://za.linkedin.com/company/chas-everitt', 'name': 'linkedin', 'icon': ''}, {'url': u'https://www.youtube.com/channel/UCwTctighzv50akhIy6rnvkg', 'name': 'youtube', 'icon': ''}, {'url': u'https://g.page/r/CZSHNWBnTNv3EBM/review', 'name': 'googleplus', 'icon': ''}, {'url': u'https://za.pinterest.com/chaseverittprop/', 'name': 'pinterest', 'icon': ''}, {'url': u'https://www.instagram.com/chaseveritt/?hl=en', 'name': 'instagram', 'icon': ''}], 'cookie_consent_button_color': u'#ffffff', 'adwords_campaign_key': None, 'gmaps_key': 'AIzaSyBB_kpOqRyPZmIf1Xbo3ufovpL8Luc-a90', 'window_display_addon': {'residential': False, 'holiday': False, 'commercial': False, 'new-developments': False}, 'website_name': u'Chas Everitt International Property Group', 'comments': False, 'my_bond_fitness_base_url': 'https://arh.mybondfitness.co.za/#/', 'site_name': u'Chas Everitt International Property Group', 'linkedin_pixel_code': u'', 'cookie_consent_popup_background': u'#2C5697', 'property24_property': False, 'website_notification_position': u'static', 'website_notification_link': u'https://sacoronavirus.co.za/', 'stock_for_sale': True, 'propctrl': False, 'my_bond_fitness_nb_label': 'NB. If you click this checkbox, you will be redirected to another site.', 'site_url': 'https://www.chaseveritt.co.za', 'website_notification_popup_color': u'#ffffff', 'user_hash': None, 'whatsapp': True, 'region_profiles_addon': True, 'caching_addon': False, 'facebook_campaign_key_two': u'324236849903953', 'site_quote': u'-', 'website_notification_button_background': u'#e00034', 'facebook_addon': True, 'default_webref_search_text': 'Web Reference Number e.g. RL123', 'company_logo': <ImageFieldFile: uploads/company/2021/08/f698954c066c6c6.jpg>, 'ieasa': False, 'cookie_consent_button_background': u'#e00034', 'facebook_branch_ids': [801872], 'usa_metric': False, 'website_slogan': u'-', 'facebook': u'https://www.facebook.com/ChasEverittProperty/', 'linkedin': u'https://za.linkedin.com/company/chas-everitt', 'offers_addon': True, 'default_search_text': 'Type Area or Suburb Name', 'front_end_addon': True, 'my_bond_fitness_label': 'Bond Pre-approval', 'package_option': 'Premium', 'list_your_property_display': True, 'has_general_advice': False, 'django_version': '1.6.5', 'default_search_type': u'Residential', 'my_bond_detail_url': 'https://arh.mybondfitness.co.za/#/', 'holiday_addon': True, 'email_newsletter_addon': True, 'new_development_addon': True, 'google_plus': u'https://g.page/r/CZSHNWBnTNv3EBM/review', 'residential_addon': True, 'seo_addon': True, 'adwords_campaign_key_two': None, 'default_mobi_search_text': 'Type Suburb or Web Ref Number', 'website_notification_link_text': u'www.sacoronavirus.co.za', 'support_hash': 'af86ca7ad782c84ab1d548e778226f7eb0674bbb2c79f9e7e0540c5364888a03', 'aipp': False, 'hide_calculators': False, 'currency_symbol': u'R', 'facebook_campaign_key': u'1829212603777517', 'country': 'South Africa', 'website_notification_button_text': u'OK', 'cookie_consent_position': u'bottom', 'REMOVE_COMPANY_NAME': False, 'trading_name': u'First Realty Central (PTY) Ltd TA Chas Everitt International Properties Group', 'REMOVE_LISTING_COUNT': False, 'show_showday_location': True, 'instagram': u'https://www.instagram.com/chaseveritt/?hl=en', 'network_listings': False, 'default_advanced_search': False, 'twitter': u'https://twitter.com/ChasEveritt', 'hubspot_campaign_key': u'7450759', 'captcha': True, 'proudly_south_african': False, 'default_to_currency': u'USD', 'website_notification_button_color': u'#ffffff', 'default_search_status': u'Buy', 'nhbrc': True, 'mobi_url': 'https://m.chaseveritt.co.za', 'IS_COMMERCIAL_CLIENT': False, 'DISABLE_PETS_ALLOWED_VALUE': False, 'website_notification': False, 'permissions_addon': True, 'cookie_consent_popup_color': u'#ffffff', 'pinterest': u'https://za.pinterest.com/chaseverittprop/', 'interest_rate': 11.75, 'currency_iso': u'ZAR', 'desktop_site_url': 'https://www.chaseveritt.co.za', 'stock_to_rent': True, 'recaptcha_key': '6Le_JioTAAAAAAMdue29gf9Z49BBPvb2bzPTT0zN', 'company_name': u'Chas Everitt International Properties Group', 'display_currency_converter': True, 'header_image_addon': False, 'website_url': 'https://www.chaseveritt.co.za', 'website_notification_details': u'Chas Everitt is operational during the national lockdown. From our home to yours. Stay safe. Stay home. For COVID-19 updates, visit the official government website', 'news_comments': False, 'insights_addon': True, 'recaptcha_secret': '6Le_JioTAAAAANAVHl8Dem3S6u0-swCz9jBTfsYd', 'eaab': False, 'commercial_addon': True, 'talasa': False, 'my_bond_fitness_addon': False, 'eos_version': '3.45.0 (YellowSands)', 'gumtree': False, 'default_heading_override': False, 'finance_partner': u'Not Applicable', 'estate_addon': True, 'rebosa': False, 'custom_newsletter_addon': True, 'private_property': False, 'cloudfront_url': 'https://d3nqlcsikcdie5.cloudfront.net', 'head_office_contact_number': u'+27 11 801 2500', 'favicons': {'color': u'#FFFFFF', 'browserconfig': u'//d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/bb3487baada2d79_browserconfig.xml', 'manifest_json': u'//d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/manifest.json/bb3487baada2d79_manifest.json', 'icons': ['https://d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/bb3487baada2d79_t_w_180_h_180.png', 'https://d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/bb3487baada2d79_t_w_32_h_32.png', 'https://d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/bb3487baada2d79_t_w_16_h_16.png', 'https://d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/bb3487baada2d79_t_w_48_h_48.png']}, 'branches': [<Branch: East London>, <Branch: Gqeberha>, <Branch: Jeffreys Bay>, <Branch: St Francis Bay>, <Branch: Bloemfontein>, <Branch: Alberton>, <Branch: Benoni>, <Branch: Brakpan>, <Branch: Centurion>, <Branch: Glenvista>, <Branch: Head Office>, <Branch: Midrand>, <Branch: Pretoria>, <Branch: Randburg>, <Branch: Sandton>, <Branch: Waterfall>, <Branch: West Rand>, <Branch: Amanzimtoti>, <Branch: Durban Central>, <Branch: Durban South>, '...(remaining elements truncated)...'], 'offline_compression': True, 'sapoa': False, 'cookie_consent': False, 'tpn': False, 'youtube': u'https://www.youtube.com/channel/UCwTctighzv50akhIy6rnvkg', 'fusion': True, 'alerts_addon': True, 'website_notification_popup_background': u'#2C5697', 'js_dev': False, 'SYNDICATION_INTERFACE': False, 'account_number': u'PD1257', 'currency_full': u'South African Rands', 'enable_popia': True, 'kzn_property_guide': False}]} |
/var/www/django-eos3-4/local/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
get_template, or it may be a tuple to use select_template to find one of
the templates in the list. Returns a string.
"""
dictionary = dictionary or {}
if isinstance(template_name, (list, tuple)):
t = select_template(template_name)
else:
t = get_template(template_name)...
if not context_instance:
return t.render(Context(dictionary))
# Add the dictionary to the context stack, ensuring it gets removed again
# to keep the context_instance in the same state it started in.
context_instance.update(dictionary)
try:
Variable | Value |
---|---|
template_name | 'calculators/bond-repayment-calc.html' |
context_instance | [{'False': False, 'None': None, 'True': True}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f68c25b7650>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f68c25b78d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f68c25b7a90>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('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-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-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('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'), ('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-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': ''}, {u'request': <WSGIRequest path:/bond-repayment-calculator/, GET:<QueryDict: {u'amount': [u'1890000']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'W4qlg0SYEjd7P097EuhewdKxO4EEXD5e', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'm.chaseveritt.co.za', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_REAL_IP': '172.16.10.23', 'HTTP_X_SCHEME': 'https', 'PATH_INFO': u'/bond-repayment-calculator/', 'QUERY_STRING': 'amount=1890000', 'REMOTE_ADDR': '172.16.20.127', 'REMOTE_PORT': '62168', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/bond-repayment-calculator/?amount=1890000', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'app-7.aws.propdata.net', 'SERVER_PORT': '11718', 'SERVER_PROTOCOL': 'HTTP/1.1', 'UWSGI_ROUTER': 'http', 'uwsgi.core': 1, 'uwsgi.node': 'app-7.aws.propdata.net', 'uwsgi.version': '2.0.14-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f68d6cb3e40>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7f68c2341360>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {'is_landing_page': False, 'documents_addon': True, 'show_listing_location': True, 'portals_addon': False, 'sms': False, 'social_media_list': [{'url': u'https://www.facebook.com/ChasEverittProperty/', 'name': 'facebook', 'icon': ''}, {'url': u'https://twitter.com/ChasEveritt', 'name': 'twitter', 'icon': ''}, {'url': u'https://za.linkedin.com/company/chas-everitt', 'name': 'linkedin', 'icon': ''}, {'url': u'https://www.youtube.com/channel/UCwTctighzv50akhIy6rnvkg', 'name': 'youtube', 'icon': ''}, {'url': u'https://g.page/r/CZSHNWBnTNv3EBM/review', 'name': 'googleplus', 'icon': ''}, {'url': u'https://za.pinterest.com/chaseverittprop/', 'name': 'pinterest', 'icon': ''}, {'url': u'https://www.instagram.com/chaseveritt/?hl=en', 'name': 'instagram', 'icon': ''}], 'cookie_consent_button_color': u'#ffffff', 'adwords_campaign_key': None, 'gmaps_key': 'AIzaSyBB_kpOqRyPZmIf1Xbo3ufovpL8Luc-a90', 'window_display_addon': {'residential': False, 'holiday': False, 'commercial': False, 'new-developments': False}, 'website_name': u'Chas Everitt International Property Group', 'comments': False, 'my_bond_fitness_base_url': 'https://arh.mybondfitness.co.za/#/', 'site_name': u'Chas Everitt International Property Group', 'linkedin_pixel_code': u'', 'cookie_consent_popup_background': u'#2C5697', 'property24_property': False, 'website_notification_position': u'static', 'website_notification_link': u'https://sacoronavirus.co.za/', 'stock_for_sale': True, 'propctrl': False, 'my_bond_fitness_nb_label': 'NB. If you click this checkbox, you will be redirected to another site.', 'site_url': 'https://www.chaseveritt.co.za', 'website_notification_popup_color': u'#ffffff', 'user_hash': None, 'whatsapp': True, 'region_profiles_addon': True, 'caching_addon': False, 'facebook_campaign_key_two': u'324236849903953', 'site_quote': u'-', 'website_notification_button_background': u'#e00034', 'facebook_addon': True, 'default_webref_search_text': 'Web Reference Number e.g. RL123', 'company_logo': <ImageFieldFile: uploads/company/2021/08/f698954c066c6c6.jpg>, 'ieasa': False, 'cookie_consent_button_background': u'#e00034', 'facebook_branch_ids': [801872], 'usa_metric': False, 'website_slogan': u'-', 'facebook': u'https://www.facebook.com/ChasEverittProperty/', 'linkedin': u'https://za.linkedin.com/company/chas-everitt', 'offers_addon': True, 'default_search_text': 'Type Area or Suburb Name', 'front_end_addon': True, 'my_bond_fitness_label': 'Bond Pre-approval', 'package_option': 'Premium', 'list_your_property_display': True, 'has_general_advice': False, 'django_version': '1.6.5', 'default_search_type': u'Residential', 'my_bond_detail_url': 'https://arh.mybondfitness.co.za/#/', 'holiday_addon': True, 'email_newsletter_addon': True, 'new_development_addon': True, 'google_plus': u'https://g.page/r/CZSHNWBnTNv3EBM/review', 'residential_addon': True, 'seo_addon': True, 'adwords_campaign_key_two': None, 'default_mobi_search_text': 'Type Suburb or Web Ref Number', 'website_notification_link_text': u'www.sacoronavirus.co.za', 'support_hash': 'af86ca7ad782c84ab1d548e778226f7eb0674bbb2c79f9e7e0540c5364888a03', 'aipp': False, 'hide_calculators': False, 'currency_symbol': u'R', 'facebook_campaign_key': u'1829212603777517', 'country': 'South Africa', 'website_notification_button_text': u'OK', 'cookie_consent_position': u'bottom', 'REMOVE_COMPANY_NAME': False, 'trading_name': u'First Realty Central (PTY) Ltd TA Chas Everitt International Properties Group', 'REMOVE_LISTING_COUNT': False, 'show_showday_location': True, 'instagram': u'https://www.instagram.com/chaseveritt/?hl=en', 'network_listings': False, 'default_advanced_search': False, 'twitter': u'https://twitter.com/ChasEveritt', 'hubspot_campaign_key': u'7450759', 'captcha': True, 'proudly_south_african': False, 'default_to_currency': u'USD', 'website_notification_button_color': u'#ffffff', 'default_search_status': u'Buy', 'nhbrc': True, 'mobi_url': 'https://m.chaseveritt.co.za', 'IS_COMMERCIAL_CLIENT': False, 'DISABLE_PETS_ALLOWED_VALUE': False, 'website_notification': False, 'permissions_addon': True, 'cookie_consent_popup_color': u'#ffffff', 'pinterest': u'https://za.pinterest.com/chaseverittprop/', 'interest_rate': 11.75, 'currency_iso': u'ZAR', 'desktop_site_url': 'https://www.chaseveritt.co.za', 'stock_to_rent': True, 'recaptcha_key': '6Le_JioTAAAAAAMdue29gf9Z49BBPvb2bzPTT0zN', 'company_name': u'Chas Everitt International Properties Group', 'display_currency_converter': True, 'header_image_addon': False, 'website_url': 'https://www.chaseveritt.co.za', 'website_notification_details': u'Chas Everitt is operational during the national lockdown. From our home to yours. Stay safe. Stay home. For COVID-19 updates, visit the official government website', 'news_comments': False, 'insights_addon': True, 'recaptcha_secret': '6Le_JioTAAAAANAVHl8Dem3S6u0-swCz9jBTfsYd', 'eaab': False, 'commercial_addon': True, 'talasa': False, 'my_bond_fitness_addon': False, 'eos_version': '3.45.0 (YellowSands)', 'gumtree': False, 'default_heading_override': False, 'finance_partner': u'Not Applicable', 'estate_addon': True, 'rebosa': False, 'custom_newsletter_addon': True, 'private_property': False, 'cloudfront_url': 'https://d3nqlcsikcdie5.cloudfront.net', 'head_office_contact_number': u'+27 11 801 2500', 'favicons': {'color': u'#FFFFFF', 'browserconfig': u'//d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/bb3487baada2d79_browserconfig.xml', 'manifest_json': u'//d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/manifest.json/bb3487baada2d79_manifest.json', 'icons': ['https://d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/bb3487baada2d79_t_w_180_h_180.png', 'https://d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/bb3487baada2d79_t_w_32_h_32.png', 'https://d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/bb3487baada2d79_t_w_16_h_16.png', 'https://d3nqlcsikcdie5.cloudfront.net/uploads/company/2021/04/bb3487baada2d79_t_w_48_h_48.png']}, 'branches': [<Branch: East London>, <Branch: Gqeberha>, <Branch: Jeffreys Bay>, <Branch: St Francis Bay>, <Branch: Bloemfontein>, <Branch: Alberton>, <Branch: Benoni>, <Branch: Brakpan>, <Branch: Centurion>, <Branch: Glenvista>, <Branch: Head Office>, <Branch: Midrand>, <Branch: Pretoria>, <Branch: Randburg>, <Branch: Sandton>, <Branch: Waterfall>, <Branch: West Rand>, <Branch: Amanzimtoti>, <Branch: Durban Central>, <Branch: Durban South>, '...(remaining elements truncated)...'], 'offline_compression': True, 'sapoa': False, 'cookie_consent': False, 'tpn': False, 'youtube': u'https://www.youtube.com/channel/UCwTctighzv50akhIy6rnvkg', 'fusion': True, 'alerts_addon': True, 'website_notification_popup_background': u'#2C5697', 'js_dev': False, 'SYNDICATION_INTERFACE': False, 'account_number': u'PD1257', 'currency_full': u'South African Rands', 'enable_popia': True, 'kzn_property_guide': False}] |
dictionary | {'active_tab': 'bond-repayment', 'calculator': '<!--\n(C): 2007 Copyright propdata.co.za\nAll rigths reserved\nDUPLICATION of this code in whole or in part\nwithout prior written permission from propdata.co.za\nIS PROHIBITED\n-->\n<script type="text/javascript">\nsAgent = navigator.userAgent;\nbIsMac = sAgent.indexOf("Mac") > -1;\nbIsIE = sAgent.indexOf("MSIE") > -1;\nbIsIE3 = sAgent.indexOf("IE 3") > -1;\nbIsIE4 = sAgent.indexOf("IE 4") > -1;\nbIsIE5 = sAgent.indexOf("IE 5") > -1;\nbIsNav = sAgent.indexOf("Mozilla") > -1 && !bIsIE;\nbDoesAll = (bIsIE4 || bIsIE5) && !bIsMac;\n\nfunction formatCalc(num) {\n num = num.toString().replace(/\\$|\\,/g,\'\');\n if(isNaN(num)) num = "0";\n \n sign = (num == (num = Math.abs(num)));\n num = Math.floor(num*100+0.50000000001);\n cents = num%100;\n num = Math.floor(num/100).toString();\n \n if(cents<10) cents = "0" + cents;\n \n for (var i = 0; i < Math.floor((num.length-(1+i))/3); i++)\n num = num.substring(0,num.length-(4*i+3)) + \',\' + num.substring(num.length-(4*i+3));\n \n return cents == 0 ? (((sign)?\'\':\'-\') + \'\' + num) : (((sign)?\'\':\'-\') + \'\' + num + \'.\' + cents);\n}\n\nfunction mycalc() {\n Pv = vValue();\n i = vInt();\n n = vYears();\n \n if ( (Pv == -1) || (i == -1) || (n == -1) ) {\n try {\n document.data.pmt.value = "ERROR";\n } catch(err) {\n document.getElementById(\'pmt\').innerHTML = "ERROR";\n }\n } else {\n Pmt = i * Pv / (1-Math.pow(1+i,-n));\n try {\n document.data.pmt.value = formatCalc(Math.round(Pmt*100)/100); \n } catch(err) {\n document.getElementById(\'pmt\').innerHTML = formatCalc(Math.round(Pmt*100)/100); \n }\n }\n\n if(bDoesAll) {\n window.event.returnValue=false;\n } else {\n document.data.action=\'javascript::void()\';\n return false;\n }\n}\n\nfunction vValue() {\n num = document.data.pV.value.split(".")[0];\n num = num.replace(\',\', \'\');\n num = num.replace(\',\', \'\');\n num = num.replace(\',\', \'\');\n num = parseFloat(num);\n \n if(isNaN(num)) {\n if(document.data.pV.value != "ERROR") {\n document.data.pV.value = "ERROR";\n alert("Loan amount must be a number");\n }\n return -1;\n } else if(num <= 0) {\n if(document.data.pV.value != "ERROR") {\n document.data.pV.value = "ERROR";\n alert("Loan amount must be number greater than 0.");\n }\n return -1;\n } else {\n document.data.pV.value = formatCalc(num);\n return num; \n } \n}\n\nfunction vInt() {\n num = parseFloat(document.data.iY.value);\n if(isNaN(num)) {\n if(document.data.iY.value != "ERROR") {\n document.data.iY.value = "ERROR";\n alert("Interest rate must be a number");\n }\n return -1;\n } else if(num <= 0) {\n if(document.data.iY.value != "ERROR") {\n document.data.iY.value = "ERROR";\n alert("Interest rate must be number greater than 0.");\n }\n //document.data.iY.value = num;\n return -1;\n }\n document.data.iY.value = num;\n return num/1200; \n}\n\nfunction vYears() {\n num = parseFloat(document.data.tY.value);\n if(isNaN(num)) {\n if(document.data.tY.value != "ERROR") {\n document.data.tY.value = "ERROR";\n alert("Number of years must be a number");\n }\n return -1;\n } else if(num <= 0) {\n if(document.data.tY.value != "ERROR") {\n document.data.tY.value = "ERROR";\n alert("Number of years must be number greater than 0.");\n }\n //document.data.tY.value = num;\n return -1;\n }\n document.data.tY.value = num;\n return num*12; \n}\n\nfunction resetValues() {\n var purprice = 0;\n document.data.pV.value = purprice;\n document.data.pmt.value = "";\n}\n</script><script type="text/javascript">$(document).ready(function(){if ($(\'#pV\').val()>0) mycalc();});</script>\r\n<form name="data" action="javascript:var X;" method="post" id="data" onsubmit="mycalc();">\r\n <table class="calctable">\r\n <tr class="alt"> \r\n <td class="col1"><strong>Loan amount</strong> (Present Value)</td>\r\n <td width="1"><strong>R</strong></td>\r\n <td>\r\n <input name="pV" id="pV" onblur="mycalc();" value="1890000" />\r\n </td>\r\n </tr>\r\n <tr> \r\n <td><strong>Interest Rate</strong> (% per year) </td>\r\n <td> </td>\r\n <td> \r\n <input name="iY" id="iY" onblur="mycalc();" value="11.75" /> <strong>%</strong> \r\n </td>\r\n </tr>\r\n <tr class="alt"> \r\n <td><b>Number of years </b></td>\r\n <td> </td>\r\n <td><input name="tY" id="tY" onblur="mycalc();" value="20" /></td>\r\n </tr>\r\n <tr> \r\n <td><b>Monthly Payment</b></td>\r\n <td><strong>R</strong></td>\r\n <td><input name="pmt" id="pmt" type="text" /></td>\r\n </tr>\r\n <tr class="alt"> \r\n <td> </td>\r\n <td> </td>\r\n <td>\r\n <input type="button" onclick="mycalc();" value="Calculate" class="button"/>\r\n <!-- <input type="button" onclick="resetValues();" value="Reset" class="button"/> -->\r\n </td>\r\n </tr> \r\n </table>\r\n</form>'} |
/var/www/django-eos3-4/local/lib/python2.7/site-packages/django/template/loader.py
in get_template
raise TemplateDoesNotExist(name)
def get_template(template_name):
"""
Returns a compiled Template object for the given template name,
handling template inheritance recursively.
"""
template, origin = find_template(template_name)...
if not hasattr(template, 'render'):
# template needs to be compiled
template = get_template_from_string(template, origin, template_name)
return template
def get_template_from_string(source, origin=None, name=None):
Variable | Value |
---|---|
template_name | 'calculators/bond-repayment-calc.html' |
/var/www/django-eos3-4/local/lib/python2.7/site-packages/django/template/loader.py
in find_template
template_source_loaders = tuple(loaders)
for loader in template_source_loaders:
try:
source, display_name = loader(name, dirs)
return (source, make_origin(display_name, loader, name, dirs))
except TemplateDoesNotExist:
pass
raise TemplateDoesNotExist(name)...
def get_template(template_name):
"""
Returns a compiled Template object for the given template name,
handling template inheritance recursively.
"""
Variable | Value |
---|---|
dirs | None |
name | 'calculators/bond-repayment-calc.html' |
loader | <django.template.loaders.app_directories.Loader object at 0x7f68c37beb50> |
Variable | Value |
---|---|
amount | u'1890000' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
UWSGI_ROUTER | 'http' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | 'amount=1890000' |
HTTP_X_REAL_IP | '172.16.10.23' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'app-7.aws.propdata.net' |
REMOTE_ADDR | '172.16.20.127' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '11718' |
uwsgi.node | 'app-7.aws.propdata.net' |
HTTP_ACCEPT | '*/*' |
uwsgi.core | 1 |
wsgi.input | <uwsgi._Input object at 0x7f68c2341360> |
HTTP_HOST | 'm.chaseveritt.co.za' |
wsgi.multithread | True |
REQUEST_URI | '/bond-repayment-calculator/?amount=1890000' |
HTTP_X_SCHEME | 'https' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7f68d6cb3e40> |
REMOTE_PORT | '62168' |
uwsgi.version | '2.0.14-debian' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'W4qlg0SYEjd7P097EuhewdKxO4EEXD5e' |
PATH_INFO | u'/bond-repayment-calculator/' |
chas_everitt_international_properties_group.settings
Setting | Value |
---|---|
COMPRESS_URL | '/static/' |
MULTIPLE_CUSTOM_NEWSLETTERS | False |
SHOW_ALL_IN_AREA_SUBURB_LIST | False |
COMPRESS_OUTPUT_DIR | u'CACHE' |
USE_L10N | False |
FEEDS_API_APIKEY | u'********************' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
SENTRY_SITE | 'chaseveritt.co.za' |
BROKER_URL | 'redis://redis-1.aws.propdata.net:6379/0' |
SHOW_SHOWDAY_LOCATION | True |
AWS_S3_CUSTOM_DOMAIN | 'https://d3nqlcsikcdie5.cloudfront.net' |
MAILING_LIST_CONSENT_SUBJECT | 'We need your consent - %s' |
FRONTEND_ADDON | True |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
GATED_ESTATES_FEED_PATH | '/srv/www2/projects/EOS-3/GatedEstates/gated_estates/estates_json_files_to_import/' |
PROPERTYTUBE_VIDEO_URL | None |
AWS_S3_FILE_OVERWRITE | False |
JENKINS_POPIA_TOKEN | u'********************' |
API_ADDON | u'********************' |
DEFAULT_EMAIL_ALERTS_AGENT | 'lead' |
DEFAULT_HEADING_OVERRIDE | False |
DISABLE_SYNDICATION | False |
RECAPTCHA_PUBLIC_KEY | u'********************' |
SERVER_EMAIL | 'django@propdata.net' |
COMPRESS_CSS_COMPRESSOR | u'compressor.css.CssCompressor' |
SKIP_CURRENCY_CONVERSION | False |
FIRST_DAY_OF_WEEK | 0 |
BROCHURE_WEBSITE | [0.82, 0.55, 0.0] |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
CURRENCY | {'full': u'South African Rands', 'iso': u'ZAR', 'symbol': u'R'} |
AWS_S3_MAX_MEMORY_SIZE | 52428800 |
DEFAULT_INDEX_TABLESPACE | '' |
WATERMARK_OPACITY | 0.5 |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
CROP_DEFAULT | False |
USE_X_FORWARDED_HOST | False |
FUSION_UPDATE_BRANCH_NAMES | True |
EOS_DIRECTORY | './eos' |
COMPRESS_DEBUG_TOGGLE | None |
GMAPS_KEY | u'********************' |
CELERY_HOST | 'redis-1.aws.propdata.net' |
CSRF_COOKIE_DOMAIN | None |
PP_FEED_USERNAME | 'propdatauser' |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
ENQUIRY_TENANTS | ['bdavies@everitt.co.za', 'enquiries@everitt.co.za'] |
SESSION_FILE_PATH | None |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATICFILES_DIRS | ('/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group/chas_everitt_international_properties_group/../assets', './eos/assets') |
SECURE_PROXY_SSL_HEADER | ('HTTP_X_SCHEME', 'https') |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
SOUTH_TESTS_MIGRATE | True |
MY_BOND_FITNESS_ABOUT_PAGE | 'https://arh.mybondfitness.co.za/#/' |
LITE_PACKAGE_SUBS | ['residential', 'featured-properties', 'on-show', 'my-favourites', 'branch', 'agent', 'web-ref', 'student-accommodation'] |
AUTH_USER_MODEL | 'auth.User' |
PROPCTRL_SUBURB_MAPPING | {} |
USE_THOUSAND_SEPARATOR | False |
SESSION_REDIS_PORT | 6379 |
AWS_S3_SECRET_ACCESS_KEY | u'********************' |
SUPPORTED_COUNTRIES | ['South Africa', 'Zambia', 'Republic Of Mauritius', 'Portugal', 'Cyprus', 'United Kingdom', 'Italy'] |
EOS4_BRANCH_ID | None |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
COMPRESS_CACHE_KEY_FUNCTION | u'********************' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
VISUAL_CAPTCHA | {'assetPath': None, 'theme': 'dark'} |
SEND_TEL_LEADS_TO_HUBSPOT | False |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
NEW_DEVELOPMENT_ADDON | True |
MY_BOND_FITNESS_ADDON | False |
TEMPLATE_STRING_IF_INVALID | '' |
PROPCTRL_DEFAULT_MANDATE_TYPE | None |
FIXTURE_DIRS | () |
FACEBOOK_ADDON | True |
SEO_ADDON | True |
HUBSPOT_LEADS_EXPORT | False |
CELERY_ROUTES | {'eos.syndication.tasks.syndicate': {'queue': 'FEEDS_API', 'routing_key': 'FEEDS_API'}} |
FORMAT_MODULE_PATH | None |
LISTGLOBALLY_BRANCHES | None |
GATED_ESTATES_API_KEY | u'********************' |
DISALLOWED_USER_AGENTS | () |
DCS_SESSION_COOKIE_SAMESITE | 'Lax' |
FUSION_P24_DISABLE_SALES_BRANCHES | [] |
COMPRESS_OFFLINE | True |
HUBSPOT_HUBS | [] |
NEWS_PHOTO_SIZES | ['120x90', '250x250', '320x240', '640x480', '300x225', '360x340', '430x240', '740x580'] |
CELERY_QUEUES | (<unbound Queue chas_everitt_international_properties_group -> <unbound Exchange chas_everitt_international_properties_group(direct)> -> chas_everitt_international_properties_group>,) |
IS_COMMERCIAL_CLIENT | False |
USE_ETAGS | False |
CMS_PHOTO_SIZES | ['120x90'] |
RESERVED_SLUGS | ['company-profile', 'home-page', 'seller-services', 'landlord-services', 'mobi-home', 'mobi-about-us', 'mobi-email-newsletter', 'mobi-email-alerts'] |
SESSION_COOKIE_NAME | 'sessionid' |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PROPCTRL_UPDATE_AGENT | True |
GENIE_BRANCH_IDS | [] |
FACEBOOK_BRANCH_IDS | [801872] |
PROPERTY_24_LEADS_PASSWORD | u'********************' |
AWS_QUERYSTRING_AUTH | False |
ELASTIC_EMAIL_BASE_ENDPOINT | 'https://api.elasticemail.com/' |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'chas_everitt_international_properties_group.urls' |
MANAGERS | (('Prop Data', 'coders@propdata.co.za'),) |
SHOW_SYNDICATION | True |
LEADS_CONTACT_OVERRIDE | False |
STATIC_ROOT | '/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group/chas_everitt_international_properties_group/../static' |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
RECAPTCHA_PRIVATE_KEY | u'********************' |
TEMPLATE_DIRS | ('/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group/eos/html', '/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group/chas_everitt_international_properties_group/../html') |
INTERCOM_HASH | 'iLf6RCFAzpXPafR9Q13Fs7j7CAwY6oIjTBW0KPs3' |
CURRENT_DIRECTORY | '/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group/chas_everitt_international_properties_group' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
FUSION_LOCATION_MAPPING_ID | {} |
BRANCH_PHOTO_SIZES | ['120x90'] |
COMPRESS_YUI_BINARY | u'java -jar yuicompressor.jar' |
NOMAD_EMAIL_PRETORIA | 'herman.louw@everitt.co.za' |
FILE_UPLOAD_PERMISSIONS | None |
AGENT_PROFILE_PHOTO_SIZES | ['60x60'] |
DEFAULT_ADVANCED_SEARCH | False |
FUSION_HOLIDAY_ADDON | True |
APPEND_SLASH | True |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
LISTING_PHOTO_SIZES | ['320x240', '640x480', '800x600', '1280x1024'] |
COUNTRY | 'South Africa' |
FEEDS_API_URL | u'********************' |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.middleware.http.ConditionalGetMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'eos.lib.logged_in_user_request.LoggedInUserMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'eos.lib.suspended_mode.SuspendedModeMiddleware', 'eos.lib.website_mode.WebsiteModeMiddleware', 'eos.lib.http.Http403Middleware', 'eos.lib.api_middleware.api_auth_middleware', 'eos.lib.crequest_middleware.CrequestMiddleware', 'eos.lib.cookies_middleware.CookiesSameSite', 'eos.lib.analytics.GoogleAnalyticsMiddleware', 'eos.lib.mobi_middleware.MobiMiddleware') |
USE_I18N | True |
STOCK_TYPE | ['To Rent', 'For Sale'] |
LANGUAGE_COOKIE_NAME | 'django_language' |
MY_BOND_FITNESS_NB_LABEL | 'NB. If you click this checkbox, you will be redirected to another site.' |
WSGI_APPLICATION | None |
ENABLE_AGENT_LEADS_SELECTION | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CUSTOM_NEWSLETTER_ADDON | True |
NOMAD_EMAIL_SANDTON | 'rory@everitt.co.za' |
FORCE_SCRIPT_NAME | '' |
BROCHURE_DATE | [0.8, 0.8, 0.8] |
COMPRESS_CSSTIDY_BINARY | u'csstidy' |
CURRENT_PATH | '/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group/eos' |
PROPCTRL_BRANCH_MAPPING | None |
COMPRESS_VERBOSE | False |
LEADTREKKER_API_KEY | u'********************' |
MY_BOND_FITNESS_BASE_URL | 'https://arh.mybondfitness.co.za/#/' |
WEB_STATS | 'http://elb-1.aws.propdata.net/cgi-bin/awstats.pl?config=chaseveritt.co.za' |
COMPRESS_JS_FILTERS | ['compressor.filters.jsmin.JSMinFilter'] |
ANALYTICS_IDS | ['G-NGPCN58HZP'] |
SUPPORTING_STATUS | False |
PREPEND_WWW | False |
EOS_FEED_IN_CLIENTS | ['PD326'] |
GOOGLE_API_KEY | u'********************' |
LISTGLOBALLY_CUSTOMER_TYPE | 'Classic' |
CONNECT_FEEDS | {} |
COMPRESS_CSS_FILTERS | ['compressor.filters.cssmin.rCSSMinFilter'] |
EMAIL_HOST_PASSWORD | u'********************' |
SENTRY_DSN | 'https://7bdea3172d2c45a0acf58d7780911c73:14d04d84a2d642dda7a0c08c0f13df9c@sentry.propdata.net/2' |
EMAIL_NEWSLETTER_ADDON | True |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
ADMIN_MEDIA_PREFIX | '/media/' |
SESSION_ENGINE | 'redis_sessions.session' |
COMPRESS_YUGLIFY_BINARY | u'yuglify' |
SEND_POPIA_MAILERS | True |
WINDOW_DISPLAY_ADDON | {'commercial': False, 'holiday': False, 'new-developments': False, 'residential': False} |
ANALYTICS_TRANSPORT_URL | 'https://analytics.chaseveritt.co.za' |
PP_FEED_PASSWORD | u'********************' |
COM_PROPERTY_IDS | [] |
FUSION_CLIENT_ID | 0 |
SESSION_REDIS_HOST | '172.16.20.42' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
CONNECT_FEED_PROVINCE | 'KwaZulu Natal' |
CELERY_ENABLED | True |
DATETIME_FORMAT | 'N j, Y, P' |
REMOVE_LISTING_COUNT | False |
PATH_STR | ['', 'srv', 'projects', 'websites', 'live', 'chaseveritt.co.za', 'chas_everitt_international_properties_group', 'eos'] |
ANALYTICS_ID | None |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_ALERTS_ADDON | True |
COMPRESS_MINT_DELAY | 30 |
UNDER_CONSTRUCTION | False |
REGION_PROFILES_ADDON | True |
PERMISSIONS_ADDON | True |
LOG_LEVEL | 'info' |
COMPRESS_ENABLED | True |
COMMERCIAL_ADDON | True |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
COMPRESS_JINJA2_GET_ENVIRONMENT | <jinja2.environment.Environment object at 0x7f68c36d6190> |
DEFAULT_TABLESPACE | '' |
IS_MOBI_SITE | False |
SESSION_COOKIE_AGE | 1800 |
SETTINGS_MODULE | 'chas_everitt_international_properties_group.settings' |
RBWILLIAMS_EMAIL | 'amandate@everitt.co.za' |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('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-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-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('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'), ('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-tw', 'Traditional Chinese')) |
ZPG_CONFIG | {'branches': {}, 'endpoint': 'sandbox'} |
SETTINGS_PHOTO_SIZES | ['120x90', '320x240'] |
FEEDS_API_CURRENCY_CONVERTER | u'********************' |
SHOW_NON_WEBSITE_DISPLAY_LISTINGS | False |
SESSION_REDIS_PREFIX | 'chas_everitt_international_properties_group' |
CSRF_COOKIE_HTTPONLY | False |
FEEDS_API_ENABLED | u'********************' |
WATERMARK_POSITION | 'center' |
PACKAGE_OPTION | 'Premium' |
EMAIL_HOST_USER | 'no-reply@chaseveritt.co.za' |
CSRF_COOKIE_SECURE | False |
AWS_HEADERS | {'Cache-Control': 'max-age=311040000, public', 'Expires': 'Sun, 26 Mar 2034 11:22:51 GMT'} |
RESIDENTIAL_ADDON | True |
GMAPS_SECRET | u'********************' |
FUSION_P24_DISABLE_RENTALS_BRANCHES | [] |
REMOVE_COMPANY_NAME | False |
COMPRESS_CSSTIDY_ARGUMENTS | u'--template=highest' |
DOC_LINK_ID | None |
AWS_STORAGE_BUCKET_NAME | 'pd-1257' |
ADMIN_FOR | () |
PROPERTY_24_DEFAULT_GROUP_ID | 1 |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
JOIN_US | ['bdavies@everitt.co.za'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
BRANCH_LEVEL_ACCESS_ADDON | False |
SHOW_LISTING_LOCATION | True |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
DEFAULT_SEARCH_TEXT | 'Type Area or Suburb Name' |
FEATURED_PROPERTIES | 2 |
AWS_S3_URL_PROTOCOL | 'https:' |
SHOW_PRIVATE_SELLER_ICON | False |
SESSION_COOKIE_SECURE | False |
FAVICON_SIZES | ['512x512', '192x192', '180x180', '150x150', '32x32', '16x16', '120x90'] |
GATED_ESTATE_BRANCH_ID | [] |
EOS_MIDDLEWARE | ('django.middleware.common.CommonMiddleware', 'django.middleware.http.ConditionalGetMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'eos.lib.logged_in_user_request.LoggedInUserMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'eos.lib.suspended_mode.SuspendedModeMiddleware', 'eos.lib.website_mode.WebsiteModeMiddleware', 'eos.lib.http.Http403Middleware', 'eos.lib.api_middleware.api_auth_middleware', 'eos.lib.crequest_middleware.CrequestMiddleware', 'eos.lib.cookies_middleware.CookiesSameSite') |
DEFAULT_WEBREF_SEARCH_TEXT | 'Web Reference Number e.g. RL123' |
INSTALLED_APPS | ('django.contrib.contenttypes', 'django.contrib.auth', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.humanize', 'django.contrib.staticfiles', 'eos.testdata', 'eos.branches', 'eos.settings', 'eos.agents', 'eos.listings', 'eos.enquiries', 'eos.mailing_list', 'eos.news', 'eos.cms', 'eos.alerts', 'eos.region_profiles', 'eos.api', 'eos.documents', 'eos.message_board', 'eos.permissions', 'eos.syndication', 'eos.navigation', 'eos.insights', 'eos.microservices', 'eos.mailapi', 'eos.marketing', 'eos.notifications', 'south', 'tastypie', 'storages', 'compressor', 'rest_framework', 'dbbackup', 'raven.contrib.django.raven_compat', 'custom') |
AWS_S3_REGION_NAME | 'us-east-1' |
COMMENTS_ALLOW_PROFANITIES | False |
MICRO_SITE | False |
P24_CREDS | {'group_id': 1, 'password': '', 'username': ''} |
LEAD_CONSENT_SUBJECT | 'You have been added to the %s client system' |
HUBSPOT_USE_TOKEN | u'********************' |
USA_METRIC | False |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
CSRF_COOKIE_NAME | 'csrftoken' |
DEV_MODE | False |
DISABLE_CONSENT_EMAILS | False |
SESSION_SAVE_EVERY_REQUEST | True |
NUMBER_GROUPING | 0 |
LOCALE_PATHS | () |
ANALYTICS_IGNORE_ADMIN | True |
LOGGING | {} |
DEFAULT_MOBI_SEARCH_TEXT | 'Type Suburb or Web Ref Number' |
EMAIL_USE_TLS | True |
API_GATEWAY_URL | u'********************' |
EMAIL_HOST | 'smtp.elasticemail.com' |
COMPRESS_ROOT | '/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group/static' |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ('eos.permissions.api_permissions.BasicAPIAuthentication',), 'DEFAULT_PERMISSION_CLASSES': (), 'DEFAULT_RENDERER_CLASSES': ('rest_framework.renderers.JSONRenderer',), 'PAGE_SIZE': 15} |
ESTATE_ADDON | True |
MEDIA_URL | '' |
PROPERTYTUBE_VIDEO_ADDON | False |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
CUSTOMER_SUSPENDED | False |
INSIGHTS_ADDON | True |
DISABLE_PETS_ALLOWED_VALUE | False |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
AGENT_PHOTO_SIZES | ['90x120', '100x150', '120x160', '320x240', '640x480', '140x140', '338x480'] |
TIME_ZONE | 'Africa/Johannesburg' |
DEFAULT_EMAIL_REPORTS | True |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
SESSION_COOKIE_HTTPONLY | True |
CONNECT_FEED_URL | 'http://api.remax.co.za/' |
GOBIGGA_API_KEY | u'********************' |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
COMPRESS_CLOSURE_COMPILER_BINARY | u'java -jar compiler.jar' |
SYNC_LOCATION_COUNTRIES | ['Zambia', 'Republic Of Mauritius'] |
CELERY_RESULT_BACKEND | 'redis://redis-1.aws.propdata.net:6379/0' |
MICROSERVICE_VERSION | 'N/A' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
PROPDATA_EMAIL_ADDRESS | 'noreply@propdata.net' |
GATED_ESTATES_API_HOST | u'********************' |
SYNDICATION_INTERFACE | False |
JENKINS_API_TOKEN | u'********************' |
LITE_PACKAGE_ADDON_PERMISSIONS | {'branches': {'lite_branches_add': True, 'lite_branches_edit': True}, 'content': {'lite_content_add': False}} |
PROFANITIES_LIST | u'********************' |
PROPCTRL_CREDS | {'password': '', 'username': ''} |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': '/static/'} |
CELERY_DEFAULT_QUEUE | 'chas_everitt_international_properties_group' |
WATERMARK_SCALE | 0.15 |
COMPRESS_CSS_HASHING_METHOD | u'mtime' |
CURRENCY_CONVERTER_API_APIKEY | u'********************' |
DEFAULT_CHARSET | 'utf-8' |
FUSION_DISABLE_FEATURED | True |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | u'' |
ALLOWED_HOSTS | ['.chaseveritt.co.za'] |
HEADER_IMAGE_ADDON | False |
SYNC_PORTALS | True |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
STATIC_URL | '/static/' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
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.postgresql_psycopg2', 'HOST': 'db-cluster-2.cluster-chzvg9rvjwtq.us-east-1.rds.amazonaws.com', 'NAME': 'chas_everitt_international_properties_group', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Africa/Johannesburg', 'USER': 'chas_everitt_international_properties_group'}} |
ENQUIRY_LANDLORD | ['enquiries@everitt.co.za'] |
AREA_PROFILE_SIZES | ['320x240', '640x480', '1280x1024'] |
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.request', 'eos.lib.context_processors.eos_config') |
DESKTOP_SITE_URL | None |
CACHING_ADDON | False |
LIST_YOUR_PROPERTY_DISPLAY | True |
MOBI_URL | 'https://m.chaseveritt.co.za' |
FLOOR_PLAN_SIZES | ['320x240', '640x480'] |
AWS_S3_ACCESS_KEY_ID | u'********************' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_CACHE_BACKEND | u'default' |
HIDE_CALCULATORS | False |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
FILE_UPLOAD_TEMP_DIR | None |
CONNECT_FEED_USERNAME | 'propdata' |
TRANSACTIONS_MANAGED | False |
INTEREST_RATE | 11.75 |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
HOLIDAY_LETTING_DISPLAY_SELF_CATERING | True |
AWS_S3_SECURE_URLS | False |
PORTALS_ADDON | False |
NEWSLETTER_FEATURED_OPTION_ADDON | True |
DEFAULT_FILE_STORAGE | 'eos.lib.s3.S3Storage' |
ENQUIRY_EMAILS | ['enquiries@everitt.co.za'] |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
EOS_GENERIC_FEED_SETTINGS | {} |
BROCHURE_TITLE_P2 | [0.0, 0.0, 0.0] |
BROCHURE_TITLE_P1 | [0.82, 0.55, 0.0] |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
DOCUMENTS_ADDON | True |
CONNECT_FEED_PASSWORD | u'********************' |
EMAIL_STATIONERY_ADDON | False |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
S3_FOLDER_NAME | '' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CSRF_COOKIE_PATH | '/' |
API_ACCESS | u'********************' |
ELASTIC_EMAIL_API_KEY | u'********************' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_MTIME_DELAY | 10 |
DCS_SESSION_COOKIE_SAMESITE_FORCE_ALL | True |
PROPERTY_24_LEADS_USERNAME | 'LeadStatistics@propdata.net' |
SHOW_MAP_CLUSTERS | True |
ABSOLUTE_URL_OVERRIDES | {} |
GROSS_MONTHLY_COMMERCIAL_P24 | False |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/srv/projects/websites/live/chaseveritt.co.za/chas_everitt_international_properties_group/chas_everitt_international_properties_group/../assets' |
TEMPLATE_DEBUG | False |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
BROCHURE_PRICE | [0.0, 0.0, 0.0] |
SITE_ID | 203 |
ALLOWED_INCLUDE_ROOTS | () |
CACHE_MIDDLEWARE_SECONDS | 300 |
SHORT_DATE_FORMAT | 'm/d/Y' |
IS_LANDING_PAGE | False |
HOLIDAY_ADDON | True |
COMPRESS_OFFLINE_CONTEXT | {u'STATIC_URL': '/static/'} |
OFFERS_ADDON | True |
FUSION_DEVELOPMENT_MAPPING | {} |
LISTGLOBALLY_SUBSCRIPTION_TOTAL | 20 |
JENKINS_USERNAME | 'matthewfaircliff' |
MY_BOND_FITNESS_DISPLAY_LABEL | 'Bond Pre-approval' |
INTERNAL_IPS | () |
EMAIL_PORT | '2525' |
FUSION_ENABLE_DEVELOPMENTS | False |
BROCHURE_HEADINGS | [0.0, 0.0, 0.0] |
PASSWORD_HASHERS | u'********************' |
POPIA_MAILER_CONFIG | [{'date': '2021-06-11', 'subject_line': 'Keeping you up to date', 'template': 'emails/popia-mailer-1.html'}, {'date': '2021-06-22', 'subject_line': 'Continue receiving our mails', 'template': 'emails/popia-mailer-2.html'}, {'date': '2021-06-25', 'subject_line': 'Keeping you in the know about real estate', 'template': 'emails/popia-mailer-3.html'}, {'date': '2021-06-28', 'subject_line': 'Keep yourself up to date with real estate', 'template': 'emails/popia-mailer-4.html'}] |
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') |
WEBSITE_URL | 'https://www.chaseveritt.co.za' |
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.