expected string or bytes-like object
Request Method: | GET |
---|---|
Request URL: | http://app.getshout.io/accounts_page/?page=1&location=&niches=&min_followers=&max_followers=&min_cpm=&max_cpm=&min_engagement=&max_engagement=&gender=None&min_gender=&country=&min_country=&unverified=true&order_by=confirmed_reverse |
Django Version: | 3.2.6 |
Exception Type: | TypeError |
Exception Value: | expected string or bytes-like object |
Exception Location: | /usr/lib/python3.8/re.py, line 241, in findall |
Python Executable: | /home/shout_env/bin/python3 |
Python Version: | 3.8.10 |
Python Path: | ['/home/shoutourbiz/shoutourbiz', '/home/shoutourbiz/shoutourbiz', '/home/shout_env/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/shout_env/lib/python3.8/site-packages'] |
Server time: | Thu, 28 Mar 2024 18:46:24 -0400 |
/home/shout_env/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | TypeError('expected string or bytes-like object') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f9f0c033a90>> |
request | <WSGIRequest: GET '/accounts_page/?page=1&location=&niches=&min_followers=&max_followers=&min_cpm=&max_cpm=&min_engagement=&max_engagement=&gender=None&min_gender=&country=&min_country=&unverified=true&order_by=confirmed_reverse'> |
/home/shout_env/lib/python3.8/site-packages/django/core/handlers/base.py
, line 181, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function accounts_page at 0x7f9efbc26af0> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f9efe98a430>> |
request | <WSGIRequest: GET '/accounts_page/?page=1&location=&niches=&min_followers=&max_followers=&min_cpm=&max_cpm=&min_engagement=&max_engagement=&gender=None&min_gender=&country=&min_country=&unverified=true&order_by=confirmed_reverse'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f9f0c033a90> |
wrapped_callback | <function accounts_page at 0x7f9efbc26af0> |
/home/shoutourbiz/shoutourbiz/main/views.py
, line 148, in accounts_page
num_page = request.GET.get('page')
niches = request.GET.get('niches', '')
# location = ''
search_unverified = request.GET.get('unverified', False)
gender = request.GET.get('gender')
network = request.GET.get('network', None)
search = False
network_query = re.findall(r"\w{2}", network)…
db_query_count = 0
influencer_objects = Influencer.objects.none()
for query in network_query:
query_objects = Influencer.objects.filter(network__contains=query)
influencer_objects |= query_objects
print((network, search_unverified))
Variable | Value |
---|---|
country | '' |
gender | 'None' |
max_cpm | '' |
max_engagement | '' |
max_followers | '' |
min_country | '' |
min_cpm | '' |
min_engagement | '' |
min_followers | '' |
min_gender | '' |
network | None |
niches | '' |
num_page | '1' |
request | <WSGIRequest: GET '/accounts_page/?page=1&location=&niches=&min_followers=&max_followers=&min_cpm=&max_cpm=&min_engagement=&max_engagement=&gender=None&min_gender=&country=&min_country=&unverified=true&order_by=confirmed_reverse'> |
search | False |
search_unverified | 'true' |
user | <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7f9efa025a60>> |
/usr/lib/python3.8/re.py
, line 241, in findall
"""Return a list of all non-overlapping matches in the string.
If one or more capturing groups are present in the pattern, return
a list of groups; this will be a list of tuples if the pattern
has more than one group.
Empty matches are included in the result."""
return _compile(pattern, flags).findall(string)…
def finditer(pattern, string, flags=0):
"""Return an iterator over all non-overlapping matches in the
string. For each match, the iterator returns a Match object.
Empty matches are included in the result."""
Variable | Value |
---|---|
flags | 0 |
pattern | '\\w{2}' |
string | None |
AnonymousUser
Variable | Value |
---|---|
page | '1' |
location | '' |
niches | '' |
min_followers | '' |
max_followers | '' |
min_cpm | '' |
max_cpm | '' |
min_engagement | '' |
max_engagement | '' |
gender | 'None' |
min_gender | '' |
country | '' |
min_country | '' |
unverified | 'true' |
order_by | 'confirmed_reverse' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '54.166.223.204' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86bb27f3dbb905a8-IAD' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'app.getshout.io' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '54.166.223.204, 172.70.42.247' |
HTTP_X_FORWARDED_PROTO | 'http' |
HTTP_X_REAL_IP | '172.70.42.247' |
PATH_INFO | '/accounts_page/' |
QUERY_STRING | 'page=1&location=&niches=&min_followers=&max_followers=&min_cpm=&max_cpm=&min_engagement=&max_engagement=&gender=None&min_gender=&country=&min_country=&unverified=true&order_by=confirmed_reverse' |
RAW_URI | '/accounts_page/?page=1&location=&niches=&min_followers=&max_followers=&min_cpm=&max_cpm=&min_engagement=&max_engagement=&gender=None&min_gender=&country=&min_country=&unverified=true&order_by=confirmed_reverse' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '/' |
SERVER_NAME | 'app.getshout.io' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=16, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/var/tmp/shout.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f9ef890acd0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f9ef890a790> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
shoutourbiz.prod_settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCS_PER_PAGE | 60 |
ADMINS | [] |
ALLOWED_HOSTS | ['shoutour.biz', '104.236.19.140', '127.0.0.1', 'localhost', 'getshout.io', 'app.getshout.io', '143.244.148.51'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['sesame.backends.ModelBackend', 'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'main.AuthUser' |
BASE_DIR | '/home/shoutourbiz/shoutourbiz' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CAMPAIGN_ID | '4IdiH' |
CELERY_IMPORTS | ['main.tasks', 'main.tasks_ipn'] |
CONN_MAX_AGE | 80 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.contrib.gis.db.backends.mysql', 'HOST': 'localhost', 'NAME': 'prod', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'prod'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
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'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.AutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FREE_CREDITS | 3 |
DEFAULT_FROM_EMAIL | 'Shout <[email protected]>' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.sendgrid.net' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'apikey' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | '/' |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
FREE_SIGNUP_CREDITS | 3 |
GET_RESPONSE_API_KEY | '********************' |
GOOGLE_GEOCODING_API_KEY | '********************' |
GOOGLE_VISION_API_KEY | '********************' |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'main.custom_elasticsearch.ConfigurableElasticSearchEngine', 'INDEX_NAME': 'shoutourbiz', 'TIMEOUT': 60, 'URL': 'http://127.0.0.1:9200/'}} |
HAYSTACK_SIGNAL_PROCESSOR | 'haystack.signals.RealtimeSignalProcessor' |
IGNORABLE_404_URLS | [] |
IG_API_URL | '********************' |
IG_ID | 'a961b2f27d8047a2a110f8bc8a50c8ac' |
IG_SECRET | '********************' |
INSTAGRAM_PASSWORD | '********************' |
INSTAGRAM_USERNAME | 'instagram_username' |
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', 'django.contrib.sitemaps', 'django_countries', 'widget_tweaks', 'debug_toolbar', 'haystack', 'django_forms_bootstrap', 'django_extensions', 'django.contrib.gis', 'main', 'internal', 'profiles', 'payments', 'influencers', 'raven.contrib.django.raven_compat'] |
INTERNAL_IPS | [] |
JVZ_SECRET_KEY | '********************' |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian 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'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian 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'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('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'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': False, 'formatters': {'verbose': {'datefmt': '%d/%b/%Y %H:%M:%S', 'format': '[%(asctime)s] %(levelname)s ' '[%(name)s:%(lineno)s] %(message)s'}}, 'handlers': {'cron_create_user': {'class': 'logging.handlers.RotatingFileHandler', 'filename': '/home/shoutourbiz/shoutourbiz/../logs/cron_create_ig_users.log', 'formatter': 'verbose', 'level': 'INFO', 'maxBytes': 20971520}, 'cron_create_youtube_user': {'class': 'logging.handlers.RotatingFileHandler', 'filename': '/home/shoutourbiz/shoutourbiz/../logs/cron_create_youtube_user.log', 'formatter': 'verbose', 'level': 'INFO', 'maxBytes': 20971520}, 'cron_update_location': {'class': 'logging.handlers.RotatingFileHandler', 'filename': '/home/shoutourbiz/shoutourbiz/../logs/cron_update_location.log', 'formatter': 'verbose', 'level': 'INFO', 'maxBytes': 20971520}, 'cron_update_user': {'class': 'logging.handlers.RotatingFileHandler', 'filename': '/home/shoutourbiz/shoutourbiz/../logs/cron_update_ig_users.log', 'formatter': 'verbose', 'level': 'INFO', 'maxBytes': 20971520}, 'debug_logfile': {'class': 'logging.handlers.RotatingFileHandler', 'filename': '/home/shoutourbiz/shoutourbiz/../logs/debug_logfile.log', 'formatter': 'verbose', 'level': 'DEBUG', 'maxBytes': 20971520}, 'django_logfile': {'class': 'logging.handlers.RotatingFileHandler', 'filename': '/home/shoutourbiz/shoutourbiz/../logs/django_logfile.log', 'formatter': 'verbose', 'level': 'INFO', 'maxBytes': 20971520}, 'payments': {'class': 'logging.handlers.RotatingFileHandler', 'filename': '/home/shoutourbiz/shoutourbiz/../logs/payments.log', 'formatter': 'verbose', 'level': 'INFO', 'maxBytes': 20971520}, 'sentry': {'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler', 'level': 'ERROR', 'tags': {'custom-tag': 'x'}}}, 'loggers': {'django': {'handlers': ['django_logfile'], 'level': 'INFO', 'propagate': False}, 'django.db.backends': {'handlers': ['sentry'], 'level': 'ERROR', 'propagate': False}, 'django.request': {'handlers': ['django_logfile'], 'level': 'INFO', 'propagate': False}, 'main': {'handlers': ['debug_logfile'], 'level': 'INFO', 'propagate': False}, 'management_create_user': {'handlers': ['cron_create_user'], 'level': 'INFO', 'propagate': False}, 'management_create_youtube': {'handlers': ['cron_create_youtube_user'], 'level': 'INFO', 'propagate': False}, 'management_update_location': {'handlers': ['cron_update_location'], 'level': 'INFO', 'propagate': False}, 'management_update_user': {'handlers': ['cron_update_user'], 'level': 'INFO', 'propagate': False}, 'payments_logs': {'handlers': ['payments'], 'level': 'INFO', 'propagate': False}, 'raven': {'handlers': ['sentry'], 'level': 'DEBUG', 'propagate': False}, 'sentry.errors': {'handlers': ['sentry'], 'level': 'DEBUG', 'propagate': False}}, 'root': {'handlers': ['sentry'], 'level': 'WARNING'}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '//login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/shoutourbiz/shoutourbiz/main/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MESSAGE_TAGS | {10: 'alert-info', 20: 'alert-info', 25: 'alert-success', 30: 'alert-warning', 40: 'alert-danger'} |
MIDDLEWARE | ('raven.contrib.django.middleware.DjangoRestFrameworkCompatMiddleware', 'raven.contrib.django.middleware.SentryMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'sesame.middleware.AuthenticationMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PATH_TO_CREDENTIALS_JSON | '/home/shoutourbiz/shoutourbiz_site/project/shoutourbiz/credentials.json' |
PAYMENTS_PLANS | {'GOLD': {'amount': 8000, 'currency': 'usd', 'description': 'Users can get 1000 credits per month.', 'interval': 'month', 'name': 'Gold Plan ($997/month)', 'price': 997, 'stripe_plan_id': 'gold'}, 'INTRO': {'amount': 150, 'currency': 'usd', 'description': 'Users can get 100 credits per month.', 'interval': 'month', 'name': 'Intro Plan ($97/month)', 'price': 97, 'stripe_plan_id': 'intro'}, 'Influencer Fee': {'amount': 0, 'currency': 'usd', 'description': 'Influencer Fee.', 'interval': 'month', 'name': 'Influencer Fee ($10/month)', 'price': 10, 'stripe_plan_id': 'plan_DmjdNe9b1jSPjI'}, 'SILVER': {'amount': 1500, 'currency': 'usd', 'description': 'Users can get 500 credites per month.', 'interval': 'month', 'name': 'Silver Plan ($297/month)', 'price': 297, 'stripe_plan_id': 'silver'}} |
PAYMENT_PLANS | {'0.50': (300, 1)} |
PDF_ROOT | '/home/shoutourbiz/shoutourbiz/main/media/pdf' |
PREPEND_WWW | False |
RAVEN_CONFIG | {'CELERY_LOGLEVEL': 40, 'dsn': 'https://1d70c21a91ef4aa7aab5f3cc199e60bf:[email protected]/229365'} |
REDIS_DB | 0 |
REDIS_HOST | 'localhost' |
REDIS_PORT | 6379 |
ROOT_URLCONF | 'shoutourbiz.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'shoutourbiz.prod_settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 2 |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/shoutourbiz/shoutourbiz/static' |
STATIC_URL | '/static/' |
STRIPE_PUBLIC_KEY | '********************' |
STRIPE_SECRET_KEY | '********************' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], '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', 'django.template.context_processors.csrf']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'America/Toronto' |
TRIAL_CREDITS | 10 |
TRIAL_END_DAYS | 7 |
TRIAL_ONE_TIME_FEE | Decimal('7') |
TW_KEY | '********************' |
TW_SECRET | '********************' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'shoutourbiz.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
YEAR_MONTH_FORMAT | 'F Y' |
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.