sebasti...@gmail.com schrieb am Donnerstag, 1. April 2021 um 18:00:57 UTC+2:
Hello,model.py:class UserSettings(models.Model):user_link = models.OneToOneField(User,on_delete=models.CASCADE,related_name="usersettings_address",primary_key=True,)and i have a mixin:class ListviewMixin():def get_queryset(self):print("Order "+str(self.request.usersettings_address.list_orderby))now i get a exception:AttributeError at /'WSGIRequest' object has no attribute 'usersettings_address'Request Method: GETRequest URL: http://127.0.0.1:8001/Django Version: 3.1.7Exception Type: AttributeErrorException Value:'WSGIRequest' object has no attribute 'usersettings_address'Exception Location: /home/sebastian/PycharmProjects/verwaltung/emailmarketing/Mixins.py, line 15, in get_querysetPython Executable: /usr/bin/python3Python Version: 3.8.5Python Path:['/home/sebastian/PycharmProjects/verwaltung','/usr/lib/python38.zip','/usr/lib/python3.8','/usr/lib/python3.8/lib-dynload','/home/sebastian/.local/lib/python3.8/site-packages','/home/sebastian/PycharmProjects/helpdesk/django-helpdesk','/home/sebastian/PycharmProjects/helpdesk/django-helpdesk/demo','/usr/local/lib/python3.8/dist-packages','/usr/lib/python3/dist-packages','/usr/lib/python3.8/dist-packages']Server time: Thu, 01 Apr 2021 15:55:29 +0000Traceback Switch to copy-and-paste view/home/sebastian/.local/lib/python3.8/site-packages/django/core/handlers/exception.py, line 47, in innerresponse = get_response(request) …▶ Local vars/home/sebastian/.local/lib/python3.8/site-packages/django/core/handlers/base.py, line 181, in _get_responseresponse = wrapped_callback(request, *callback_args, **callback_kwargs) …▶ Local vars/home/sebastian/.local/lib/python3.8/site-packages/django/views/generic/base.py, line 70, in viewreturn self.dispatch(request, *args, **kwargs) …▶ Local vars/home/sebastian/.local/lib/python3.8/site-packages/django/utils/decorators.py, line 43, in _wrapperreturn bound_method(*args, **kwargs) …▶ Local vars/home/sebastian/.local/lib/python3.8/site-packages/django/contrib/auth/decorators.py, line 21, in _wrapped_viewreturn view_func(request, *args, **kwargs) …▶ Local vars/home/sebastian/.local/lib/python3.8/site-packages/django/views/generic/base.py, line 98, in dispatchreturn handler(request, *args, **kwargs) …▶ Local vars/home/sebastian/.local/lib/python3.8/site-packages/django_filters/views.py, line 78, in getself.filterset = self.get_filterset(filterset_class) …▶ Local vars/home/sebastian/.local/lib/python3.8/site-packages/django_filters/views.py, line 44, in get_filtersetkwargs = self.get_filterset_kwargs(filterset_class) …▶ Local vars/home/sebastian/.local/lib/python3.8/site-packages/django_filters/views.py, line 57, in get_filterset_kwargs'queryset': self.get_queryset(), …▶ Local vars/home/sebastian/PycharmProjects/verwaltung/emailmarketing/Mixins.py, line 15, in get_querysetprint("Order "+str(self.request.usersettings_address.list_orderby)) …▶ Local varsRequest informationUSERrootGETNo GET dataPOSTNo POST dataFILESNo FILES dataCOOKIESVariable Valuecsrftoken'15eLiVRTmzsSz1unKLGniM5O3PLaCv1GikIMWWnf7p5tHdkRkYvOKKtM8c6jwGrA'sessionid'm4julix8y4zyczcuq2tlnf6zzwjlkluc'METAVariable ValueCINNAMON_VERSION'4.8.6'COLORTERM'truecolor'CONTENT_LENGTH''CONTENT_TYPE'text/plain'CSRF_COOKIE'15eLiVRTmzsSz1unKLGniM5O3PLaCv1GikIMWWnf7p5tHdkRkYvOKKtM8c6jwGrA'DBUS_SESSION_BUS_ADDRESS'unix:path=/run/user/1000/bus'DESKTOP_SESSION'cinnamon'DISPLAY':0'DJANGO_SETTINGS_MODULE'emailmarketing.settings'GATEWAY_INTERFACE'CGI/1.1'GDMSESSION'cinnamon'GDM_LANG'de_DE'GJS_DEBUG_OUTPUT'stderr'GJS_DEBUG_TOPICS'JS ERROR;JS LOG'GNOME_DESKTOP_SESSION_ID'this-is-deprecated'GNOME_TERMINAL_SCREEN'/org/gnome/Terminal/screen/0493dca5_c60d_4d79_a657_8d6130e31a36'GNOME_TERMINAL_SERVICE':1.74'GPG_AGENT_INFO'/run/user/1000/gnupg/S.gpg-agent:0:1'GTK3_MODULES'xapp-gtk3-module'GTK_MODULES'gail:atk-bridge'GTK_OVERLAY_SCROLLING'1'HOME'/home/sebastian'HTTP_ACCEPT'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9'HTTP_ACCEPT_ENCODING'gzip, deflate, br'HTTP_ACCEPT_LANGUAGE'de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7'HTTP_CACHE_CONTROL'max-age=0'HTTP_CONNECTION'keep-alive'HTTP_COOKIE('csrftoken=15eLiVRTmzsSz1unKLGniM5O3PLaCv1GikIMWWnf7p5tHdkRkYvOKKtM8c6jwGrA; ''sessionid=m4julix8y4zyczcuq2tlnf6zzwjlkluc')HTTP_HOSTHTTP_SEC_FETCH_DEST'document'HTTP_SEC_FETCH_MODE'navigate'HTTP_SEC_FETCH_SITE'none'HTTP_SEC_FETCH_USER'?1'HTTP_UPGRADE_INSECURE_REQUESTS'1'HTTP_USER_AGENT('Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) ''Chrome/89.0.4389.82 Safari/537.36')LANG'de_DE.UTF-8'LANGUAGE'de_DE'LESSCLOSE'/usr/bin/lesspipe %s %s'LESSOPEN'| /usr/bin/lesspipe %s'LOGNAME'sebastian'LS_COLORS'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:'OLDPWD'/home/sebastian/pycharm-2020.3.3/bin'PATH'/home/sebastian/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin'PATH_INFO'/'PWD'/home/sebastian/PycharmProjects/verwaltung'QT_ACCESSIBILITY'1'QT_QPA_PLATFORMTHEME'qt5ct'QUERY_STRING''REMOTE_ADDR'127.0.0.1'REMOTE_HOST''REQUEST_METHOD'GET'RUN_MAIN'true'SCRIPT_NAME''SERVER_NAME'localhost'SERVER_PORT'8001'SERVER_PROTOCOL'HTTP/1.1'SERVER_SOFTWARE'WSGIServer/0.2'SESSION_MANAGER'local/sebastian-virtual-machine:@/tmp/.ICE-unix/1997,unix/sebastian-virtual-machine:/tmp/.ICE-unix/1997'SHELL'/bin/bash'SHLVL'2'SSH_AGENT_PID'2070'SSH_AUTH_SOCK'/run/user/1000/keyring/ssh'TERM'xterm-256color'TERMINAL_EMULATOR'JetBrains-JediTerm'TZ'UTC'USER'sebastian'VTE_VERSION'6003'XAUTHORITY'/home/sebastian/.Xauthority'XDG_CONFIG_DIRS'/etc/xdg/xdg-cinnamon:/etc/xdg'XDG_CURRENT_DESKTOP'X-Cinnamon'XDG_DATA_DIRS'/usr/share/cinnamon:/usr/share/gnome:/home/sebastian/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share'XDG_GREETER_DATA_DIR'/var/lib/lightdm-data/sebastian'XDG_RUNTIME_DIR'/run/user/1000'XDG_SEAT'seat0'XDG_SEAT_PATH'/org/freedesktop/DisplayManager/Seat0'XDG_SESSION_CLASS'user'XDG_SESSION_DESKTOP'cinnamon'XDG_SESSION_ID'c2'XDG_SESSION_PATH'/org/freedesktop/DisplayManager/Session0'XDG_SESSION_TYPE'x11'XDG_VTNR'7'_'/usr/bin/python3'wsgi.errors<_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>wsgi.file_wrapper<class 'wsgiref.util.FileWrapper'>wsgi.input<django.core.handlers.wsgi.LimitedStream object at 0x7f6769684a60>wsgi.multiprocessFalsewsgi.multithreadTruewsgi.run_onceFalsewsgi.url_scheme'http'wsgi.version(1, 0)SettingsUsing settings module emailmarketing.settingsSetting ValueABSOLUTE_URL_OVERRIDES{}ADMINS[]ALLOWED_HOSTS['beelze-solutions.de', '127.0.0.1']APPEND_SLASHTrueAUTHENTICATION_BACKENDS('django.contrib.auth.backends.ModelBackend',)AUTH_PASSWORD_VALIDATORS'********************'AUTH_USER_MODEL'auth.User'BASE_DIR'/home/sebastian/PycharmProjects/verwaltung'CACHES{'default': {'BACKEND': 'django_redis.cache.RedisCache','LOCATION': 'redis://127.0.0.1:6379/1','OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient'}}}CACHE_MIDDLEWARE_ALIAS'default'CACHE_MIDDLEWARE_KEY_PREFIX'********************'CACHE_MIDDLEWARE_SECONDS600CSRF_COOKIE_AGE31449600CSRF_COOKIE_DOMAINNoneCSRF_COOKIE_HTTPONLYFalseCSRF_COOKIE_NAME'csrftoken'CSRF_COOKIE_PATH'/'CSRF_COOKIE_SAMESITE'Lax'CSRF_COOKIE_SECUREFalseCSRF_FAILURE_VIEW'django.views.csrf.csrf_failure'CSRF_HEADER_NAME'HTTP_X_CSRFTOKEN'CSRF_TRUSTED_ORIGINS[]CSRF_USE_SESSIONSFalseDATABASES{'default': {'ATOMIC_REQUESTS': False,'AUTOCOMMIT': True,'CONN_MAX_AGE': 0,'ENGINE': 'django.db.backends.postgresql_psycopg2','HOST': '127.0.0.1','NAME': 'test','OPTIONS': {},'PASSWORD': '********************','PORT': '5432','TEST': {'CHARSET': None,'COLLATION': None,'MIGRATE': True,'MIRROR': None,'NAME': None},'TIME_ZONE': None,'USER': 'postgres'}}DATABASE_ROUTERS[]DATA_UPLOAD_MAX_MEMORY_SIZE2621440DATA_UPLOAD_MAX_NUMBER_FIELDS1000DATETIME_FORMAT'%d.%m.%Y %H:%M'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','%d.%m.%Y %H:%M','%d.%m.%Y')DATE_FORMAT'%d.%m.%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','%d.%m.%Y')DEBUGTrueDEBUG_PROPAGATE_EXCEPTIONSFalseDECIMAL_SEPARATOR'.'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'webmaster@localhost'DEFAULT_HASHING_ALGORITHM'sha256'DEFAULT_INDEX_TABLESPACE''DEFAULT_TABLESPACE''DISALLOWED_USER_AGENTS[]DYNAMIC_PREFERENCES{'ADMIN_ENABLE_CHANGELIST_FORM': False,'ENABLE_CACHE': True,'MANAGER_ATTRIBUTE': 'preferences','REGISTRY_MODULE': 'dynamic_preferences_registry','SECTION_KEY_SEPARATOR': '********************','VALIDATE_NAMES': True}EMAIL_BACKEND'django.core.mail.backends.smtp.EmailBackend'EMAIL_HOST'127.0.0.1'EMAIL_HOST_PASSWORD'********************'EMAIL_HOST_USER''EMAIL_PORT25EMAIL_SSL_CERTFILENoneEMAIL_SSL_KEYFILE'********************'EMAIL_SUBJECT_PREFIX'[Django] 'EMAIL_TIMEOUTNoneEMAIL_USE_LOCALTIMEFalseEMAIL_USE_SSLFalseEMAIL_USE_TLSTrueFILE_UPLOAD_DIRECTORY_PERMISSIONSNoneFILE_UPLOAD_HANDLERS['django.core.files.uploadhandler.MemoryFileUploadHandler','django.core.files.uploadhandler.TemporaryFileUploadHandler']FILE_UPLOAD_MAX_MEMORY_SIZE2621440FILE_UPLOAD_PERMISSIONS420FILE_UPLOAD_TEMP_DIRNoneFIRST_DAY_OF_WEEK1FIXTURE_DIRS[]FORCE_SCRIPT_NAMENoneFORMAT_MODULE_PATHNoneFORM_RENDERER'django.forms.renderers.DjangoTemplates'HELPDESK_DEFAULT_SETTINGS{'email_on_ticket_apichange': '********************','email_on_ticket_assign': True,'email_on_ticket_change': True,'login_view_ticketlist': True,'preset_replies': True,'tickets_per_page': 25,'use_email_as_submitter': True}HELPDESK_KB_ENABLEDTrueHELPDESK_PUBLIC_ENABLEDTrueHELPDESK_REDIRECT_TO_LOGIN_BY_DEFAULTFalseHELPDESK_SHOW_CHANGE_PASSWORD'********************'HELPDESK_SUBMIT_A_TICKET_PUBLICTrueHELPDESK_VIEW_A_TICKET_PUBLICTrueIGNORABLE_404_URLS[]INSTALLED_APPS['django.contrib.contenttypes','django.contrib.admin','django.contrib.auth','django.contrib.sessions','django.contrib.messages','django.contrib.staticfiles','django.contrib.sites','marketing','widget_tweaks','address','mptt','newsletter','dynamic_preferences','dynamic_preferences.users.apps.UserPreferencesConfig','userprofil','photo','kalender','emails','historie','settings','ticketsystem','django.contrib.humanize']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'de-de'LANGUAGE_COOKIE_AGENoneLANGUAGE_COOKIE_DOMAINNoneLANGUAGE_COOKIE_HTTPONLYFalseLANGUAGE_COOKIE_NAME'django_language'LANGUAGE_COOKIE_PATH'/'LANGUAGE_COOKIE_SAMESITENoneLANGUAGE_COOKIE_SECUREFalseLOCALE_PATHS[]LOGGING{}LOGGING_CONFIG'logging.config.dictConfig'LOGIN_REDIRECT_URL'/accounts/profile/'LOGIN_URL'login'LOGOUT_REDIRECT_URLNoneLOGOUT_URL'signout'MANAGERS[]MAX_UPLOAD_SIZE'2621440'MEDIA_ROOT'/var/www/media'MEDIA_URL'/mediafiles/'MESSAGE_STORAGE'django.contrib.messages.storage.fallback.FallbackStorage'MESSAGE_TAGS{'message_constants.DEBUG': 'debug','message_constants.ERROR': 'danger','message_constants.INFO': 'info','message_constants.SUCCESS': 'success','message_constants.WARNING': 'warning'}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_GROUPING0PASSWORD_HASHERS'********************'PASSWORD_RESET_TIMEOUT'********************'PASSWORD_RESET_TIMEOUT_DAYS'********************'PREPEND_WWWFalseRECAPTCHA_PRIVATE_KEY'********************'RECAPTCHA_PUBLIC_KEY'********************'ROOT_URLCONF'emailmarketing.urls'SECRET_KEY'********************'SECURE_BROWSER_XSS_FILTERFalseSECURE_CONTENT_TYPE_NOSNIFFTrueSECURE_HSTS_INCLUDE_SUBDOMAINSFalseSECURE_HSTS_PRELOADFalseSECURE_HSTS_SECONDS0SECURE_PROXY_SSL_HEADERNoneSECURE_REDIRECT_EXEMPT[]SECURE_REFERRER_POLICY'same-origin'SECURE_SSL_HOSTNoneSECURE_SSL_REDIRECTFalseSERVER_EMAIL'root@localhost'SESSION_CACHE_ALIAS'default'SESSION_COOKIE_AGE1209600SESSION_COOKIE_DOMAINNoneSESSION_COOKIE_HTTPONLYTrueSESSION_COOKIE_NAME'sessionid'SESSION_COOKIE_PATH'/'SESSION_COOKIE_SAMESITE'Lax'SESSION_COOKIE_SECUREFalseSESSION_ENGINE'django.contrib.sessions.backends.db'SESSION_EXPIRE_AT_BROWSER_CLOSEFalseSESSION_FILE_PATHNoneSESSION_SAVE_EVERY_REQUESTFalseSESSION_SERIALIZER'django.contrib.sessions.serializers.JSONSerializer'SETTINGS_MODULE'emailmarketing.settings'SHORT_DATETIME_FORMAT'm/d/Y P'SHORT_DATE_FORMAT'm/d/Y'SIGNING_BACKEND'django.core.signing.TimestampSigner'SILENCED_SYSTEM_CHECKS[]SITE_ID1SITE_URLSTATICFILES_DIRS['/home/sebastian/PycharmProjects/verwaltung/static']STATICFILES_FINDERS('django.contrib.staticfiles.finders.FileSystemFinder',)STATICFILES_STORAGE'django.contrib.staticfiles.storage.StaticFilesStorage'STATIC_ROOT'/var/www/static'STATIC_URL'/static/'TEMPLATES[{'APP_DIRS': True,'BACKEND': 'django.template.backends.django.DjangoTemplates','DIRS': ['/home/sebastian/PycharmProjects/verwaltung/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','django.template.context_processors.i18n','dynamic_preferences.processors.global_preferences','settings.context_processors.getallemailaccounts']}}]TEMPLATE_CONTEXT_PROCESSORS('django.core.context_processors.request',)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_I18NTrueUSE_L10NFalseUSE_THOUSAND_SEPARATORFalseUSE_TZTrueUSE_X_FORWARDED_HOSTFalseUSE_X_FORWARDED_PORTFalseWSGI_APPLICATION'emailmarketing.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.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b1f62af5-7096-40e9-a20d-76518d26af81n%40googlegroups.com.
No comments:
Post a Comment