Missing optional dependency 'Jinja2'. DataFrame.style requires jinja2. Use pip or conda to install Jinja2.
Request Method: | GET |
---|---|
Request URL: | http://redico.alwaysdata.net/redico/31/statsdetail/ |
Django Version: | 3.2 |
Exception Type: | ImportError |
Exception Value: | Missing optional dependency 'Jinja2'. DataFrame.style requires jinja2. Use pip or conda to install Jinja2. |
Exception Location: | /home/redico/www/redico/venv/lib/python3.8/site-packages/pandas/compat/_optional.py, line 141, in import_optional_dependency |
Python Executable: | /usr/alwaysdata/uwsgi/2.0.23/bin/uwsgi |
Python Version: | 3.8.10 |
Python Path: | ['.', '', '/usr/alwaysdata/python/3.8.10/lib/python38.zip', '/usr/alwaysdata/python/3.8.10/lib/python3.8', '/usr/alwaysdata/python/3.8.10/lib/python3.8/lib-dynload', '/home/redico/www/redico/venv/lib/python3.8/site-packages'] |
Server time: | Fri, 29 Mar 2024 14:35:14 +0000 |
/home/redico/www/redico/venv/lib/python3.8/site-packages/pandas/compat/_optional.py
, line 138, in import_optional_dependency
install_name = package_name if package_name is not None else name
msg = (
f"Missing optional dependency '{install_name}'. {extra} "
f"Use pip or conda to install {install_name}."
)
try:
module = importlib.import_module(name)…
except ImportError:
if errors == "raise":
raise ImportError(msg)
else:
return None
Variable | Value |
---|---|
errors | 'raise' |
extra | 'DataFrame.style requires jinja2.' |
install_name | 'Jinja2' |
min_version | None |
msg | ("Missing optional dependency 'Jinja2'. DataFrame.style requires jinja2. Use " 'pip or conda to install Jinja2.') |
name | 'jinja2' |
package_name | 'Jinja2' |
/usr/alwaysdata/python/3.8.10/lib/python3.8/importlib/__init__.py
, line 127, in import_module
msg = ("the 'package' argument is required to perform a relative "
"import for {!r}")
raise TypeError(msg.format(name))
for character in name:
if character != '.':
break
level += 1
return _bootstrap._gcd_import(name[level:], package, level)…
_RELOADING = {}
def reload(module):
Variable | Value |
---|---|
level | 0 |
name | 'jinja2' |
package | None |
<frozen importlib._bootstrap>
, line 1014, in _gcd_import
<source code not available>…
Variable | Value |
---|---|
level | 0 |
name | 'jinja2' |
package | None |
<frozen importlib._bootstrap>
, line 991, in _find_and_load
<source code not available>…
Variable | Value |
---|---|
import_ | <function _gcd_import at 0x7fb32a634430> |
module | <object object at 0x7fb32a60b060> |
name | 'jinja2' |
<frozen importlib._bootstrap>
, line 973, in _find_and_load_unlocked
<source code not available>…
Variable | Value |
---|---|
import_ | <function _gcd_import at 0x7fb32a634430> |
name | 'jinja2' |
parent | '' |
path | None |
spec | None |
/home/redico/www/redico/venv/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 | ImportError("Missing optional dependency 'Jinja2'. DataFrame.style requires jinja2. Use pip or conda to install Jinja2.") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fb328927640>> |
request | <WSGIRequest: GET '/redico/31/statsdetail/'> |
/home/redico/www/redico/venv/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 statsdetail at 0x7fb315108a60> |
callback_args | () |
callback_kwargs | {'redico_id': '31'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fb31512df10>> |
request | <WSGIRequest: GET '/redico/31/statsdetail/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fb328927640> |
wrapped_callback | <function statsdetail at 0x7fb315108a60> |
/home/redico/www/redico/./redicos/views.py
, line 176, in statsdetail
'show_edit_eval': False,
'show_stats' : True
})
def statsdetail(request, redico_id):
red = Redico.objects.get(pk=redico_id)
if red.nb_joueurs() > 1:
heatmap = red.heatmap()['df']…
print(f'heatmap: {heatmap.to_html()}' )
c = {'request': request,
'show_stats': True,
'redico_id':redico_id,
'heatmap': heatmap.to_html(),
'red': red}
Variable | Value |
---|---|
red | <Redico: Redico object (31)> |
redico_id | '31' |
request | <WSGIRequest: GET '/redico/31/statsdetail/'> |
/home/redico/www/redico/./redicos/models.py
, line 204, in heatmap
df = df.to_frame()
print(f'df: L198 {df}')
# df = df.round(decimals=2)
print(f'df: L200 {df}')
# df.apply(highlight_max())
# df['écart-50'] = df['écart']-50
# df = df.style.applymap(df_bg_color).set_precision(2).bar(subset=['écart'], color=['#d65f5f']).render()
df = df.style.set_caption('Écarts').\…
highlight_max(subset='écart', color='#cf7474', axis=0).\
highlight_min(subset='écart', color='#01B400', axis=0).\
set_precision(2).render()
print(f'L 203 {df}')
# df.style.apply(highlight_max)
Variable | Value |
---|---|
df | écart J0 J1 1r1n5 andje 12.793333 g 37.876471 andje g 30.772727 neune NaN g neune NaN |
df_bg_color | <function Redico.heatmap.<locals>.df_bg_color at 0x7fb314cd85e0> |
df_diff | red_id props_seq J0 #0 e0 ... e1 écart andje g neune 62 31.0 1.0 1r1n5 91.0 80.0 ... 99.0 19.0 NaN NaN NaN 63 31.0 1.0 1r1n5 91.0 80.0 ... 80.0 0.0 NaN NaN NaN 64 31.0 1.0 andje 19.0 99.0 ... 80.0 19.0 NaN NaN NaN 59 31.0 2.0 1r1n5 91.0 100.0 ... 100.0 0.0 NaN NaN NaN 60 31.0 2.0 1r1n5 91.0 100.0 ... 60.0 40.0 NaN NaN NaN ... ... ... ... ... ... ... ... ... ... ... ... 1 31.0 25.0 andje 19.0 99.0 ... NaN NaN NaN NaN NaN 2 31.0 25.0 g 89.0 70.0 ... NaN NaN NaN NaN NaN 1r1n5 NaN NaN NaN NaN NaN ... NaN NaN 10.0 1.0 NaN andje NaN NaN NaN NaN NaN ... NaN NaN NaN 29.0 NaN g NaN NaN NaN NaN NaN ... NaN NaN NaN NaN NaN [68 rows x 12 columns] |
my_apply | <function Redico.heatmap.<locals>.my_apply at 0x7fb314cd8550> |
self | <Redico: Redico object (31)> |
/home/redico/www/redico/venv/lib/python3.8/site-packages/pandas/core/frame.py
, line 1212, in style
Contains methods for building a styled HTML representation of the DataFrame.
See Also
--------
io.formats.style.Styler : Helps style a DataFrame or Series according to the
data with HTML and CSS.
"""
from pandas.io.formats.style import Styler…
return Styler(self)
_shared_docs[
"items"
] = r"""
Variable | Value |
---|---|
self | écart J0 J1 1r1n5 andje 12.793333 g 37.876471 andje g 30.772727 neune NaN g neune NaN |
/home/redico/www/redico/venv/lib/python3.8/site-packages/pandas/io/formats/style.py
, line 52, in <module>
Series,
)
from pandas.core.generic import NDFrame
from pandas.core.shared_docs import _shared_docs
from pandas.io.formats.format import save_to_buffer
jinja2 = import_optional_dependency("jinja2", extra="DataFrame.style requires jinja2.")…
from pandas.io.formats.style_render import (
CSSProperties,
CSSStyles,
ExtFormatter,
StylerRenderer,
Variable | Value |
---|---|
Any | typing.Any |
Axis | typing.Union[str, int] |
Callable | typing.Callable |
DataFrame | <class 'pandas.core.frame.DataFrame'> |
FilePath | typing.Union[str, ForwardRef('PathLike[str]')] |
Hashable | typing.Hashable |
IndexLabel | typing.Union[typing.Hashable, typing.Sequence[typing.Hashable]] |
IndexSlice | <pandas.core.indexing._IndexSlice object at 0x7fb315adc550> |
Level | typing.Union[typing.Hashable, int] |
NDFrame | <class 'pandas.core.generic.NDFrame'> |
RangeIndex | <class 'pandas.core.indexes.range.RangeIndex'> |
Scalar | typing.Union[str, int, float, bool, ForwardRef('Period'), ForwardRef('Timestamp'), ForwardRef('Timedelta'), ForwardRef('Interval')] |
Sequence | typing.Sequence |
Series | <class 'pandas.core.series.Series'> |
Substitution | <class 'pandas.util._decorators.Substitution'> |
WriteBuffer | <class 'pandas._typing.WriteBuffer'> |
__builtins__ | {'ArithmeticError': <class 'ArithmeticError'>, 'AssertionError': <class 'AssertionError'>, 'AttributeError': <class 'AttributeError'>, 'BaseException': <class 'BaseException'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'BufferError': <class 'BufferError'>, 'BytesWarning': <class 'BytesWarning'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionError': <class 'ConnectionError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'EOFError': <class 'EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <class 'OSError'>, 'Exception': <class 'Exception'>, 'False': False, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'FutureWarning': <class 'FutureWarning'>, 'GeneratorExit': <class 'GeneratorExit'>, 'IOError': <class 'OSError'>, 'ImportError': <class 'ImportError'>, 'ImportWarning': <class 'ImportWarning'>, 'IndentationError': <class 'IndentationError'>, 'IndexError': <class 'IndexError'>, 'InterruptedError': <class 'InterruptedError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'KeyError': <class 'KeyError'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'LookupError': <class 'LookupError'>, 'MemoryError': <class 'MemoryError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'NameError': <class 'NameError'>, 'None': None, 'NotADirectoryError': <class 'NotADirectoryError'>, 'NotImplemented': NotImplemented, 'NotImplementedError': <class 'NotImplementedError'>, 'OSError': <class 'OSError'>, 'OverflowError': <class 'OverflowError'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'RecursionError': <class 'RecursionError'>, 'ReferenceError': <class 'ReferenceError'>, 'ResourceWarning': <class 'ResourceWarning'>, 'RuntimeError': <class 'RuntimeError'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'SyntaxError': <class 'SyntaxError'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'SystemError': <class 'SystemError'>, 'SystemExit': <class 'SystemExit'>, 'TabError': <class 'TabError'>, 'TimeoutError': <class 'TimeoutError'>, 'True': True, 'TypeError': <class 'TypeError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'UserWarning': <class 'UserWarning'>, 'ValueError': <class 'ValueError'>, 'Warning': <class 'Warning'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, '__build_class__': <built-in function __build_class__>, '__debug__': True, '__doc__': 'Built-in functions, exceptions, and other objects.\n' '\n' "Noteworthy: None is the `nil' object; Ellipsis represents `...' " 'in slices.', '__import__': <built-in function __import__>, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__name__': 'builtins', '__package__': '', '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>), 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'bool': <class 'bool'>, 'breakpoint': <built-in function breakpoint>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <class 'classmethod'>, 'compile': <built-in function compile>, 'complex': <class 'complex'>, 'copyright': … <trimmed 6587 bytes string> |
__cached__ | '/home/redico/www/redico/venv/lib/python3.8/site-packages/pandas/io/formats/__pycache__/style.cpython-38.pyc' |
__doc__ | '\nModule for applying conditional formatting to DataFrames and Series.\n' |
__file__ | '/home/redico/www/redico/venv/lib/python3.8/site-packages/pandas/io/formats/style.py' |
__loader__ | <_frozen_importlib_external.SourceFileLoader object at 0x7fb31c2b6640> |
__name__ | 'pandas.io.formats.style' |
__package__ | 'pandas.io.formats' |
__spec__ | ModuleSpec(name='pandas.io.formats.style', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7fb31c2b6640>, origin='/home/redico/www/redico/venv/lib/python3.8/site-packages/pandas/io/formats/style.py') |
_shared_docs | {'aggregate': '\n' 'Aggregate using one or more operations over the specified ' 'axis.\n' '\n' 'Parameters\n' '----------\n' 'func : function, str, list or dict\n' ' Function to use for aggregating the data. If a function, ' 'must either\n' ' work when passed a {klass} or when passed to ' '{klass}.apply.\n' '\n' ' Accepted combinations are:\n' '\n' ' - function\n' ' - string function name\n' ' - list of functions and/or function names, e.g. ``[np.sum, ' "'mean']``\n" ' - dict of axis labels -> functions, function names or list ' 'of such.\n' '{axis}\n' '*args\n' ' Positional arguments to pass to `func`.\n' '**kwargs\n' ' Keyword arguments to pass to `func`.\n' '\n' 'Returns\n' '-------\n' 'scalar, Series or DataFrame\n' '\n' ' The return can be:\n' '\n' ' * scalar : when Series.agg is called with single function\n' ' * Series : when DataFrame.agg is called with a single ' 'function\n' ' * DataFrame : when DataFrame.agg is called with several ' 'functions\n' '\n' ' Return scalar, Series or DataFrame.\n' '{see_also}\n' 'Notes\n' '-----\n' '`agg` is an alias for `aggregate`. Use the alias.\n' '\n' 'Functions that mutate the passed object can produce unexpected\n' 'behavior or errors and are not supported. See ' ':ref:`gotchas.udf-mutation`\n' 'for more details.\n' '\n' 'A passed user-defined-function will be passed a Series for ' 'evaluation.\n' '{examples}', 'compare': '\n' 'Compare to another {klass} and show the differences.\n' '\n' '.. versionadded:: 1.1.0\n' '\n' 'Parameters\n' '----------\n' 'other : {klass}\n' ' Object to compare with.\n' '\n' "align_axis : {{0 or 'index', 1 or 'columns'}}, default 1\n" ' Determine which axis to align the comparison on.\n' '\n' " * 0, or 'index' : Resulting differences are stacked " 'vertically\n' ' with rows drawn alternately from self and other.\n' " * 1, or 'columns' : Resulting differences are aligned " 'horizontally\n' ' with columns drawn alternately from self and other.\n' '\n' 'keep_shape : bool, default False\n' ' If true, all rows and columns are kept.\n' ' Otherwise, only the ones with different values are kept.\n' '\n' 'keep_equal : bool, default False\n' ' If true, the result keeps values that are equal.\n' ' Otherwise, equal values are shown as NaNs.\n', 'compression_options': "compression : str or dict, default 'infer'\n" ' For on-the-fly compression of the output data. If ' "'infer' and '%s'\n" ' path-like, then detect compression from the ' "following extensions: '.gz',\n" " '.bz2', '.zip', '.xz', or '.zst' (otherwise no " 'compression). Set to\n' ' ``None`` for no compression. Can also be a dict ' "with key ``'method'`` set\n" " to one of {``'zip'``, ``'gzip'``, ``'bz2'``, " "``'zstd'``} and other\n" ' … <trimmed 54563 bytes string> |
annotations | _Feature((3, 7, 0, 'beta', 1), (3, 10, 0, 'alpha', 0), 16777216) |
com | <module 'pandas.core.common' from '/home/redico/www/redico/venv/lib/python3.8/site-packages/pandas/core/common.py'> |
contextmanager | <function contextmanager at 0x7fb329aac430> |
copy | <module 'copy' from '/usr/alwaysdata/python/3.8.10/lib/python3.8/copy.py'> |
doc | <function doc at 0x7fb31873a310> |
find_stack_level | <function find_stack_level at 0x7fb31848d670> |
get_option | <pandas._config.config.CallableDynamicDoc object at 0x7fb318a9aca0> |
import_optional_dependency | <function import_optional_dependency at 0x7fb31826a940> |
np | <module 'numpy' from '/home/redico/www/redico/venv/lib/python3.8/site-packages/numpy/__init__.py'> |
operator | <module 'operator' from '/usr/alwaysdata/python/3.8.10/lib/python3.8/operator.py'> |
partial | <class 'functools.partial'> |
pd | <module 'pandas' from '/home/redico/www/redico/venv/lib/python3.8/site-packages/pandas/__init__.py'> |
save_to_buffer | <function save_to_buffer at 0x7fb3158cbaf0> |
warnings | <module 'warnings' from '/usr/alwaysdata/python/3.8.10/lib/python3.8/warnings.py'> |
/home/redico/www/redico/venv/lib/python3.8/site-packages/pandas/compat/_optional.py
, line 141, in import_optional_dependency
f"Missing optional dependency '{install_name}'. {extra} "
f"Use pip or conda to install {install_name}."
)
try:
module = importlib.import_module(name)
except ImportError:
if errors == "raise":
raise ImportError(msg)…
else:
return None
# Handle submodules: if we have submodule, grab parent module from sys.modules
parent = name.split(".")[0]
if parent != name:
Variable | Value |
---|---|
errors | 'raise' |
extra | 'DataFrame.style requires jinja2.' |
install_name | 'Jinja2' |
min_version | None |
msg | ("Missing optional dependency 'Jinja2'. DataFrame.style requires jinja2. Use " 'pip or conda to install Jinja2.') |
name | 'jinja2' |
package_name | 'Jinja2' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'redico.alwaysdata.net' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_VIA | '1.1 alproxy' |
HTTP_X_REAL_IP | '35.153.106.141' |
PATH_INFO | '/redico/31/statsdetail/' |
QUERY_STRING | '' |
REMOTE_ADDR | '35.153.106.141' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/redico/31/statsdetail/' |
SCRIPT_NAME | '' |
SERVER_NAME | 'http4' |
SERVER_PORT | '8100' |
SERVER_PROTOCOL | 'HTTP/1.1' |
uwsgi.node | b'http4' |
uwsgi.version | b'2.0.23' |
wsgi.errors | <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> |
wsgi.input | <uwsgi._Input object at 0x7fb314d0fad0> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
redico3.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['redico.alwaysdata.net', '127.0.0.1'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/redico/www/redico/.' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
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.db.backends.sqlite3', 'HOST': '', 'NAME': '/home/redico/www/redico/./redico24.db', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
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_FROM_EMAIL | 'nimzo@alwaysdata.net' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp-nimzo.alwaysdata.net' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'nimzo@alwaysdata.net' |
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 | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'six', 'joueurs', 'redicos', 'propositions', 'evaluations', 'floppyforms', 'stats'] |
INTERNAL_IPS | [] |
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 | 'fr-ca' |
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 | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '' |
MEDIA_URL | '/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', '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'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'redico3.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 | 'redico3.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | ('/home/redico/www/redico/./css',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/redico/www/redico/./project_static/collect' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/redico/www/redico/./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', 'redicos.context_processors.redicos_importants', 'redicos.context_processors.joueurs_actifs', 'redicos.context_processors.redicos_dynamiques', 'redicos.context_processors.dern_props', 'redicos.context_processors.dern_evals']}}] |
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 | 'UTC' |
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 | 'redico3.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.