[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
Request Method: | GET |
---|---|
Request URL: | https://app.weissanalytics.com/commerce/purchase-weiss-investorpro/entireusmonthly/ |
Django Version: | 1.8.4 |
Exception Type: | SSLError |
Exception Value: | [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645) |
Exception Location: | /home/wrr/py3.5/lib/python3.5/site-packages/requests/adapters.py in send, line 431 |
Python Executable: | /home/wrr/py3.5/bin/python3.5 |
Python Version: | 3.5.1 |
Python Path: | ['/home/wrr/weissanalytics2', '/home/wrr/py3.5/bin', '/home/wrr/py3.5/lib/python35.zip', '/home/wrr/py3.5/lib/python3.5', '/home/wrr/py3.5/lib/python3.5/plat-linux', '/home/wrr/py3.5/lib/python3.5/lib-dynload', '/home/wrr/.localpython/lib/python3.5', '/home/wrr/.localpython/lib/python3.5/plat-linux', '/home/wrr/py3.5/lib/python3.5/site-packages'] |
Server time: | Thu, 28 Mar 2024 20:50:29 +0000 |
/home/wrr/py3.5/lib/python3.5/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 |
---|---|
resolver | <RegexURLResolver 'wrr_maps_site.urls' (None:None) ^/> |
callback | <function WeissInvestorProPurchaseView at 0x7f57ffc6f400> |
wrapped_callback | <function WeissInvestorProPurchaseView at 0x7f57ffc6f400> |
callback_args | () |
middleware_method | <bound method CorsMiddleware.process_view of <corsheaders.middleware.CorsMiddleware object at 0x7f580cca6eb8>> |
resolver_match | ResolverMatch(func=commerce.views.WeissInvestorProPurchaseView, args=(), kwargs={'plan': 'entireusmonthly'}, url_name=purchase_weiss_investorpro, app_name=None, namespaces=['commerce']) |
callback_kwargs | {'plan': 'entireusmonthly'} |
request | ('<WSGIRequest\n' 'path:/commerce/purchase-weiss-investorpro/entireusmonthly/,\n' 'GET:<QueryDict: {}>,\n' 'POST:<QueryDict: {}>,\n' 'COOKIES:{},\n' "META:{'HTTP_CONNECTION': 'close',\n" " 'HTTP_HOST': 'app.weissanalytics.com',\n" " 'HTTP_USER_AGENT': 'Amazon CloudFront',\n" " 'HTTP_VIA': '2.0 6946167499a4b8f515865d62f0b0b284.cloudfront.net " "(CloudFront)',\n" " 'HTTP_X_AMZ_CF_ID': " "'x5j5JpT840CVSWhORjf6RPtpKlhUDYWCWsRaJHx58iesBrpiKAbL8w==',\n" " 'HTTP_X_FORWARDED_FOR': '35.175.212.5, 64.252.67.166',\n" " 'HTTP_X_FORWARDED_PROTO': 'https',\n" " 'PATH_INFO': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'QUERY_STRING': '',\n" " 'RAW_URI': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'REMOTE_ADDR': '127.0.0.1',\n" " 'REMOTE_PORT': '34342',\n" " 'REQUEST_METHOD': 'GET',\n" " 'SCRIPT_NAME': '',\n" " 'SERVER_NAME': '127.0.0.1',\n" " 'SERVER_PORT': '8008',\n" " 'SERVER_PROTOCOL': 'HTTP/1.0',\n" " 'SERVER_SOFTWARE': 'gunicorn/20.0.4',\n" " 'gunicorn.socket': <socket.socket fd=14, family=AddressFamily.AF_INET, " "type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8008), " "raddr=('127.0.0.1', 34342)>,\n" " 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at " '0x7f57ffb0e0b8>,\n' " 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n" " 'wsgi.input': <gunicorn.http.body.Body object at 0x7f57ff24a5f8>,\n" " 'wsgi.input_terminated': True,\n" " 'wsgi.multiprocess': True,\n" " 'wsgi.multithread': False,\n" " 'wsgi.run_once': False,\n" " 'wsgi.url_scheme': 'https',\n" " 'wsgi.version': (1, 0)}>") |
response | None |
urlconf | 'wrr_maps_site.urls' |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f580ccd4f28> |
/home/wrr/py3.5/lib/python3.5/site-packages/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
# take name and docstring from class
update_wrapper(view, cls, updated=())
# and possible attributes set by decorators
# like csrf_exempt from dispatch
Variable | Value |
---|---|
args | () |
self | <commerce.views.WeissInvestorProPurchaseView object at 0x7f57fef79390> |
cls | <class 'commerce.views.WeissInvestorProPurchaseView'> |
request | ('<WSGIRequest\n' 'path:/commerce/purchase-weiss-investorpro/entireusmonthly/,\n' 'GET:<QueryDict: {}>,\n' 'POST:<QueryDict: {}>,\n' 'COOKIES:{},\n' "META:{'HTTP_CONNECTION': 'close',\n" " 'HTTP_HOST': 'app.weissanalytics.com',\n" " 'HTTP_USER_AGENT': 'Amazon CloudFront',\n" " 'HTTP_VIA': '2.0 6946167499a4b8f515865d62f0b0b284.cloudfront.net " "(CloudFront)',\n" " 'HTTP_X_AMZ_CF_ID': " "'x5j5JpT840CVSWhORjf6RPtpKlhUDYWCWsRaJHx58iesBrpiKAbL8w==',\n" " 'HTTP_X_FORWARDED_FOR': '35.175.212.5, 64.252.67.166',\n" " 'HTTP_X_FORWARDED_PROTO': 'https',\n" " 'PATH_INFO': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'QUERY_STRING': '',\n" " 'RAW_URI': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'REMOTE_ADDR': '127.0.0.1',\n" " 'REMOTE_PORT': '34342',\n" " 'REQUEST_METHOD': 'GET',\n" " 'SCRIPT_NAME': '',\n" " 'SERVER_NAME': '127.0.0.1',\n" " 'SERVER_PORT': '8008',\n" " 'SERVER_PROTOCOL': 'HTTP/1.0',\n" " 'SERVER_SOFTWARE': 'gunicorn/20.0.4',\n" " 'gunicorn.socket': <socket.socket fd=14, family=AddressFamily.AF_INET, " "type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8008), " "raddr=('127.0.0.1', 34342)>,\n" " 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at " '0x7f57ffb0e0b8>,\n' " 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n" " 'wsgi.input': <gunicorn.http.body.Body object at 0x7f57ff24a5f8>,\n" " 'wsgi.input_terminated': True,\n" " 'wsgi.multiprocess': True,\n" " 'wsgi.multithread': False,\n" " 'wsgi.run_once': False,\n" " 'wsgi.url_scheme': 'https',\n" " 'wsgi.version': (1, 0)}>") |
kwargs | {'plan': 'entireusmonthly'} |
initkwargs | {} |
/home/wrr/weissanalytics2/commerce/views.py
in dispatch
# self.subscription_type = WeissInvestorProYearlyProduct.SUBSCRIPTION_TYPE #used inman profile
# self.monthly_reports = WeissInvestorProYearlyProduct.MAX_REPORT_VIEWS
# self.zip_reports = WeissInvestorProYearlyProduct.MAX_ZIP_CODE_REPORT_VIEWS
if get_client_ip(request) in settings.SPECIAL_PRICE_IP_LIST:
self.price = 1 #special price for testing
return super().dispatch(request, *args, **kwargs)...
def get(self, request, *args, **kwargs):
print(request.user)
product = {
'description': self.description,
Variable | Value |
---|---|
__class__ | <class 'commerce.views.WeissInvestorProPurchaseView'> |
args | () |
request | ('<WSGIRequest\n' 'path:/commerce/purchase-weiss-investorpro/entireusmonthly/,\n' 'GET:<QueryDict: {}>,\n' 'POST:<QueryDict: {}>,\n' 'COOKIES:{},\n' "META:{'HTTP_CONNECTION': 'close',\n" " 'HTTP_HOST': 'app.weissanalytics.com',\n" " 'HTTP_USER_AGENT': 'Amazon CloudFront',\n" " 'HTTP_VIA': '2.0 6946167499a4b8f515865d62f0b0b284.cloudfront.net " "(CloudFront)',\n" " 'HTTP_X_AMZ_CF_ID': " "'x5j5JpT840CVSWhORjf6RPtpKlhUDYWCWsRaJHx58iesBrpiKAbL8w==',\n" " 'HTTP_X_FORWARDED_FOR': '35.175.212.5, 64.252.67.166',\n" " 'HTTP_X_FORWARDED_PROTO': 'https',\n" " 'PATH_INFO': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'QUERY_STRING': '',\n" " 'RAW_URI': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'REMOTE_ADDR': '127.0.0.1',\n" " 'REMOTE_PORT': '34342',\n" " 'REQUEST_METHOD': 'GET',\n" " 'SCRIPT_NAME': '',\n" " 'SERVER_NAME': '127.0.0.1',\n" " 'SERVER_PORT': '8008',\n" " 'SERVER_PROTOCOL': 'HTTP/1.0',\n" " 'SERVER_SOFTWARE': 'gunicorn/20.0.4',\n" " 'gunicorn.socket': <socket.socket fd=14, family=AddressFamily.AF_INET, " "type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8008), " "raddr=('127.0.0.1', 34342)>,\n" " 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at " '0x7f57ffb0e0b8>,\n' " 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n" " 'wsgi.input': <gunicorn.http.body.Body object at 0x7f57ff24a5f8>,\n" " 'wsgi.input_terminated': True,\n" " 'wsgi.multiprocess': True,\n" " 'wsgi.multithread': False,\n" " 'wsgi.run_once': False,\n" " 'wsgi.url_scheme': 'https',\n" " 'wsgi.version': (1, 0)}>") |
kwargs | {'plan': 'entireusmonthly'} |
self | <commerce.views.WeissInvestorProPurchaseView object at 0x7f57fef79390> |
/home/wrr/py3.5/lib/python3.5/site-packages/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning('Method Not Allowed (%s): %s', request.method, request.path,
extra={
'status_code': 405,
'request': request
Variable | Value |
---|---|
args | () |
handler | <bound method WeissInvestorProPurchaseView.get of <commerce.views.WeissInvestorProPurchaseView object at 0x7f57fef79390>> |
request | ('<WSGIRequest\n' 'path:/commerce/purchase-weiss-investorpro/entireusmonthly/,\n' 'GET:<QueryDict: {}>,\n' 'POST:<QueryDict: {}>,\n' 'COOKIES:{},\n' "META:{'HTTP_CONNECTION': 'close',\n" " 'HTTP_HOST': 'app.weissanalytics.com',\n" " 'HTTP_USER_AGENT': 'Amazon CloudFront',\n" " 'HTTP_VIA': '2.0 6946167499a4b8f515865d62f0b0b284.cloudfront.net " "(CloudFront)',\n" " 'HTTP_X_AMZ_CF_ID': " "'x5j5JpT840CVSWhORjf6RPtpKlhUDYWCWsRaJHx58iesBrpiKAbL8w==',\n" " 'HTTP_X_FORWARDED_FOR': '35.175.212.5, 64.252.67.166',\n" " 'HTTP_X_FORWARDED_PROTO': 'https',\n" " 'PATH_INFO': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'QUERY_STRING': '',\n" " 'RAW_URI': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'REMOTE_ADDR': '127.0.0.1',\n" " 'REMOTE_PORT': '34342',\n" " 'REQUEST_METHOD': 'GET',\n" " 'SCRIPT_NAME': '',\n" " 'SERVER_NAME': '127.0.0.1',\n" " 'SERVER_PORT': '8008',\n" " 'SERVER_PROTOCOL': 'HTTP/1.0',\n" " 'SERVER_SOFTWARE': 'gunicorn/20.0.4',\n" " 'gunicorn.socket': <socket.socket fd=14, family=AddressFamily.AF_INET, " "type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8008), " "raddr=('127.0.0.1', 34342)>,\n" " 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at " '0x7f57ffb0e0b8>,\n' " 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n" " 'wsgi.input': <gunicorn.http.body.Body object at 0x7f57ff24a5f8>,\n" " 'wsgi.input_terminated': True,\n" " 'wsgi.multiprocess': True,\n" " 'wsgi.multithread': False,\n" " 'wsgi.run_once': False,\n" " 'wsgi.url_scheme': 'https',\n" " 'wsgi.version': (1, 0)}>") |
kwargs | {'plan': 'entireusmonthly'} |
self | <commerce.views.WeissInvestorProPurchaseView object at 0x7f57fef79390> |
/home/wrr/weissanalytics2/commerce/views.py
in get
print(request.user)
product = {
'description': self.description,
'price': self.price
}
print(self.price)
braintree_client_token = get_client_token(request)...
context = {
'product': product,
'braintree_client_token': braintree_client_token,
'subscription_note': self.subscription_note,
}
Variable | Value |
---|---|
product | {'description': 'Entire US Monthly', 'price': Decimal('1800.00')} |
args | () |
request | ('<WSGIRequest\n' 'path:/commerce/purchase-weiss-investorpro/entireusmonthly/,\n' 'GET:<QueryDict: {}>,\n' 'POST:<QueryDict: {}>,\n' 'COOKIES:{},\n' "META:{'HTTP_CONNECTION': 'close',\n" " 'HTTP_HOST': 'app.weissanalytics.com',\n" " 'HTTP_USER_AGENT': 'Amazon CloudFront',\n" " 'HTTP_VIA': '2.0 6946167499a4b8f515865d62f0b0b284.cloudfront.net " "(CloudFront)',\n" " 'HTTP_X_AMZ_CF_ID': " "'x5j5JpT840CVSWhORjf6RPtpKlhUDYWCWsRaJHx58iesBrpiKAbL8w==',\n" " 'HTTP_X_FORWARDED_FOR': '35.175.212.5, 64.252.67.166',\n" " 'HTTP_X_FORWARDED_PROTO': 'https',\n" " 'PATH_INFO': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'QUERY_STRING': '',\n" " 'RAW_URI': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'REMOTE_ADDR': '127.0.0.1',\n" " 'REMOTE_PORT': '34342',\n" " 'REQUEST_METHOD': 'GET',\n" " 'SCRIPT_NAME': '',\n" " 'SERVER_NAME': '127.0.0.1',\n" " 'SERVER_PORT': '8008',\n" " 'SERVER_PROTOCOL': 'HTTP/1.0',\n" " 'SERVER_SOFTWARE': 'gunicorn/20.0.4',\n" " 'gunicorn.socket': <socket.socket fd=14, family=AddressFamily.AF_INET, " "type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8008), " "raddr=('127.0.0.1', 34342)>,\n" " 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at " '0x7f57ffb0e0b8>,\n' " 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n" " 'wsgi.input': <gunicorn.http.body.Body object at 0x7f57ff24a5f8>,\n" " 'wsgi.input_terminated': True,\n" " 'wsgi.multiprocess': True,\n" " 'wsgi.multithread': False,\n" " 'wsgi.run_once': False,\n" " 'wsgi.url_scheme': 'https',\n" " 'wsgi.version': (1, 0)}>") |
kwargs | {'plan': 'entireusmonthly'} |
self | <commerce.views.WeissInvestorProPurchaseView object at 0x7f57fef79390> |
/home/wrr/weissanalytics2/commerce/views.py
in get_client_token
else:
try:
customer_id = request.session['braintree_customer_id']
customer = PendingBraintreeCustomer.objects.get(braintree_id=customer_id)
customer.delete()
except (KeyError, PendingBraintreeCustomer.DoesNotExist):
pass
customer = PendingBraintreeCustomer.objects.create()...
request.session['braintree_customer_id'] = customer.braintree_id
token = customer.get_client_token()
return token
def get_client_token_ajax(request):
Variable | Value |
---|---|
request | ('<WSGIRequest\n' 'path:/commerce/purchase-weiss-investorpro/entireusmonthly/,\n' 'GET:<QueryDict: {}>,\n' 'POST:<QueryDict: {}>,\n' 'COOKIES:{},\n' "META:{'HTTP_CONNECTION': 'close',\n" " 'HTTP_HOST': 'app.weissanalytics.com',\n" " 'HTTP_USER_AGENT': 'Amazon CloudFront',\n" " 'HTTP_VIA': '2.0 6946167499a4b8f515865d62f0b0b284.cloudfront.net " "(CloudFront)',\n" " 'HTTP_X_AMZ_CF_ID': " "'x5j5JpT840CVSWhORjf6RPtpKlhUDYWCWsRaJHx58iesBrpiKAbL8w==',\n" " 'HTTP_X_FORWARDED_FOR': '35.175.212.5, 64.252.67.166',\n" " 'HTTP_X_FORWARDED_PROTO': 'https',\n" " 'PATH_INFO': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'QUERY_STRING': '',\n" " 'RAW_URI': '/commerce/purchase-weiss-investorpro/entireusmonthly/',\n" " 'REMOTE_ADDR': '127.0.0.1',\n" " 'REMOTE_PORT': '34342',\n" " 'REQUEST_METHOD': 'GET',\n" " 'SCRIPT_NAME': '',\n" " 'SERVER_NAME': '127.0.0.1',\n" " 'SERVER_PORT': '8008',\n" " 'SERVER_PROTOCOL': 'HTTP/1.0',\n" " 'SERVER_SOFTWARE': 'gunicorn/20.0.4',\n" " 'gunicorn.socket': <socket.socket fd=14, family=AddressFamily.AF_INET, " "type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8008), " "raddr=('127.0.0.1', 34342)>,\n" " 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at " '0x7f57ffb0e0b8>,\n' " 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n" " 'wsgi.input': <gunicorn.http.body.Body object at 0x7f57ff24a5f8>,\n" " 'wsgi.input_terminated': True,\n" " 'wsgi.multiprocess': True,\n" " 'wsgi.multithread': False,\n" " 'wsgi.run_once': False,\n" " 'wsgi.url_scheme': 'https',\n" " 'wsgi.version': (1, 0)}>") |
/home/wrr/weissanalytics2/commerce/models.py
in create
class PendingBraintreeCustomerManager(models.Manager):
""" Handles creation of placeholder customer in Braintree's system. """
def create(self):
customer_create_result = braintree.Customer.create({
'first_name': 'pending'...
})
if not customer_create_result.is_success:
raise BraintreeError('Failed to create pending braintree customer.')
obj = super(PendingBraintreeCustomerManager, self).create(
braintree_id=customer_create_result.customer.id
)
Variable | Value |
---|---|
__class__ | <class 'commerce.models.PendingBraintreeCustomerManager'> |
self | <commerce.models.PendingBraintreeCustomerManager object at 0x7f5814d7b860> |
/home/wrr/py3.5/lib/python3.5/site-packages/braintree/customer.py
in create
result = braintree.Customer.create({
"company": "Some company",
"first_name": "John"
})
"""
return Configuration.gateway().customer.create(params)...
@staticmethod
def delete(customer_id):
"""
Delete a customer
Variable | Value |
---|---|
params | {'first_name': 'pending'} |
/home/wrr/py3.5/lib/python3.5/site-packages/braintree/customer_gateway.py
in create
def confirm_transparent_redirect(self, query_string):
id = self.gateway.transparent_redirect._parse_and_validate_query_string(query_string)["id"][0]
return self._post("/customers/all/confirm_transparent_redirect_request", {"id": id})
def create(self, params={}):
Resource.verify_keys(params, Customer.create_signature())
return self._post("/customers", {"customer": params})...
def delete(self, customer_id):
self.config.http().delete(self.config.base_merchant_path() + "/customers/" + customer_id)
return SuccessfulResult()
def find(self, customer_id):
Variable | Value |
---|---|
self | <braintree.customer_gateway.CustomerGateway object at 0x7f57fef79c18> |
params | {'first_name': 'pending'} |
/home/wrr/py3.5/lib/python3.5/site-packages/braintree/customer_gateway.py
in _post
def __fetch(self, query, ids):
criteria = self.__criteria(query)
criteria["ids"] = braintree.customer_search.CustomerSearch.ids.in_list(ids).to_param()
response = self.config.http().post(self.config.base_merchant_path() + "/customers/advanced_search", {"search": criteria})
return [Customer(self.gateway, item) for item in ResourceCollection._extract_as_array(response["customers"], "customer")]
def _post(self, url, params={}):
response = self.config.http().post(self.config.base_merchant_path() + url, params)...
if "customer" in response:
return SuccessfulResult({"customer": Customer(self.gateway, response["customer"])})
elif "api_error_response" in response:
return ErrorResult(self.gateway, response["api_error_response"])
else:
pass
Variable | Value |
---|---|
url | '/customers' |
self | <braintree.customer_gateway.CustomerGateway object at 0x7f57fef79c18> |
params | {'customer': {'first_name': 'pending'}} |
/home/wrr/py3.5/lib/python3.5/site-packages/braintree/util/http.py
in post
raise UnexpectedError("Unexpected HTTP_RESPONSE " + str(status))
def __init__(self, config, environment=None):
self.config = config
self.environment = environment or self.config.environment
def post(self, path, params={}):
return self.__http_do("POST", path, params)...
def delete(self, path):
return self.__http_do("DELETE", path)
def get(self, path):
return self.__http_do("GET", path)
Variable | Value |
---|---|
path | '/merchants/2g37m69pmkp9t25x/customers' |
self | <braintree.util.http.Http object at 0x7f57fef79b38> |
params | {'customer': {'first_name': 'pending'}} |
/home/wrr/py3.5/lib/python3.5/site-packages/braintree/util/http.py
in __http_do
try:
status, response_body = http_strategy.http_do(http_verb, full_path, self.__headers(), request_body)
except Exception as e:
if self.config.wrap_http_exceptions:
http_strategy.handle_exception(e)
else:
raise e...
if Http.is_error_status(status):
Http.raise_exception_from_status(status)
else:
if len(response_body.strip()) == 0:
return {}
Variable | Value |
---|---|
params | {'customer': {'first_name': 'pending'}} |
path | '/merchants/2g37m69pmkp9t25x/customers' |
self | <braintree.util.http.Http object at 0x7f57fef79b38> |
full_path | 'https://api.braintreegateway.com:443/merchants/2g37m69pmkp9t25x/customers' |
http_verb | 'POST' |
http_strategy | <braintree.util.http.Http object at 0x7f57fef795c0> |
request_body | '<customer><first_name>pending</first_name></customer>' |
/home/wrr/py3.5/lib/python3.5/site-packages/braintree/util/http.py
in __http_do
def __http_do(self, http_verb, path, params=None):
http_strategy = self.config.http_strategy()
request_body = XmlUtil.xml_from_dict(params) if params else ''
full_path = path if path.startswith(self.config.base_url()) else (self.config.base_url() + path)
try:
status, response_body = http_strategy.http_do(http_verb, full_path, self.__headers(), request_body)...
except Exception as e:
if self.config.wrap_http_exceptions:
http_strategy.handle_exception(e)
else:
raise e
Variable | Value |
---|---|
params | {'customer': {'first_name': 'pending'}} |
path | '/merchants/2g37m69pmkp9t25x/customers' |
self | <braintree.util.http.Http object at 0x7f57fef79b38> |
full_path | 'https://api.braintreegateway.com:443/merchants/2g37m69pmkp9t25x/customers' |
http_verb | 'POST' |
http_strategy | <braintree.util.http.Http object at 0x7f57fef795c0> |
request_body | '<customer><first_name>pending</first_name></customer>' |
/home/wrr/py3.5/lib/python3.5/site-packages/braintree/util/http.py
in http_do
def http_do(self, http_verb, path, headers, request_body):
response = self.__request_function(http_verb)(
path if path.startswith(self.config.base_url()) else self.config.base_url() + path,
headers=headers,
data=request_body,
verify=self.environment.ssl_certificate,
timeout=self.config.timeout...
)
return [response.status_code, response.text]
def handle_exception(self, exception):
if isinstance(exception, requests.exceptions.ConnectionError):
Variable | Value |
---|---|
path | 'https://api.braintreegateway.com:443/merchants/2g37m69pmkp9t25x/customers' |
http_verb | 'POST' |
self | <braintree.util.http.Http object at 0x7f57fef795c0> |
headers | {'Accept': 'application/xml', 'Authorization': b'Basic cmpmNjRienRjNDhoc3I2djplZTVkNmI3MTY4M2IzMjNjN2Q3Nj' b'M4NTc2NjBlNmMxOQ==', 'Content-type': 'application/xml', 'User-Agent': 'Braintree Python 3.20.0', 'X-ApiVersion': '4'} |
request_body | '<customer><first_name>pending</first_name></customer>' |
/home/wrr/py3.5/lib/python3.5/site-packages/requests/api.py
in post
:param data: (optional) Dictionary, bytes, or file-like object to send in the body of the :class:`Request`.
:param json: (optional) json data to send in the body of the :class:`Request`.
:param \*\*kwargs: Optional arguments that ``request`` takes.
:return: :class:`Response <Response>` object
:rtype: requests.Response
"""
return request('post', url, data=data, json=json, **kwargs)...
def put(url, data=None, **kwargs):
"""Sends a PUT request.
:param url: URL for the new :class:`Request` object.
Variable | Value |
---|---|
data | '<customer><first_name>pending</first_name></customer>' |
url | 'https://api.braintreegateway.com:443/merchants/2g37m69pmkp9t25x/customers' |
kwargs | {'headers': {'Accept': 'application/xml', 'Authorization': b'Basic cmpmNjRienRjNDhoc3I2djplZTVkNmI3MTY4M2' b'IzMjNjN2Q3NjM4NTc2NjBlNmMxOQ==', 'Content-type': 'application/xml', 'User-Agent': 'Braintree Python 3.20.0', 'X-ApiVersion': '4'}, 'timeout': 60, 'verify': '/home/wrr/py3.5/lib/python3.5/site-packages/braintree/ssl/api_braintreegateway_com.ca.crt'} |
json | None |
/home/wrr/py3.5/lib/python3.5/site-packages/requests/api.py
in request
>>> import requests
>>> req = requests.request('GET', 'http://httpbin.org/get')
<Response [200]>
"""
session = sessions.Session()
response = session.request(method=method, url=url, **kwargs)...
# By explicitly closing the session, we avoid leaving sockets open which
# can trigger a ResourceWarning in some cases, and look like a memory leak
# in others.
session.close()
return response
Variable | Value |
---|---|
method | 'post' |
session | <requests.sessions.Session object at 0x7f57fef79358> |
url | 'https://api.braintreegateway.com:443/merchants/2g37m69pmkp9t25x/customers' |
kwargs | {'data': '<customer><first_name>pending</first_name></customer>', 'headers': {'Accept': 'application/xml', 'Authorization': b'Basic cmpmNjRienRjNDhoc3I2djplZTVkNmI3MTY4M2' b'IzMjNjN2Q3NjM4NTc2NjBlNmMxOQ==', 'Content-type': 'application/xml', 'User-Agent': 'Braintree Python 3.20.0', 'X-ApiVersion': '4'}, 'json': None, 'timeout': 60, 'verify': '/home/wrr/py3.5/lib/python3.5/site-packages/braintree/ssl/api_braintreegateway_com.ca.crt'} |
/home/wrr/py3.5/lib/python3.5/site-packages/requests/sessions.py
in request
# Send the request.
send_kwargs = {
'timeout': timeout,
'allow_redirects': allow_redirects,
}
send_kwargs.update(settings)
resp = self.send(prep, **send_kwargs)...
return resp
def get(self, url, **kwargs):
"""Sends a GET request. Returns :class:`Response` object.
Variable | Value |
---|---|
cert | None |
data | '<customer><first_name>pending</first_name></customer>' |
timeout | 60 |
verify | '/home/wrr/py3.5/lib/python3.5/site-packages/braintree/ssl/api_braintreegateway_com.ca.crt' |
cookies | None |
json | None |
hooks | None |
prep | <PreparedRequest [POST]> |
params | None |
req | <Request [POST]> |
method | 'post' |
stream | None |
headers | {'Accept': 'application/xml', 'Authorization': b'Basic cmpmNjRienRjNDhoc3I2djplZTVkNmI3MTY4M2IzMjNjN2Q3Nj' b'M4NTc2NjBlNmMxOQ==', 'Content-type': 'application/xml', 'User-Agent': 'Braintree Python 3.20.0', 'X-ApiVersion': '4'} |
send_kwargs | {'allow_redirects': True, 'cert': None, 'proxies': {}, 'stream': False, 'timeout': 60, 'verify': '/home/wrr/py3.5/lib/python3.5/site-packages/braintree/ssl/api_braintreegateway_com.ca.crt'} |
settings | {'cert': None, 'proxies': {}, 'stream': False, 'verify': '/home/wrr/py3.5/lib/python3.5/site-packages/braintree/ssl/api_braintreegateway_com.ca.crt'} |
url | 'https://api.braintreegateway.com:443/merchants/2g37m69pmkp9t25x/customers' |
files | None |
allow_redirects | True |
auth | None |
proxies | {} |
self | <requests.sessions.Session object at 0x7f57fef79358> |
/home/wrr/py3.5/lib/python3.5/site-packages/requests/sessions.py
in send
# Get the appropriate adapter to use
adapter = self.get_adapter(url=request.url)
# Start time (approximately) of the request
start = datetime.utcnow()
# Send the request
r = adapter.send(request, **kwargs)...
# Total elapsed time of the request (approximately)
r.elapsed = datetime.utcnow() - start
# Response manipulation hooks
r = dispatch_hook('response', hooks, r, **kwargs)
Variable | Value |
---|---|
allow_redirects | True |
stream | False |
checked_urls | set() |
hooks | {'response': []} |
adapter | <requests.adapters.HTTPAdapter object at 0x7f57fef798d0> |
start | datetime.datetime(2024, 3, 28, 20, 50, 29, 66535) |
request | <PreparedRequest [POST]> |
kwargs | {'cert': None, 'proxies': {}, 'stream': False, 'timeout': 60, 'verify': '/home/wrr/py3.5/lib/python3.5/site-packages/braintree/ssl/api_braintreegateway_com.ca.crt'} |
self | <requests.sessions.Session object at 0x7f57fef79358> |
/home/wrr/py3.5/lib/python3.5/site-packages/requests/adapters.py
in send
raise ConnectionError(e, request=request)
except _ProxyError as e:
raise ProxyError(e)
except (_SSLError, _HTTPError) as e:
if isinstance(e, _SSLError):
raise SSLError(e, request=request)...
elif isinstance(e, ReadTimeoutError):
raise ReadTimeout(e, request=request)
else:
raise
return self.build_response(request, resp)
Variable | Value |
---|---|
cert | None |
stream | False |
timeout | <requests.packages.urllib3.util.timeout.Timeout object at 0x7f57fef7bf98> |
url | '/merchants/2g37m69pmkp9t25x/customers' |
self | <requests.adapters.HTTPAdapter object at 0x7f57fef798d0> |
conn | <requests.packages.urllib3.connectionpool.HTTPSConnectionPool object at 0x7f57fef79160> |
verify | '/home/wrr/py3.5/lib/python3.5/site-packages/braintree/ssl/api_braintreegateway_com.ca.crt' |
chunked | False |
request | <PreparedRequest [POST]> |
proxies | {} |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_CONNECTION | 'close' |
SERVER_SOFTWARE | 'gunicorn/20.0.4' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SCRIPT_NAME | '' |
REMOTE_PORT | '34342' |
wsgi.version | (1, 0) |
HTTP_VIA | '2.0 6946167499a4b8f515865d62f0b0b284.cloudfront.net (CloudFront)' |
wsgi.url_scheme | 'https' |
REQUEST_METHOD | 'GET' |
HTTP_X_AMZ_CF_ID | 'x5j5JpT840CVSWhORjf6RPtpKlhUDYWCWsRaJHx58iesBrpiKAbL8w==' |
HTTP_X_FORWARDED_PROTO | 'https' |
gunicorn.socket | <socket.socket fd=14, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 8008), raddr=('127.0.0.1', 34342)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f57ffb0e0b8> |
PATH_INFO | '/commerce/purchase-weiss-investorpro/entireusmonthly/' |
wsgi.multithread | False |
SERVER_NAME | '127.0.0.1' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f57ff24a5f8> |
HTTP_HOST | 'app.weissanalytics.com' |
wsgi.run_once | False |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'Amazon CloudFront' |
wsgi.multiprocess | True |
SERVER_PORT | '8008' |
wsgi.file_wrapper | '' |
HTTP_X_FORWARDED_FOR | '35.175.212.5, 64.252.67.166' |
RAW_URI | '/commerce/purchase-weiss-investorpro/entireusmonthly/' |
REMOTE_ADDR | '127.0.0.1' |
wsgi.input_terminated | True |
wrr_maps_site.settings
Setting | Value |
---|---|
EMAIL_TIMEOUT | None |
TEMPLATE_STRING_IF_INVALID | '' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
CSRF_COOKIE_PATH | '/' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
SECURE_REDIRECT_EXEMPT | [] |
SESSION_FILE_PATH | None |
DEFAULT_FROM_EMAIL | 'Weiss Analytics <no-reply@weissanalytics.com>' |
ABSOLUTE_URL_OVERRIDES | {} |
TEST_NON_SERIALIZED_APPS | [] |
DEFAULT_CHARSET | 'utf-8' |
ELASTICSEARCH_HOSTS | [{'host': '172.31.50.128', 'port': 9200}] |
YEAR_MONTH_FORMAT | 'F Y' |
CSRF_COOKIE_HTTPONLY | False |
SERVER_EMAIL | 'root@localhost' |
FALLBACK_WRR_PYAPI | '********************' |
PREPEND_WWW | False |
SESSION_CACHE_ALIAS | 'default' |
FIRST_DAY_OF_WEEK | 0 |
DEFAULT_INDEX_TABLESPACE | '' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SESSION_SAVE_EVERY_REQUEST | False |
CSRF_COOKIE_AGE | 31449600 |
WSGI_APPLICATION | 'wrr_maps_site.wsgi.application' |
MIGRATION_MODULES | {} |
SECRET_KEY | '********************' |
APPEND_SLASH | True |
DECIMAL_SEPARATOR | '.' |
FACEBOOK_APP_ID | '1693425904276669' |
ALLOWED_INCLUDE_ROOTS | () |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
SUGGESTIONS_API_URL | '********************' |
GOOGLE_ANALYTICS | True |
SEGMENT_COM_KEY | '********************' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.db.DatabaseCache', 'LOCATION': 'cache_table'}, 'local_memory': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
DEFAULT_TABLESPACE | '' |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend', 'core.auth_backends.InmanSsoBackend', 'core.auth_backends.LapSsoBackend'] |
TEMPLATE_DIRS | () |
GOOGLE_REMARKETING | True |
WRRIIS_IP | 'webservice.weissanalytics.com' |
DATABASE_ROUTERS | [] |
LANGUAGE_COOKIE_DOMAIN | None |
FADB_DBO | 'babelfish_db' |
SPECIAL_PRICE_IP_LIST | ['23.239.4.78'] |
CSRF_COOKIE_DOMAIN | None |
MONTH_DAY_FORMAT | 'F j' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
FALLBACK_WRRIIS_IP | 'webservice.weissanalytics.com' |
LANGUAGE_COOKIE_PATH | '/' |
LOGIN_URL | '/login/' |
NUMBER_GROUPING | 0 |
LANGUAGE_COOKIE_NAME | 'django_language' |
INMAN_SSO_LIBRARY_URL | '/static/js/inman-sso.min.js' |
DATE_FORMAT | 'N j, Y' |
INMAN_SSO_CLIENT_KEY | '********************' |
EMAIL_HOST_PASSWORD | '********************' |
SESSION_COOKIE_DOMAIN | None |
GOOGLE_APIS_BROWSER_KEY | '********************' |
SETTINGS_MODULE | 'wrr_maps_site.settings' |
ROOT_URLCONF | 'wrr_maps_site.urls' |
TIME_ZONE | 'UTC' |
LANGUAGE_CODE | 'en-us' |
USE_THOUSAND_SEPARATOR | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_BROWSER_XSS_FILTER | False |
MAUTIC_TRACKING | True |
FACEBOOK_TRACKING | True |
FORMAT_MODULE_PATH | None |
EMAIL_USE_TLS | True |
LOCALE_PATHS | () |
AUTH_USER_MODEL | 'auth.User' |
WRR_PYAPI | '********************' |
FORCE_SCRIPT_NAME | None |
RECAPTCHA_PRIVATE_KEY | '********************' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'weissanalytics', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': ''}} |
ELASTICSEARCH_ZIP_CODE_SUGGESTIONS_INDEX | 'zip_codes' |
LANGUAGE_COOKIE_AGE | None |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
MIDDLEWARE_CLASSES | ('corsheaders.middleware.CorsMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.security.SecurityMiddleware', 'djangosecure.middleware.SecurityMiddleware', 'referral.middleware.ReferrerMiddleware', 'core.middleware.InmanSsoPromptMiddleware') |
SECURE_SSL_HOST | None |
DEFAULT_CONTENT_TYPE | 'text/html' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.sites', 'crispy_forms', 'parsley', 'django_tables2', 'referral', 'captcha', 'djangosecure', 'corsheaders', 'core', 'maps', 'weissindex', 'blog', 'commerce', 'products', 'realtors', 'selenium_tests', 'unit_tests', 'integration_tests', 'autosuggestions', 'api', 'leadgen', 'export_action') |
LOGGING_CONFIG | 'logging.config.dictConfig' |
OPTIMIZELY_TRACKING | True |
BRAINTREE_MERCHANT_ID | '2g37m69pmkp9t25x' |
LEADGEN_NEW_REPORT_AVAILABLE_DAYS | 30 |
RECAPTCHA_PUBLIC_KEY | '********************' |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'debug_file': {'class': 'logging.FileHandler', 'filename': '/home/wrr/weissanalytics2/logs/debug.log', 'level': 'DEBUG'}, 'system_file': {'class': 'logging.FileHandler', 'filename': '/home/wrr/weissanalytics2/logs/system.log', 'level': 'DEBUG'}}, 'loggers': {'': {'handlers': ['system_file'], 'level': 'DEBUG', 'propagate': True}, 'debug': {'handlers': ['debug_file'], 'level': 'DEBUG', 'propagate': False}}, 'version': 1} |
SESSION_COOKIE_SECURE | False |
STATIC_URL | '/static/' |
USE_X_FORWARDED_HOST | False |
USER_COMP_URL | 'https://webservice.weissanalytics.com/api/userComp/' |
EMAIL_SSL_CERTFILE | None |
MSC_RESULTS_PG_SCHEMA | 'msc_results_2023_12.msc_results_schema' |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
ELASTICSEARCH_PROPERTY_SUGGESTIONS_INDEX | 'addresses_new' |
FADB_IP | 'wrr-fa.cluster-cdpjilymatgn.us-east-1.rds.amazonaws.com' |
WEBSERVICE_PYAPI_URL | '********************' |
STATICFILES_DIRS | () |
CORS_ORIGIN_ALLOW_ALL | True |
USE_I18N | True |
SECURE_PROXY_SSL_HEADER | ('HTTP_X_FORWARDED_PROTO', 'https') |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
CSRF_COOKIE_SECURE | False |
EMAIL_SSL_KEYFILE | '********************' |
DISALLOWED_USER_AGENTS | () |
EMAIL_HOST | 'email-smtp.us-east-1.amazonaws.com' |
INMAN_SSO_PUBLIC_KEY | '********************' |
INTERNAL_IPS | () |
TIME_FORMAT | 'P' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
USE_HTTPS | True |
MEDIA_URL | '/media/' |
ELASTICSEARCH_METRO_SUGGESTIONS_INDEX | 'metros' |
FA_PG_SCHEMA | 'msc_results_2023_12.fa_run_schema' |
GOOGLE_CONVERSIONS | True |
BRAINTREE_PRIVATE_KEY | '********************' |
FALLBACK_USER_COMP_URL | 'https://webservice.weissanalytics.com/api/userComp/' |
SECURE_HSTS_SECONDS | 0 |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
FILE_UPLOAD_PERMISSIONS | None |
ALLOWED_HOSTS | ['app.weissanalytics.com', 'awsapp.weissanalytics.com', '172.31.51.116', '0.0.0.0', 'widget.weissanalytics.com', 'ec2-54-160-135-244.compute-1.amazonaws.com', '54.160.135.244'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
WRRDB_IP | 'msc-results-2023-12.cluster-ro-cdpjilymatgn.us-east-1.rds.amazonaws.com' |
EMAIL_HOST_USER | 'AKIASTHYOMP5BDL7AWNG' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
EMAIL_SENDER | 'no-reply@weissanalytics.com' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
USE_L10N | True |
DEBUG | True |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
USE_ETAGS | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
PASSWORD_HASHERS | '********************' |
SECURE_SSL_REDIRECT | False |
CORS_ALLOW_METHODS | ['GET'] |
CSRF_COOKIE_NAME | 'csrftoken' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_PATH | '/' |
EMAIL_USE_SSL | False |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_AGE | 1209600 |
ADMINS | (('Shashank Punuru', 'shashankpunuru@flexisphere.com'), ('Nikhila Sattala', 'nikhilasattala@flexisphere.com')) |
FIXTURE_DIRS | () |
EMAIL_PORT | 587 |
BASE_DIR | '/home/wrr/weissanalytics2' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
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') |
FILE_CHARSET | 'utf-8' |
STREETVIEW_IMAGE_SIZE | '600x300' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['templates', 'core/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'core.context_processors.local_environment_context', 'core.context_processors.available_metros_context', 'core.context_processors.pricing_context', 'core.context_processors.conversion_context']}}] |
MSC_RESULTS_DB | 'msc_results_2023_12' |
CRISPY_TEMPLATE_PACK | 'bootstrap3' |
BRAINTREE_PUBLIC_KEY | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
MANAGERS | () |
MEDIA_ROOT | '/var/www/weissanalytics.com/media/' |
STATIC_ROOT | '/var/www/weissanalytics.com/static/' |
TEMPLATE_DEBUG | False |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
LAP_SSO_URL_DICT | {'DEFAULT': 'https://lap.home123.com/vue/api/sso/', 'INSP': 'http://beta.inspectedhouses.com/vue/api/sso/', 'LAP_DEV': 'http://test.wy.home123realestate.com/vue/api/sso/'} |
IGNORABLE_404_URLS | () |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
SITE_ID | 1 |
CACHE_MIDDLEWARE_ALIAS | 'default' |
NOCAPTCHA | True |
FALLBACK_AE_PYAPI_URL | '********************' |
WRR_REF_PG_SCHEMA | 'msc_results_2023_12.wrr_reference_schema' |
USE_TZ | True |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
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') |
LOGOUT_URL | '/accounts/logout/' |
AE_PYAPI_URL | '********************' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
SILENCED_SYSTEM_CHECKS | [] |
FALLBACK_WRRDB_IP | 'msc-results-2023-12.cluster-ro-cdpjilymatgn.us-east-1.rds.amazonaws.com' |
THOUSAND_SEPARATOR | ',' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
LOGIN_REDIRECT_URL | '/' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
DATETIME_FORMAT | 'N j, Y, P' |
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.