Panero's posts

17 posts found

Panero

Panero
Posts: 366
29/02/2020 00:41

quando provo ad inserire le abilità non mi appaiono quelle di potere

Luther Korgottson Von Esposito

Aristide Settimo Torreggiani

Panero

Panero
Posts: 366
29/02/2020 00:40

quando schiaccio il tasto per le specializzazioni mi appare questa schermata

UnboundLocalError at /characters/editCharacterSpecs/14

local variable 'trees_json_nodes' referenced before assignment
Request Method: GET
Request URL: http://www.cronachedellarinascita.it/characters/editCharacterSpecs/14
Django Version: 2.2.4
Exception Type: UnboundLocalError
Exception Value:
local variable 'trees_json_nodes' referenced before assignment
Exception Location: C:\wamp64\wwwsrc\cdr_site\characters\utils.py in getSpecsJson, line 305
Python Executable: C:\wamp64\bin\apache\apache2.4.23\bin\httpd.exe
Python Version: 3.8.1
Python Path:
['C:\\Python38\\python38.zip',
 'c:\\python38\\DLLs',
 'c:\\python38\\lib',
 'C:\\wamp64\\bin\\apache\\apache2.4.23\\bin',
 'c:\\python38',
 'c:\\python38\\lib\\site-packages',
 'C:\\wamp64\\wwwsrc\\cdr_site',
 'C:\\wamp64\\wwwsrc\\cdr_site\\cdr_site']
Server time: Sab, 29 Feb 2020 00:38:11 +0100

Traceback Switch to copy-and-paste view

  • c:\python38\lib\site-packages\django\core\handlers\exception.py in inner
    1.     This decorator is automatically applied to all middleware to ensure that
    2.     no middleware leaks an exception and that the next middleware in the stack
    3.     can rely on getting a response instead of an exception.
    4.     """
    5.     @wraps(get_response)
    6.     def inner(request):
    7.         try:
    1.             response = get_response(request)
    1.         except Exception as exc:
    2.             response = response_for_exception(request, exc)
    3.         return response
    4.     return inner
    5. 
       
    6. 
       
  • c:\python38\lib\site-packages\django\core\handlers\base.py in _get_response
    1.                 break
    2. 
       
    3.         if response is None:
    4.             wrapped_callback = self.make_view_atomic(callback)
    5.             try:
    6.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
    7.             except Exception as e:
    1.                 response = self.process_exception_by_middleware(e, request)
    1. 
       
    2.         # Complain if the view returned None (a common error).
    3.         if response is None:
    4.             if isinstance(callback, types.FunctionType):    # FBV
    5.                 view_name = callback.__name__
    6.             else:                                           # CBV
  • c:\python38\lib\site-packages\django\core\handlers\base.py in _get_response
    1.             response = middleware_method(request, callback, callback_args, callback_kwargs)
    2.             if response:
    3.                 break
    4. 
       
    5.         if response is None:
    6.             wrapped_callback = self.make_view_atomic(callback)
    7.             try:
    1.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
    1.             except Exception as e:
    2.                 response = self.process_exception_by_middleware(e, request)
    3. 
       
    4.         # Complain if the view returned None (a common error).
    5.         if response is None:
    6.             if isinstance(callback, types.FunctionType):    # FBV
  • c:\python38\lib\site-packages\django\contrib\auth\decorators.py in _wrapped_view
    1.     that takes the user object and returns True if the user passes.
    2.     """
    3. 
       
    4.     def decorator(view_func):
    5.         @wraps(view_func)
    6.         def _wrapped_view(request, *args, **kwargs):
    7.             if test_func(request.user):
    1.                 return view_func(request, *args, **kwargs)
    1.             path = request.build_absolute_uri()
    2.             resolved_login_url = resolve_url(login_url or settings.LOGIN_URL)
    3.             # If the login url is the same scheme and net location then just
    4.             # use the path as the "next" url.
    5.             login_scheme, login_netloc = urlparse(resolved_login_url)[:2]
    6.             current_scheme, current_netloc = urlparse(path)[:2]
  • C:\wamp64\wwwsrc\cdr_site\characters\views.py in editCharacterSpecs
    1. 
       
    2.             SpecBought.objects.bulk_create(newSpecs)
    3. 
       
    4.         return redirect(reverse('characters:characterSpecs', args=[character.id]))
    5. 
       
    6.     else:
    7. #        form = addSkillsForm()
    1.         trees,  used_trees, charSpecs, trees_json_nodes, trees_json_edges, trees_json_incomp = getSpecsJson(user, character)    
    1. 
       
    2.     return render(request, 'editcharacterspecs.html', {'character':character, 
    3.                                                        'user': user, 
    4.                                                        'trees': trees, 
    5.                                                        'used_trees': used_trees,
    6.                                                        'charSpecs': charSpecs,
  • C:\wamp64\wwwsrc\cdr_site\characters\utils.py in getSpecsJson
    1.         trees_array_edges[tree.id]=edges_array
    2.         trees_array_nodes[tree.id]=specs_array
    3.         trees_array_incomp[tree.id]=incomp_array
    4.         trees_json_nodes = json.dumps(trees_array_nodes)  
    5.         trees_json_edges = json.dumps(trees_array_edges)  
    6.         trees_json_incomp = json.dumps(trees_array_incomp)  
    7. 
       
    1.     return trees, used_trees, charSpecs, trees_json_nodes, trees_json_edges, trees_json_incomp

Request information

USER

Panero

GET

No GET data

POST

No POST data

FILES

No FILES data

COOKIES

Variable Value
csrftoken
'JHxHcXhUs15tRwIVGy5ZdLKjuqcrcnHRwrBppcUsQQRKMVETD5XcO7wxvxND9RhU'
sessionid
's2x7cvjphb89z265nz7gvmeu6ydlu6me'

META

Variable Value
COMSPEC
'C:\\Windows\\system32\\cmd.exe'
CONTEXT_DOCUMENT_ROOT
'C:/wamp64/www'
CONTEXT_PREFIX
''
CSRF_COOKIE
'JHxHcXhUs15tRwIVGy5ZdLKjuqcrcnHRwrBppcUsQQRKMVETD5XcO7wxvxND9RhU'
DOCUMENT_ROOT
'C:/wamp64/www'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
HTTP_ACCEPT_ENCODING
'gzip, deflate'
HTTP_ACCEPT_LANGUAGE
'it-IT'
HTTP_CONNECTION
'Keep-Alive'
HTTP_COOKIE
('csrftoken=JHxHcXhUs15tRwIVGy5ZdLKjuqcrcnHRwrBppcUsQQRKMVETD5XcO7wxvxND9RhU; '
 'sessionid=s2x7cvjphb89z265nz7gvmeu6ydlu6me')
HTTP_HOST
'www.cronachedellarinascita.it'
HTTP_REFERER
'http://www.cronachedellarinascita.it/characters/characterSpecs/14'
HTTP_UPGRADE_INSECURE_REQUESTS
'1'
HTTP_USER_AGENT
('Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like '
 'Gecko) Chrome/70.0.3538.102 Safari/537.36 Edge/18.18362')
PATHEXT
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW'
PATH_INFO
'/characters/editCharacterSpecs/14'
PATH_TRANSLATED
'C:\\wamp64\\wwwsrc\\cdr_site\\cdr_site\\wsgi_windows.py\\characters\\editCharacterSpecs\\14'
QUERY_STRING
''
REMOTE_ADDR
'93.38.65.122'
REMOTE_PORT
'20481'
REQUEST_METHOD
'GET'
REQUEST_SCHEME
'http'
REQUEST_URI
'/characters/editCharacterSpecs/14'
SCRIPT_FILENAME
'C:/wamp64/wwwsrc/cdr_site/cdr_site/wsgi_windows.py'
SCRIPT_NAME
''
SERVER_ADDR
'79.143.190.11'
SERVER_ADMIN
'wampserver@wampserver.invalid'
SERVER_NAME
'www.cronachedellarinascita.it'
SERVER_PORT
'80'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SIGNATURE
('<address>Apache/2.4.23 (Win64) PHP/5.6.25 mod_wsgi/4.7.1 Python/3.8 Server '
 'at www.cronachedellarinascita.it Port 80</address>\n')
SERVER_SOFTWARE
'Apache/2.4.23 (Win64) PHP/5.6.25 mod_wsgi/4.7.1 Python/3.8'
SystemRoot
'C:\\Windows'
WINDIR
'C:\\Windows'
apache.version
(2, 4, 23)
mod_wsgi.application_group
'localhostcdr|'
mod_wsgi.callable_object
'application'
mod_wsgi.enable_sendfile
'0'
mod_wsgi.handler_script
''
mod_wsgi.ignore_activity
'0'
mod_wsgi.path_info
'/characters/editCharacterSpecs/14'
mod_wsgi.process_group
''
mod_wsgi.request_handler
'wsgi-script'
mod_wsgi.request_id
'tvOYVBMiBng'
mod_wsgi.request_start
'1582933091087286'
mod_wsgi.script_name
''
mod_wsgi.script_reloading
'1'
mod_wsgi.script_start
'1582933091087286'
mod_wsgi.thread_id
4
mod_wsgi.thread_requests
38
mod_wsgi.total_requests
209
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 0x0000004C77EF3F80>
wsgi.input_terminated
True
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)

Settings

Using settings module cdr_site.settings

Setting Value
ABSOLUTE_URL_OVERRIDES
{'auth.user': <function <lambda> at 0x0000004C751989D0>}
ADMINS
[('Sveva', 'sveva.valguarnera@gmail.com')]
ALLOWED_HOSTS
['*']
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
['django.contrib.auth.backends.ModelBackend']
AUTH_PASSWORD_VALIDATORS
'********************'
AUTH_USER_MODEL
'auth.User'
BASE_DIR
'C:\\wamp64\\wwwsrc\\cdr_site'
BOOTSTRAP4
{'include_jquery': True}
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'},
 'machina_attachments': {'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
                         'LOCATION': '/tmp'}}
CACHE_MIDDLEWARE_ALIAS
'default'
CACHE_MIDDLEWARE_KEY_PREFIX
'********************'
CACHE_MIDDLEWARE_SECONDS
600
CKEDITOR_CONFIGS
{'default': {'height': 400, 'toolbar': 'full', 'width': '100%'}}
CRISPY_TEMPLATE_PACK
'bootstrap4'
CRON_CLASSES
['main.cron.AssegnaPABCompleanno', 'main.cron.AssegnaPABEvento']
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.mysql',
             'HOST': 'localhost',
             'NAME': 'cdr',
             'OPTIONS': {'charset': 'utf8mb4'},
             'PASSWORD': '********************',
             'PORT': '3306',
             'TEST': {'CHARSET': None,
                      'COLLATION': None,
                      'MIRROR': None,
                      'NAME': None},
             'TIME_ZONE': None,
             'USER': 'rootcdr'}}
DATABASE_ROUTERS
[]
DATA_UPLOAD_MAX_MEMORY_SIZE
2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS
1000
DATETIME_FORMAT
'j/n/Y G:i'
DATETIME_INPUT_FORMATS
'%d/%m/%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_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@cronachedellarinascita.it'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
[]
DJANGO_MESSAGES_NOTIFY
True
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'mail.cronachedellarinascita.it'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
'webmaster@cronachedellarinascita.it'
EMAIL_PORT
25
EMAIL_SSL_CERTFILE
None
EMAIL_SSL_KEYFILE
'********************'
EMAIL_SUBJECT_PREFIX
'[Cronache della Rinascita] '
EMAIL_TIMEOUT
None
EMAIL_USE_LOCALTIME
False
EMAIL_USE_SSL
False
EMAIL_USE_TLS
False
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
None
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'
GRUPPO_AMBIENTAZIONE_NAME
'gruppo_ambientazione'
GRUPPO_LOGISTICA_NAME
'gruppo_logistica'
GRUPPO_NARRATORI_NAME
'gruppo_narratori'
GRUPPO_REGOLAMENTO_NAME
'gruppo_regolamento'
HAYSTACK_CONNECTIONS
{'default': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine'}}
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',
 'ckeditor',
 'django_tables2',
 'django_filters',
 'main',
 'events',
 'characters',
 'crispy_forms',
 'tablib',
 'tempus_dominus',
 'bootstrap4',
 'django_messages',
 'django_select2',
 'django_cron',
 'mptt',
 'haystack',
 'widget_tweaks',
 'machina',
 'machina.apps.forum',
 'machina.apps.forum_conversation',
 'machina.apps.forum_conversation.forum_attachments',
 'machina.apps.forum_conversation.forum_polls',
 'machina.apps.forum_feeds',
 'machina.apps.forum_moderation',
 'machina.apps.forum_search',
 'machina.apps.forum_tracking',
 'machina.apps.forum_member',
 'machina.apps.forum_permission']
INTERNAL_IPS
[]
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'),
 ('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'),
 ('io', 'Ido'),
 ('is', 'Icelandic'),
 ('it', 'Italian'),
 ('ja', 'Japanese'),
 ('ka', 'Georgian'),
 ('kab', 'Kabyle'),
 ('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 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'),
 ('th', 'Thai'),
 ('tr', 'Turkish'),
 ('tt', 'Tatar'),
 ('udm', 'Udmurt'),
 ('uk', 'Ukrainian'),
 ('ur', 'Urdu'),
 ('vi', 'Vietnamese'),
 ('zh-hans', 'Simplified Chinese'),
 ('zh-hant', 'Traditional Chinese')]
LANGUAGES_BIDI
['he', 'ar', 'fa', 'ur']
LANGUAGE_CODE
'it'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
'django_language'
LANGUAGE_COOKIE_PATH
'/'
LOCALE_PATHS
('locale',)
LOGGING
{}
LOGGING_CONFIG
'logging.config.dictConfig'
LOGIN_REDIRECT_URL
'/'
LOGIN_URL
'/accounts/login/'
LOGOUT_REDIRECT_URL
None
MACHINA_BASE_TEMPLATE_NAME
'base_forum.html'
MACHINA_FORUM_NAME
'Cronache della Rinascita Forum'
MACHINA_MAIN_STATIC_DIR
'c:\\python38\\lib\\site-packages\\machina\\static/machina/build'
MACHINA_MAIN_TEMPLATE_DIR
'c:\\python38\\lib\\site-packages\\machina\\templates/machina'
MACHINA_MARKUP_LANGUAGE
None
MACHINA_MARKUP_WIDGET
'ckeditor.widgets.CKEditorWidget'
MANAGERS
[]
MEDIA_ROOT
'C:\\wamp64\\wwwsrc\\cdr_site\\media'
MEDIA_URL
'/media/'
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.sessions.middleware.SessionMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'machina.apps.forum_permission.middleware.ForumPermissionMiddleware']
MIGRATION_MODULES
{}
MONTH_DAY_FORMAT
'F j'
NUMBER_GROUPING
0
PASSWORD_HASHERS
'********************'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
RECAPTCHA_PRIVATE_KEY
'********************'
RECAPTCHA_PUBLIC_KEY
'********************'
ROOT_URLCONF
'cdr_site.urls'
SECRET_KEY
'********************'
SECURE_BROWSER_XSS_FILTER
False
SECURE_CONTENT_TYPE_NOSNIFF
False
SECURE_HSTS_INCLUDE_SUBDOMAINS
False
SECURE_HSTS_PRELOAD
False
SECURE_HSTS_SECONDS
0
SECURE_PROXY_SSL_HEADER
None
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SELECT2_CACHE_BACKEND
'default'
SELECT2_CACHE_PREFIX
'select2_'
SELECT2_CSS
'//cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/css/select2.min.css'
SELECT2_I18N_AVAILABLE_LANGUAGES
['ar',
 'az',
 'bg',
 'ca',
 'cs',
 'da',
 'de',
 'el',
 'en',
 'es',
 'et',
 'eu',
 'fa',
 'fi',
 'fr',
 'gl',
 'he',
 'hi',
 'hr',
 'hu',
 'id',
 'is',
 'it',
 'ja',
 'km',
 'ko',
 'lt',
 'lv',
 'mk',
 'ms',
 'nb',
 'nl',
 'pl',
 'pt-BR',
 'pt',
 'ro',
 'ru',
 'sk',
 'sr-Cyrl',
 'sr',
 'sv',
 'th',
 'tr',
 'uk',
 'vi',
 'zh-CN',
 'zh-TW']
SELECT2_I18N_PATH
'//cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/js/i18n'
SELECT2_JS
'//cdnjs.cloudflare.com/ajax/libs/select2/4.0.12/js/select2.min.js'
SELECT2_LIB_VERSION
'4.0.12'
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
'cdr_site.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
1
STATICFILES_DIRS
('c:\\python38\\lib\\site-packages\\machina\\static/machina/build',)
STATICFILES_FINDERS
['django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
STATIC_ROOT
'C:\\wamp64\\wwwsrc\\cdr_site\\static'
STATIC_URL
'/static/'
TEMPLATES
[{'APP_DIRS': True,
  'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': ['C:\\wamp64\\wwwsrc\\cdr_site\\templates',
           'C:\\wamp64\\wwwsrc\\cdr_site\\templates/events_locations',
           'C:\\wamp64\\wwwsrc\\cdr_site\\templates/registration',
           'C:\\wamp64\\wwwsrc\\cdr_site\\templates/characters',
           'C:\\wamp64\\wwwsrc\\cdr_site\\templates/pab',
           'C:\\wamp64\\wwwsrc\\cdr_site\\templates/pi',
           'C:\\wamp64\\wwwsrc\\cdr_site\\templates/django_messages',
           'C:\\wamp64\\wwwsrc\\cdr_site\\templates/regolamento',
           'c:\\python38\\lib\\site-packages\\machina\\templates/machina'],
  '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.i18n',
                                     'machina.core.context_processors.metadata']}}]
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
'Europe/Rome'
USE_I18N
True
USE_L10N
True
USE_THOUSAND_SEPARATOR
False
USE_TZ
False
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
UTENTE_AMBIENTAZIONE
'GruppoAmbientazione'
WSGI_APPLICATION
'cdr_site.wsgi.application'
X_FRAME_OPTIONS
'SAMEORIGIN'
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.

Luther Korgottson Von Esposito

Aristide Settimo Torreggiani