Group matching query does not exist.
Request Method: | GET |
---|---|
Request URL: | https://jesuisdeuxieme.com/join/36/ |
Django Version: | 3.0.6 |
Exception Type: | DoesNotExist |
Exception Value: | Group matching query does not exist. |
Exception Location: | /home/jsd/env-prod/lib/python3.9/site-packages/django/db/models/query.py in get, line 415 |
Python Executable: | /home/jsd/env-prod/bin/python |
Python Version: | 3.9.2 |
Python Path: | ['/home/jsd/app', '/usr/lib/python39.zip', '/usr/lib/python3.9', '/usr/lib/python3.9/lib-dynload', '/home/jsd/env-prod/lib/python3.9/site-packages'] |
Server time: | ven, 29 Mar 2024 01:43:46 -0400 |
/home/jsd/env-prod/lib/python3.9/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@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 | DoesNotExist('Group matching query does not exist.') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f626c1e48b0>> |
request | <WSGIRequest: GET '/join/36/'> |
/home/jsd/env-prod/lib/python3.9/site-packages/django/core/handlers/base.py
in _get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)…
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function StudentRegistrationView at 0x7f626cac9f70> |
callback_args | () |
callback_kwargs | {'gid': 36} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f626c261fa0>> |
request | <WSGIRequest: GET '/join/36/'> |
resolver | <URLResolver 'LMS.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=student.site.views.register.StudentRegistrationView, args=(), kwargs={'gid': 36}, url_name=join-group, app_names=[], namespaces=[], route=join/<int:gid>/) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f626c1e48b0> |
wrapped_callback | <function StudentRegistrationView at 0x7f626cac9f70> |
/home/jsd/env-prod/lib/python3.9/site-packages/django/core/handlers/base.py
in _get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function StudentRegistrationView at 0x7f626cac9f70> |
callback_args | () |
callback_kwargs | {'gid': 36} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f626c261fa0>> |
request | <WSGIRequest: GET '/join/36/'> |
resolver | <URLResolver 'LMS.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=student.site.views.register.StudentRegistrationView, args=(), kwargs={'gid': 36}, url_name=join-group, app_names=[], namespaces=[], route=join/<int:gid>/) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f626c1e48b0> |
wrapped_callback | <function StudentRegistrationView at 0x7f626cac9f70> |
/home/jsd/env-prod/lib/python3.9/site-packages/django/views/generic/base.py
in view
self.head = self.get
self.setup(request, *args, **kwargs)
if not hasattr(self, 'request'):
raise AttributeError(
"%s instance has no 'request' attribute. Did you override "
"setup() and forget to call super()?" % cls.__name__
)
return self.dispatch(request, *args, **kwargs)…
view.view_class = cls
view.view_initkwargs = initkwargs
# take name and docstring from class
update_wrapper(view, cls, updated=())
Variable | Value |
---|---|
args | () |
cls | <class 'student.site.views.register.StudentRegistrationView'> |
initkwargs | {} |
kwargs | {'gid': 36} |
request | <WSGIRequest: GET '/join/36/'> |
self | <student.site.views.register.StudentRegistrationView object at 0x7f626c261610> |
/home/jsd/env-prod/lib/python3.9/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 ProcessFormView.get of <student.site.views.register.StudentRegistrationView object at 0x7f626c261610>> |
kwargs | {'gid': 36} |
request | <WSGIRequest: GET '/join/36/'> |
self | <student.site.views.register.StudentRegistrationView object at 0x7f626c261610> |
/home/jsd/env-prod/lib/python3.9/site-packages/django/views/generic/edit.py
in get
return super().form_valid(form)
class ProcessFormView(View):
"""Render a form on GET and processes it on POST."""
def get(self, request, *args, **kwargs):
"""Handle GET requests: instantiate a blank version of the form."""
return self.render_to_response(self.get_context_data())…
def post(self, request, *args, **kwargs):
"""
Handle POST requests: instantiate a form instance with the passed
POST variables and then check if it's valid.
"""
Variable | Value |
---|---|
args | () |
kwargs | {'gid': 36} |
request | <WSGIRequest: GET '/join/36/'> |
self | <student.site.views.register.StudentRegistrationView object at 0x7f626c261610> |
/home/jsd/app/student/site/views/register.py
in get_context_data
if self.request.user.is_authenticated:
return "site/student/student_connected_join.html"
else:
return "site/student/student_registration.html"
def get_context_data(self, **kwargs):
ctx = super(StudentRegistrationView, self).get_context_data(**kwargs)
ctx['group'] = self.__get_group()…
return ctx
def __get_user(self):
return self.new_student
def form_valid(self, form):
Variable | Value |
---|---|
__class__ | <class 'student.site.views.register.StudentRegistrationView'> |
ctx | {'form': <StudentRegistrationForm bound=False, valid=Unknown, fields=(first_name;last_name;email;phone_number;password_1;password_2;message)>, 'view': <student.site.views.register.StudentRegistrationView object at 0x7f626c261610>} |
kwargs | {} |
self | <student.site.views.register.StudentRegistrationView object at 0x7f626c261610> |
/home/jsd/app/student/site/views/register.py
in __get_group
group = None
def get_success_url(self):
return reverse_lazy('join-success', args=(self.__get_group().pk,))
def __get_group(self):
if not self.group:
self.group = Group.objects.get(id=self.kwargs['gid'])…
return self.group
def __get_user(self):
return self.request.user
def __send_email(self, message, subscription: Subscription):
Variable | Value |
---|---|
self | <student.site.views.register.StudentRegistrationView object at 0x7f626c261610> |
/home/jsd/env-prod/lib/python3.9/site-packages/django/db/models/manager.py
in manager_method
def check(self, **kwargs):
return []
@classmethod
def _get_queryset_methods(cls, queryset_class):
def create_method(name, method):
def manager_method(self, *args, **kwargs):
return getattr(self.get_queryset(), name)(*args, **kwargs)…
manager_method.__name__ = method.__name__
manager_method.__doc__ = method.__doc__
return manager_method
new_methods = {}
for name, method in inspect.getmembers(queryset_class, predicate=inspect.isfunction):
Variable | Value |
---|---|
args | () |
kwargs | {'id': 36} |
name | 'get' |
self | <django.db.models.manager.Manager object at 0x7f626c1b3e80> |
/home/jsd/env-prod/lib/python3.9/site-packages/django/db/models/query.py
in get
if not clone.query.select_for_update or connections[clone.db].features.supports_select_for_update_with_limit:
limit = MAX_GET_RESULTS
clone.query.set_limits(high=limit)
num = len(clone)
if num == 1:
return clone._result_cache[0]
if not num:
raise self.model.DoesNotExist(…
"%s matching query does not exist." %
self.model._meta.object_name
)
raise self.model.MultipleObjectsReturned(
'get() returned more than one %s -- it returned %s!' % (
self.model._meta.object_name,
Variable | Value |
---|---|
args | () |
clone | <QuerySet []> |
kwargs | {'id': 36} |
limit | 21 |
num | 0 |
self | <QuerySet []> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/home/jsd/app' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/home/jsd/app' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'jesuisdeuxieme.com' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/join/36/' |
PATH_TRANSLATED | '/home/jsd/app/LMS/wsgi.py/join/36/' |
QUERY_STRING | '' |
REMOTE_ADDR | '3.236.252.14' |
REMOTE_PORT | '41316' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/join/36/' |
SCRIPT_FILENAME | '/home/jsd/app/LMS/wsgi.py' |
SCRIPT_NAME | '' |
SCRIPT_URI | 'https://jesuisdeuxieme.com/join/36/' |
SCRIPT_URL | '/join/36/' |
SERVER_ADDR | '178.128.227.3' |
SERVER_ADMIN | '[no address given]' |
SERVER_NAME | 'jesuisdeuxieme.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | ('<address>Apache/2.4.56 (Debian) Server at jesuisdeuxieme.com Port ' '443</address>\n') |
SERVER_SOFTWARE | 'Apache/2.4.56 (Debian)' |
SSL_TLS_SNI | 'jesuisdeuxieme.com' |
apache.version | (2, 4, 54) |
mod_wsgi.application_group | 'jesuisdeuxieme.com|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711691026474116' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.path_info | '/join/36/' |
mod_wsgi.process_group | 'jesuisdeuxieme.com' |
mod_wsgi.queue_start | '1711691026473977' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | '9yKZHw7wIok' |
mod_wsgi.request_start | '1711691026473719' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711691026474215' |
mod_wsgi.thread_id | 2 |
mod_wsgi.thread_requests | 53 |
mod_wsgi.total_requests | 216 |
mod_wsgi.version | (4, 7, 1) |
wsgi.errors | <_io.TextIOWrapper name='<wsgi.errors>' encoding='utf-8'> |
wsgi.file_wrapper | '' |
wsgi.input | <mod_wsgi.Input object at 0x7f626c179110> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
LMS.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['jesuisdeuxieme.com', 'dev.jesuisdeuxieme.com', 'jesuisdeuxieme.com'] |
APPEND_SLASH | True |
APP_ENV | 'PROD' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'manager.User' |
BASE_DIR | '/home/jsd/app' |
BASE_URI | 'https://jesuisdeuxieme.com' |
BASE_URL | 'jesuisdeuxieme.com' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_CONFIGS | {'default': {'contentsCss': '/static/jsd/css/ckeditor.css', 'extraPlugins': 'autolink,undo', 'stylesSet': [{'attributes': {'class': 'bold jsd-accent-color'}, 'element': 'h3', 'name': 'Intertitre'}, {'attributes': {'class': 'btn jsd-btn-action'}, 'element': 'a', 'name': 'Bouton'}, {'attributes': {'class': 'jsd-accent-color italic'}, 'element': 'sup', 'name': 'Rappel de note'}]}} |
CORS_ALLOW_ALL_ORIGINS | True |
CORS_ALLOW_CREDENTIALS | True |
CORS_ORIGIN_ALLOW_ALL | True |
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.postgis', 'HOST': '10.118.0.3', 'NAME': 'jsd', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'postgres'}} |
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', '%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'] |
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.BigAutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
DJSTRIPE_FOREIGN_KEY_TO_FIELD | '********************' |
DJSTRIPE_USE_NATIVE_JSONFIELD | True |
DJSTRIPE_WEBHOOK_SECRET | '********************' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp-relay.sendinblue.com' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'tech@jesuisdeuxieme.com' |
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 |
EMBED_VIDEO_BACKENDS | ('embed_video.backends.YoutubeBackend', 'embed_video.backends.VimeoBackend', 'embed_video.backends.SoundCloudBackend') |
FILE_CHARSET | 'utf-8' |
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 | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GEOPOSITION_GOOGLE_MAPS_API_KEY | '********************' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django.contrib.gis', 'bootstrap_modal_forms', 'corsheaders', 'sorl.thumbnail', 'sorl_thumbnail_serializer', 'rest_framework', 'rest_framework_swagger', 'core', 'host', 'student', 'courses', 'manager', 'invite', 'group', 'ckeditor', 'embed_video', 'messaging', 'stories', 'api', 'flipboxes'] |
INTERNAL_IPS | [] |
JSD_DEFAULT_SENDER | '"Je suis deuxième" <nepasrepondre@jesuisdeuxieme.com>' |
LANGUAGES | (('en', 'Anglais'), ('fr-fr', 'Français')) |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'fr-fr' |
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 | ('/home/jsd/app/locale',) |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'file': {'class': 'logging.FileHandler', 'filename': '/home/jsd/app/log.debug', 'level': 'DEBUG'}}, 'loggers': {'jsd': {'handlers': ['file'], 'level': 'DEBUG', 'propagate': True}}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | '/dashboard/login/' |
MANAGERS | [] |
MEDIA_ROOT | '/home/jsd/app/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'core.app.middleware.AccountMiddleware', 'core.app.middleware.TaskTrackerMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'LMS.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 | None |
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 | True |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'LMS.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIB_API_KEY | '********************' |
SIB_REGISTRATION_LIST_ID | {'host': 4, 'standard': 6} |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
SOCIALACCOUNT_PROVIDERS | {'google': {'AUTH_PARAMS': {'access_type': 'online'}, 'SCOPE': ['profile', 'email']}} |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
STRIPE_LIVE_MODE | False |
STRIPE_LIVE_SECRET_KEY | '********************' |
STRIPE_TEST_SECRET_KEY | '********************' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/jsd/app/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.app.context_processors.env_processor']}}] |
TEMPLATE_LOADERS | ('django.template.loaders.app_directories.load_template_source',) |
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' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'LMS.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.