Skip to content

Kalendereintrag mit Endedatum aber ohne Endezeit #125

Open
donald opened this issue Aug 3, 2022 · 0 comments
Open

Kalendereintrag mit Endedatum aber ohne Endezeit #125

donald opened this issue Aug 3, 2022 · 0 comments

Comments

@donald
Copy link
Member

donald commented Aug 3, 2022

Kalendereintrag mit Endedatum aber ohne Endezeit scheint diesen Fehler zu triggern:

Internal Server Error: /admin/pages/757/edit/

TypeError at /admin/pages/757/edit/
can't compare datetime.datetime to datetime.date

Request Method: POST
Request URL: https://intranet.molgen.mpg.de/admin/pages/757/edit/
Django Version: 3.1.7
Python Executable: /project/intranet/mpicms-0.0-0/venv0/bin/python3
Python Version: 3.7.3
Python Path: ['/project/intranet/mpicms/mpicms', '/project/intranet/mpicms/venv0/lib/python37.zip', '/project/intranet/mpicms/venv0/lib/python3.7', '/project/intranet/mpicms/venv0/lib/python3.7/lib-dynload', '/pkg/python-3.7.3-1/lib/python3.7', '/project/intranet/mpicms/venv0/lib/python3.7/site-packages', '/project/intranet/mpicms']
Server time: Wed, 03 Aug 2022 11:37:02 +0200
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.humanize',
 'django.contrib.admin',
 'django.contrib.sitemaps',
 'wagtail.contrib.forms',
 'wagtail.contrib.redirects',
 'wagtail.embeds',
 'wagtail.sites',
 'wagtail.users',
 'wagtail.snippets',
 'wagtail.documents',
 'wagtail.images',
 'wagtail.search',
 'wagtail.admin',
 'wagtail.core',
 'wagtail.contrib.postgres_search',
 'wagtail.contrib.search_promotions',
 'wagtail.contrib.table_block',
 'wagtail.contrib.modeladmin',
 'wagtail.api.v2',
 'wagtailorderable',
 'wagtail_modeltranslation',
 'wagtail_modeltranslation.makemigrations',
 'wagtail_modeltranslation.migrate',
 'modelcluster',
 'taggit',
 'rest_framework',
 'wagtailvideos',
 'mpicms.base.apps.BaseAppConfig',
 'mpicms.news.apps.NewsAppConfig',
 'mpicms.personal.apps.PersonalAppConfig',
 'mpicms.users.apps.UserAppConfig',
 'mpicms.events.apps.EventAppConfig',
 'mpicms.publications.apps.PublicationAppConfig']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'wagtail.contrib.redirects.middleware.RedirectMiddleware']


Traceback (most recent call last):
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/pkg/python-3.7.3-1/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/django/views/decorators/cache.py", line 44, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/wagtail/admin/urls/__init__.py", line 127, in wrapper
    return view_func(request, *args, **kwargs)
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/wagtail/admin/auth.py", line 172, in decorated_view
    response = view_func(request, *args, **kwargs)
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/wagtail/admin/views/pages/edit.py", line 131, in dispatch
    return super().dispatch(request)
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/django/views/generic/base.py", line 98, in dispatch
    return handler(request, *args, **kwargs)
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/wagtail/admin/views/pages/edit.py", line 217, in post
    if self.form.is_valid() and not self.page_perms.page_locked():
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/modelcluster/forms.py", line 316, in is_valid
    form_is_valid = super(ClusterForm, self).is_valid()
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/django/forms/forms.py", line 177, in is_valid
    return self.is_bound and not self.errors
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/django/forms/forms.py", line 172, in errors
    self.full_clean()
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/django/forms/forms.py", line 376, in full_clean
    self._post_clean()
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/django/forms/models.py", line 405, in _post_clean
    self.instance.full_clean(exclude=exclude, validate_unique=False)
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/wagtail/core/models.py", line 976, in full_clean
    super().full_clean(*args, **kwargs)
  File "/project/intranet/mpicms/venv0/lib/python3.7/site-packages/django/db/models/base.py", line 1216, in full_clean
    self.clean()
  File "/project/intranet/mpicms/mpicms/events/models.py", line 91, in clean
    if self.end and self.end < self.start:

Exception Type: TypeError at /admin/pages/757/edit/
Exception Value: can't compare datetime.datetime to datetime.date
Request information:
USER: beziat

GET: No GET data

POST:
csrfmiddlewaretoken = 'tF2m4lNwlYBdy7LShFac7k1mgYDnw6orVs60yNUH3NhDQjvSawixI32oBmmjnoLO'
next = ''
title_en = 'Nature journals meet Berlin life sciences'
title_de = ''
body_en-count = '1'
body_en-0-deleted = ''
body_en-0-order = '0'
body_en-0-type = 'richtext'
body_en-0-id = 'd1b1bc33-f268-4d59-9597-3130dfbce940'
body_en-0-value = '{"blocks":[{"key":"q2l2a","text":"It’s our absolute pleasure to invite you to the event: “Nature journals meet Berlin life sciences”.","type":"unstyled","depth":0,"inlineStyleRanges":[{"offset":56,"length":41,"style":"BOLD"}],"entityRanges":[],"data":{}},{"key":"67fu2","text":"Publishing in prestigious journals is one of the most important, yet highly mysterious processes in science. Many myths exist about how to get a paper published in so called high impact journals. In this event, we bring together editors from leading journals of the Nature family with the Berlin life science community. Please register and join us if you are interested in any of the following:","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}},{"key":"r2odr","text":"Are you interested in publishing in high impact journals?\xa0","type":"unordered-list-item","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}},{"key":"nitc6","text":"Would you like to receive tips & tricks from the editor’s perspective?","type":"unordered-list-item","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}},{"key":"473z5","text":"Do you want to meet the editor of your favorite journal in person?","type":"unordered-list-item","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}},{"key":"owy1r","text":"Are interested in a the job of an editor as a potential career trajectory?","type":"unordered-list-item","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}},{"key":"ib0s2","text":"Please find the flyer and preliminary agenda attached. ","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}},{"key":"1bb1d","text":"","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}},{"key":"d5i75","text":"Register as early as possible for the hybrid event at the\xa025th\xa0of August at the BIMSB-MDC in Berlin Mitte\xa0and indicate whether you would like\xa0 to join in person or online (only limited in person places available).\xa0","type":"unstyled","depth":0,"inlineStyleRanges":[{"offset":58,"length":31,"style":"BOLD"},{"offset":90,"length":15,"style":"BOLD"}],"entityRanges":[],"data":{}},{"key":"yp6gc","text":"Registration link: https://www.mdc-berlin.de/news/events/nature-journals-meet-berlin-life-sciences","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[{"offset":19,"length":79,"key":0}],"data":{}},{"key":"9uab4","text":"If you are a\xa0student, PhD student or postdoc\xa0and would like to participate in the onsite\xa0workshop about publishing, please\xa0follow the registration.","type":"unstyled","depth":0,"inlineStyleRanges":[{"offset":13,"length":8,"style":"BOLD"},{"offset":22,"length":11,"style":"BOLD"},{"offset":37,"length":7,"style":"BOLD"},{"offset":89,"length":8,"style":"BOLD"}],"entityRanges":[],"data":{}},{"key":"sy5tp","text":"If you are a\xa0senior scientist, clinician scientist, group leader or professor\xa0and would like to\xa0meet with one of the editors\xa0of the following journals, please book a time slot here\xa0during the application registration process.","type":"unstyled","depth":0,"inlineStyleRanges":[{"offset":13,"length":64,"style":"BOLD"},{"offset":96,"length":29,"style":"BOLD"}],"entityRanges":[],"data":{}},{"key":"grxqa","text":"Participating journals:\xa0Nature,\xa0Nature Genetics, Nature Biotechnology, Nature Neuroscience, Nature Cancer, Nature Metabolism, Nature Biomedical Engineering, Nature Reviews journals.","type":"unstyled","depth":0,"inlineStyleRanges":[{"offset":24,"length":6,"style":"ITALIC"},{"offset":32,"length":149,"style":"ITALIC"}],"entityRanges":[],"data":{}},{"key":"81mvx","text":"This event is supported by Nature, the Max Delbrück Center (MDC), the Berlin Institute of Health (BIH), the Charité, the\xa0Deutsche Rheuma-Forschungszentrum (DRFZ), the MPI for Molecular Genetics, the HU Berlin and FU Berlin.","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}},{"key":"asei5","text":"Thanks you very much and best regards,","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}},{"key":"8gj9m","text":"Simon Haas & Mike Fletcher","type":"unstyled","depth":0,"inlineStyleRanges":[],"entityRanges":[],"data":{}}],"entityMap":{"0":{"type":"LINK","mutability":"MUTABLE","data":{"url":"https://www.mdc-berlin.de/news/events/nature-journals-meet-berlin-life-sciences"}}}}'
body_de-count = '0'
header_image = ''
external = 'on'
start_date = '2022-08-25'
start_time = '09:00'
end_date = '2022-08-25'
end_time = ''
room = 'BIMSB-MDC'
slug = 'nature-journals-meet-berlin-life-sciences'
seo_title_en = ''
seo_title_de = ''
search_description_en = ''
search_description_de = ''
action-publish = 'action-publish'

FILES: No FILES data

COOKIES:
csrftoken = 'KFWGrKi6IhAD0sCueo0Vr1HvIzIg4QNGcs0kVcphq6g3iEmu7f8g2KIx3XrcV8a3'
rl_anonymous_id = '%2202babe34-09d4-43a7-8111-e8ae9c9e8160%22'
rl_user_id = '%22%22'
is_molgen_editor = '1'
django_language = 'en'
sessionid = 'n58y4a3b3m26ktrnnq8pnskxefhe3hvb'

META:
CONTENT_LENGTH = '6936'
CONTENT_TYPE = 'application/x-www-form-urlencoded'
CONTEXT_DOCUMENT_ROOT = '/project/intranet/httpd-2.4.46-0/htdocs'
CONTEXT_PREFIX = ''
CSRF_COOKIE = 'KFWGrKi6IhAD0sCueo0Vr1HvIzIg4QNGcs0kVcphq6g3iEmu7f8g2KIx3XrcV8a3'
DOCUMENT_ROOT = '/project/intranet/httpd-2.4.46-0/htdocs'
GATEWAY_INTERFACE = 'CGI/1.1'
H2PUSH = 'on'
H2_PUSH = 'on'
H2_PUSHED = ''
H2_PUSHED_ON = ''
H2_STREAM_ID = '15'
H2_STREAM_TAG = '210-15'
HTTP2 = 'on'
HTTP_ACCEPT = 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8'
HTTP_ACCEPT_ENCODING = 'gzip, deflate, br'
HTTP_ACCEPT_LANGUAGE = 'de,en-US;q=0.7,en;q=0.3'
HTTP_COOKIE = 'csrftoken=KFWGrKi6IhAD0sCueo0Vr1HvIzIg4QNGcs0kVcphq6g3iEmu7f8g2KIx3XrcV8a3; rl_anonymous_id=%2202babe34-09d4-43a7-8111-e8ae9c9e8160%22; rl_user_id=%22%22; is_molgen_editor=1; django_language=en; sessionid=n58y4a3b3m26ktrnnq8pnskxefhe3hvb'
HTTP_DNT = '1'
HTTP_HOST = 'intranet.molgen.mpg.de'
HTTP_ORIGIN = 'https://intranet.molgen.mpg.de'
HTTP_REFERER = 'https://intranet.molgen.mpg.de/admin/pages/757/edit/'
HTTP_SEC_FETCH_DEST = 'document'
HTTP_SEC_FETCH_MODE = 'navigate'
HTTP_SEC_FETCH_SITE = 'same-origin'
HTTP_SEC_FETCH_USER = '?1'
HTTP_TE = 'trailers'
HTTP_UPGRADE_INSECURE_REQUESTS = '1'
HTTP_USER_AGENT = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0'
LD_LIBRARY_PATH = '/project/intranet/httpd-2.4.46-0/lib:/pkg/python-3.7.3-1/lib:/pkg/python-3.7.3-1/lib'
PATH_INFO = '/admin/pages/757/edit/'
PATH_TRANSLATED = '/project/intranet/mpicms/config/wsgi.py/admin/pages/757/edit/'
QUERY_STRING = ''
REMOTE_ADDR = '141.14.26.27'
REMOTE_PORT = '53958'
REQUEST_METHOD = 'POST'
REQUEST_SCHEME = 'https'
REQUEST_URI = '/admin/pages/757/edit/'
SCRIPT_FILENAME = '/project/intranet/mpicms/config/wsgi.py'
SCRIPT_NAME = ''
SERVER_ADDR = '141.14.28.109'
SERVER_ADMIN = 'you@example.com'
SERVER_NAME = 'intranet.molgen.mpg.de'
SERVER_PORT = '443'
SERVER_PROTOCOL = 'HTTP/2.0'
SERVER_SIGNATURE = '********************'
SERVER_SOFTWARE = 'Apache/2.4.46 (Unix) OpenSSL/1.1.1k mod_wsgi/4.6.6 Python/3.7'
SSL_TLS_SNI = 'intranet.molgen.mpg.de'
apache.version = '(2, 4, 39)'
mod_wsgi.application_group = 'intranet.molgen.mpg.de|'
mod_wsgi.callable_object = 'application'
mod_wsgi.connection_id = '210-15'
mod_wsgi.enable_sendfile = '0'
mod_wsgi.handler_script = ''
mod_wsgi.ignore_activity = '0'
mod_wsgi.listener_host = 'intranet'
mod_wsgi.listener_port = '8443'
mod_wsgi.path_info = '/admin/pages/757/edit/'
mod_wsgi.process_group = ''
mod_wsgi.request_handler = 'wsgi-script'
mod_wsgi.request_id = 'JU6j+Up0ewE'
mod_wsgi.request_start = '1659519421861413'
mod_wsgi.script_name = ''
mod_wsgi.script_reloading = '1'
mod_wsgi.script_start = '1659519421861961'
mod_wsgi.thread_id = 56
mod_wsgi.thread_requests = 1910
mod_wsgi.total_requests = 133695
mod_wsgi.version = '(4, 6, 6)'
wsgi.errors = <_io.TextIOWrapper name='<wsgi.errors>' encoding='utf-8'>
wsgi.file_wrapper = <class 'mod_wsgi.FileWrapper'>
wsgi.input = <mod_wsgi.Input object at 0x7fc36f269c70>
wsgi.input_terminated = True
wsgi.multiprocess = True
wsgi.multithread = True
wsgi.run_once = False
wsgi.url_scheme = 'https'
wsgi.version = '(1, 0)'

Settings:
Using settings module config.settings.production
ABSOLUTE_URL_OVERRIDES = {}
ADMINS = [('Donald Buczek', 'buczek@molgen.mpg.de')]
ADMIN_URL = 'admin/'
ALLOWED_HOSTS = ['intranet.molgen.mpg.de']
APPEND_SLASH = True
APPS_DIR = '/project/intranet/mpicms/mpicms'
AUTHENTICATION_BACKENDS = ['django_auth_ldap.backend.LDAPBackend', 'django.contrib.auth.backends.ModelBackend']
AUTH_LDAP_BIND_DN = 'cn=mpicms,dc=ldap,dc=apps,dc=molgen,dc=mpg,dc=DE'
AUTH_LDAP_BIND_PASSWORD = '********************'
AUTH_LDAP_CONNECTION_OPTIONS = {24582: 0}
AUTH_LDAP_FIND_GROUP_PERMS = False
AUTH_LDAP_GROUP_SEARCH = <LDAPSearch: ou=groups,dc=example,dc=com>
AUTH_LDAP_GROUP_TYPE = <GroupOfNamesType: member>
AUTH_LDAP_SERVER_URI = 'ldaps://ldap.molgen.mpg.de/'
AUTH_LDAP_USER_ATTR_MAP = {'first_name': 'givenName', 'last_name': 'sn', 'email': 'mail'}
AUTH_LDAP_USER_DN_TEMPLATE = 'uid=%(user)s,dc=user,dc=apps,dc=molgen,dc=mpg,dc=DE'
AUTH_LDAP_USER_FLAGS_BY_GROUP = {}
AUTH_LDAP_USER_SEARCH = <LDAPSearch: dc=user,dc=apps,dc=molgen,dc=mpg,dc=DE>
AUTH_PASSWORD_VALIDATORS = '********************'
AUTH_USER_MODEL = 'auth.User'
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 = True
CSRF_COOKIE_NAME = 'csrftoken'
CSRF_COOKIE_PATH = '/'
CSRF_COOKIE_SAMESITE = 'Lax'
CSRF_COOKIE_SECURE = True
CSRF_FAILURE_VIEW = 'django.views.csrf.csrf_failure'
CSRF_HEADER_NAME = 'HTTP_X_CSRFTOKEN'
CSRF_TRUSTED_ORIGINS = []
CSRF_USE_SESSIONS = False
DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql', 'NAME': 'mpicms', 'ATOMIC_REQUESTS': True, 'CONN_MAX_AGE': 60, 'AUTOCOMMIT': True, 'OPTIONS': {}, 'TIME_ZONE': None, 'USER': '', 'PASSWORD': '********************', 'HOST': '', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}}}
DATABASE_ROUTERS = []
DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440
DATA_UPLOAD_MAX_NUMBER_FIELDS = None
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 = False
DEBUG_PROPAGATE_EXCEPTIONS = False
DECIMAL_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 = 'MPI <info@molgen.mpg.de>'
DEFAULT_HASHING_ALGORITHM = 'sha256'
DEFAULT_INDEX_TABLESPACE = ''
DEFAULT_TABLESPACE = ''
DISALLOWED_USER_AGENTS = []
DJANGO_APPS = ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.admin', 'django.contrib.sitemaps']
DOCS_ROOT = '/project/intranet/mpicms/docs/_build/html'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'harry.molgen.mpg.de'
EMAIL_HOST_PASSWORD = '********************'
EMAIL_HOST_USER = ''
EMAIL_PORT = 25
EMAIL_POST = 25
EMAIL_SSL_CERTFILE = None
EMAIL_SSL_KEYFILE = '********************'
EMAIL_SUBJECT_PREFIX = '[Intranet]'
EMAIL_TIMEOUT = None
EMAIL_USE_LOCALTIME = False
EMAIL_USE_SSL = False
EMAIL_USE_TLS = False
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 = "('/project/intranet/mpicms/mpicms/fixtures',)"
FORCE_SCRIPT_NAME = None
FORMAT_MODULE_PATH = None
FORM_RENDERER = 'django.forms.renderers.DjangoTemplates'
IGNORABLE_404_URLS = []
INSTALLED_APPS = ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.admin', 'django.contrib.sitemaps', 'wagtail.contrib.forms', 'wagtail.contrib.redirects', 'wagtail.embeds', 'wagtail.sites', 'wagtail.users', 'wagtail.snippets', 'wagtail.documents', 'wagtail.images', 'wagtail.search', 'wagtail.admin', 'wagtail.core', 'wagtail.contrib.postgres_search', 'wagtail.contrib.search_promotions', 'wagtail.contrib.table_block', 'wagtail.contrib.modeladmin', 'wagtail.api.v2', 'wagtailorderable', 'wagtail_modeltranslation', 'wagtail_modeltranslation.makemigrations', 'wagtail_modeltranslation.migrate', 'modelcluster', 'taggit', 'rest_framework', 'wagtailvideos', 'mpicms.base.apps.BaseAppConfig', 'mpicms.news.apps.NewsAppConfig', 'mpicms.personal.apps.PersonalAppConfig', 'mpicms.users.apps.UserAppConfig', 'mpicms.events.apps.EventAppConfig', 'mpicms.publications.apps.PublicationAppConfig']
INTERNAL_IPS = []
LANGUAGES = "(('en', 'English'), ('de', 'German'))"
LANGUAGES_BIDI = ['he', 'ar', 'ar-dz', 'fa', 'ur']
LANGUAGE_CODE = 'en'
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
LDAP_USER_NAMES = 'dc=user,dc=apps,dc=molgen,dc=mpg,dc=DE'
LOCALE_PATHS = ['/project/intranet/mpicms/locale']
LOCAL_APPS = ['mpicms.base.apps.BaseAppConfig', 'mpicms.news.apps.NewsAppConfig', 'mpicms.personal.apps.PersonalAppConfig', 'mpicms.users.apps.UserAppConfig', 'mpicms.events.apps.EventAppConfig', 'mpicms.publications.apps.PublicationAppConfig']
LOGGING = {'version': 1, 'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'formatters': {'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}}, 'handlers': {'mail_admins': {'level': 'ERROR', 'filters': ['require_debug_false'], 'class': 'django.utils.log.AdminEmailHandler'}, 'console': {'level': 'DEBUG', 'class': 'logging.StreamHandler', 'formatter': 'verbose'}}, 'loggers': {'': {'handlers': ['console'], 'level': 'DEBUG', 'propagate': True}, 'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}}
LOGGING_CONFIG = 'logging.config.dictConfig'
LOGIN_REDIRECT_URL = '/accounts/profile/'
LOGIN_URL = '/accounts/login/'
LOGOUT_REDIRECT_URL = None
MANAGERS = [('Donald Buczek', 'buczek@molgen.mpg.de')]
MEDIA_ROOT = '/project/intranet/mpicms/mpicms/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', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'wagtail.contrib.redirects.middleware.RedirectMiddleware']
MIGRATION_MODULES = {'sites': 'mpicms.contrib.sites.migrations'}
MODELTRANSLATION_CUSTOM_FIELDS = "('RichTextField', 'StreamField')"
MODELTRANSLATION_FALLBACK_LANGUAGES = "('en', 'de')"
MONTH_DAY_FORMAT = 'F j'
NUMBER_GROUPING = 0
PASSWORD_HASHERS = '********************'
PASSWORD_RESET_TIMEOUT = '********************'
PASSWORD_RESET_TIMEOUT_DAYS = '********************'
PREPEND_WWW = False
ROOT_DIR = '/project/intranet/mpicms'
ROOT_URLCONF = 'config.urls'
SECRET_KEY = '********************'
SECURE_BROWSER_XSS_FILTER = True
SECURE_CONTENT_TYPE_NOSNIFF = True
SECURE_HSTS_INCLUDE_SUBDOMAINS = True
SECURE_HSTS_PRELOAD = True
SECURE_HSTS_SECONDS = 60
SECURE_PROXY_SSL_HEADER = "('HTTP_X_FORWARDED_PROTO', 'https')"
SECURE_REDIRECT_EXEMPT = []
SECURE_REFERRER_POLICY = 'same-origin'
SECURE_SSL_HOST = None
SECURE_SSL_REDIRECT = True
SERVER_EMAIL = 'MPI <info@molgen.mpg.de>'
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 = True
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 = 'config.settings.production'
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 = ['/project/intranet/mpicms/mpicms/static']
STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
STATIC_ROOT = '/project/intranet/mpicms/staticfiles'
STATIC_URL = '/static/'
TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/project/intranet/mpicms/mpicms/templates'], 'OPTIONS': {'debug': False, 'loaders': [('django.template.loaders.cached.Loader', ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'])], 'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages']}}]
TEST_NON_SERIALIZED_APPS = []
TEST_RUNNER = 'django.test.runner.DiscoverRunner'
THIRD_PARTY_APPS = ['wagtail.contrib.forms', 'wagtail.contrib.redirects', 'wagtail.embeds', 'wagtail.sites', 'wagtail.users', 'wagtail.snippets', 'wagtail.documents', 'wagtail.images', 'wagtail.search', 'wagtail.admin', 'wagtail.core', 'wagtail.contrib.postgres_search', 'wagtail.contrib.search_promotions', 'wagtail.contrib.table_block', 'wagtail.contrib.modeladmin', 'wagtail.api.v2', 'wagtailorderable', 'wagtail_modeltranslation', 'wagtail_modeltranslation.makemigrations', 'wagtail_modeltranslation.migrate', 'modelcluster', 'taggit', 'rest_framework', 'wagtailvideos']
THOUSAND_SEPARATOR = ','
TIME_FORMAT = 'P'
TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']
TIME_ZONE = 'Europe/Berlin'
USE_I18N = True
USE_L10N = True
USE_THOUSAND_SEPARATOR = False
USE_TZ = True
USE_X_FORWARDED_HOST = False
USE_X_FORWARDED_PORT = False
WAGTAILAPI_LIMIT_MAX = '********************'
WAGTAILEMBEDS_FINDERS = [{'class': 'mpicms.base.oembed'}]
WAGTAILEMBEDS_RESPONSIVE_HTML = True
WAGTAILMODELTRANSLATION_LOCALE_PICKER_DEFAULT = "('de', 'en')"
WAGTAILMODELTRANSLATION_TRANSLATE_SLUGS = False
WAGTAILSEARCH_BACKENDS = {'default': {'BACKEND': 'wagtail.contrib.postgres_search.backend'}}
WAGTAILUSERS_PASSWORD_ENABLED = '********************'
WAGTAIL_PASSWORD_MANAGEMENT_ENABLED = '********************'
WAGTAIL_PASSWORD_RESET_ENABLED = '********************'
WAGTAIL_SITE_NAME = 'MPI CMS'
WAGTAIL_USER_EDIT_FORM = 'users.forms.UserEditForm'
WSGI_APPLICATION = 'config.wsgi.application'
X_FRAME_OPTIONS = 'DENY'
YEAR_MONTH_FORMAT = 'F Y'


Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant