-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
djangocms_bootstrap4.contrib.bootstrap4_picture returns errors on publish #87
Comments
@gramimoss are you still experiencing that issue using djangocms-bootstrap4 1.4.0? |
I found out that the django-cms installs djangocms_picture 1.?.? but the bootstrap requires version 2.?.? I manually updated djangocms_picture and it's working now. the pip dependency just needs to be fixed. |
I don't think that this is a problem in your code. I think it's user error but it's nice to have this issue logged so that if anyone else has this problem they can just make sure they do "pip install djangocms-picture --upgrade" |
I agree @gramimoss thank you very much for the feedback :) |
I've already got a page with a picture plugin block. And I get the same error only on this page. Here is the workflow to repeat the error:
|
@skabbit please uninstall all previous djangocms-picture plugins. When installing djangocms-bootstrap4 picture is replaced with bootstraps image, given you have not added any previous picture plugins. |
I am getting this error, which is close to the error in this thread. Any idea how this can be fixed? |
Same issue here, I have a full site with the default djangocms-picture my temp solution till I migrate the site is to: |
I removed |
I've just installed a fresh djangocms and a djangocms_bootstrap4 plugin and I have the same error displayed. |
Hi All
I was trying your addon to Django-CMS and what to see if I could use it but sadly after a new install and creating a first page it doesn't allow me to publish this is my finding and hoping someone understands my crazy brain and knows how to fix this.
the error I get is the following.
At first I thought this was the Whole Bootstrap4 addon but it seems that if I remove "djangocms_bootstrap4.contrib.bootstrap4_picture" out of the INSTALLED_APPS it works fine but I just don't have pictures working.
I wonder if it's conflicting with the djangocms-picture addon or is it something else.
I also think I got the tiny black box error on the page, well most of what I could highlight before it runs away.
KeyError at /en/admin/cms/page/1/en/publish/ 'PicturePlugin' Request Method: POST Request URL: http://127.0.0.1:8000/en/admin/cms/page/1/en/publish/ Django Version: 1.11.20 Python Executable: /home/graeme/PycharmProjects/mosberger/venv/bin/python Python Version: 3.6.7 Python Path: ['/home/graeme/PycharmProjects/mosberger/mysite', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages', '/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/setuptools-40.8.0-py3.6.egg', '/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/pip-19.0.3-py3.6.egg'] Server time: Tue, 30 Apr 2019 08:07:01 +0100 Installed Applications: ['djangocms_admin_style', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'django.contrib.messages', 'cms', 'menus', 'sekizai', 'treebeard', 'djangocms_text_ckeditor', 'filer', 'easy_thumbnails', 'djangocms_column', 'djangocms_file', 'djangocms_style', 'djangocms_snippet', 'djangocms_googlemap', 'djangocms_video', 'djangocms_icon', 'djangocms_link', 'djangocms_picture', 'djangocms_bootstrap4', 'djangocms_bootstrap4.contrib.bootstrap4_alerts', 'djangocms_bootstrap4.contrib.bootstrap4_badge', 'djangocms_bootstrap4.contrib.bootstrap4_card', 'djangocms_bootstrap4.contrib.bootstrap4_carousel', 'djangocms_bootstrap4.contrib.bootstrap4_collapse', 'djangocms_bootstrap4.contrib.bootstrap4_content', 'djangocms_bootstrap4.contrib.bootstrap4_grid', 'djangocms_bootstrap4.contrib.bootstrap4_jumbotron', 'djangocms_bootstrap4.contrib.bootstrap4_link', 'djangocms_bootstrap4.contrib.bootstrap4_listgroup', 'djangocms_bootstrap4.contrib.bootstrap4_media', 'djangocms_bootstrap4.contrib.bootstrap4_picture', 'djangocms_bootstrap4.contrib.bootstrap4_tabs', 'djangocms_bootstrap4.contrib.bootstrap4_utilities', 'mysite'] Installed Middleware: ['cms.middleware.utils.ApphookReloadMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.language.LanguageCookieMiddleware'] Traceback: File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner 41. response = get_response(request) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response 187. response = self.process_exception_by_middleware(e, request) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response 185. response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapped_view 149. response = view_func(request, *args, **kwargs) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/django/views/decorators/cache.py" in _wrapped_view_func 57. response = view_func(request, *args, **kwargs) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/django/contrib/admin/sites.py" in inner 224. return view(request, *args, **kwargs) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/django/utils/decorators.py" in _wrapper 67. return bound_func(*args, **kwargs) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/django/views/decorators/http.py" in inner 40. return func(request, *args, **kwargs) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/django/utils/decorators.py" in bound_func 63. return func.__get__(self, type(self))(*args2, **kwargs2) File "/usr/lib/python3.6/contextlib.py" in inner 52. return func(*args, **kwds) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/cms/admin/pageadmin.py" in publish_page 1125. all_published = page.publish(language) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/cms/models/pagemodel.py" in publish 987. self._copy_contents(public_page, language) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/cms/models/pagemodel.py" in _copy_contents 633. placeholder.copy_plugins(target_placeholder, language=language) File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/cms/models/placeholdermodel.py" in copy_plugins 580. root_plugin=root_plugin, File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/cms/utils/plugins.py" in copy_plugins_to_placeholder 190. for source_plugin in get_bound_plugins(plugins): File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/cms/utils/plugins.py" in get_bound_plugins 242. plugin_model = get_plugin(plugin_type).model File "/home/graeme/PycharmProjects/mosberger/venv/lib/python3.6/site-packages/cms/plugin_pool.py" in get_plugin 189. return self.plugins[name] Exception Type: KeyError at /en/admin/cms/page/1/en/publish/ Exception Value: 'PicturePlugin' Request information: USER: graeme GET: No GET data POST: placeholders[] = '2' csrfmiddlewaretoken = 'GCFZWVa1aQXgZUByYxSWV4SNp1uLbYcF33Z6QmsVs0AxthOFR95tW72eZMT4gwJ7' FILES: No FILES data COOKIES: csrftoken = 'YcdMciPbsIs3FieZIwj6HOiNiXrLmEO1lDxT6J75KS5k9Fr6B8wDIRseSIQ4rclt' django_language = 'en' sessionid = 'n37hv7ktm0477wenj1irwjx0r7sfn63w' META: ANT_HOME = '/usr/local/ant' CLUTTER_BACKEND = 'x11' COMPIZ_CONFIG_PROFILE = 'mate' CONTENT_LENGTH = '105' CONTENT_TYPE = 'application/x-www-form-urlencoded; charset=UTF-8' CSRF_COOKIE = 'YcdMciPbsIs3FieZIwj6HOiNiXrLmEO1lDxT6J75KS5k9Fr6B8wDIRseSIQ4rclt' DBUS_SESSION_BUS_ADDRESS = 'unix:path=/run/user/1000/bus,guid=9580930f425d45fc9a6a22c75cbd8032' DBUS_STARTER_ADDRESS = 'unix:path=/run/user/1000/bus,guid=9580930f425d45fc9a6a22c75cbd8032' DBUS_STARTER_BUS_TYPE = 'session' DEFAULTS_PATH = '/usr/share/gconf/mate.default.path' DESKTOP_SESSION = 'mate' DISPLAY = ':0' DJANGO_SETTINGS_MODULE = 'mysite.settings' GATEWAY_INTERFACE = 'CGI/1.1' GDMSESSION = 'mate' GDM_LANG = 'en_GB' GPG_AGENT_INFO = '/run/user/1000/gnupg/S.gpg-agent:0:1' GTK_MODULES = 'gail:atk-bridge' GTK_OVERLAY_SCROLLING = '0' HOME = '/home/graeme' HTTP_ACCEPT = '*/*' HTTP_ACCEPT_ENCODING = 'gzip, deflate' HTTP_ACCEPT_LANGUAGE = 'en-GB,en;q=0.5' HTTP_CONNECTION = 'keep-alive' HTTP_COOKIE = 'csrftoken=YcdMciPbsIs3FieZIwj6HOiNiXrLmEO1lDxT6J75KS5k9Fr6B8wDIRseSIQ4rclt; django_language=en; sessionid=n37hv7ktm0477wenj1irwjx0r7sfn63w' HTTP_DNT = '1' HTTP_HOST = '127.0.0.1:8000' HTTP_REFERER = 'http://127.0.0.1:8000/en/?edit' HTTP_USER_AGENT = 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0' HTTP_X_REQUESTED_WITH = 'XMLHttpRequest' IM_CONFIG_PHASE = '1' INVOCATION_ID = '75640522371346b6af716ba7069866cc' JAVA_HOME = '/usr/lib/jvm/jdk-11.0.1' JOURNAL_STREAM = '9:27513' LANG = 'en_GB.UTF-8' LANGUAGE = 'en_GB:en' LESSCLOSE = '/usr/bin/lesspipe %s %s' LESSOPEN = '| /usr/bin/lesspipe %s' LOGNAME = 'graeme' 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:*.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:' MANAGERPID = '1188' MANDATORY_PATH = '/usr/share/gconf/mate.mandatory.path' MATE_DESKTOP_SESSION_ID = 'this-is-deprecated' OLDPWD = '/home/graeme/PycharmProjects/mosberger' PATH = '/home/graeme/PycharmProjects/mosberger/venv/bin:/home/graeme/.local/bin:/usr/lib/jvm/jdk-11.0.1/bin:/usr/local/ant/bin:/usr/local/android-sdk/tools:/usr/local/android-sdk/tools/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/jvm/jdk-11.0.1/bin' PATH_INFO = '/en/admin/cms/page/1/en/publish/' PS1 = '(venv) \\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\w\\[\\033[00m\\]\\$ ' PWD = '/home/graeme/PycharmProjects/mosberger/mysite' QT_ACCESSIBILITY = '1' QT_AUTO_SCREEN_SCALE_FACTOR = '0' QT_QPA_PLATFORMTHEME = 'qt5ct' QT_SCALE_FACTOR = '1' QUERY_STRING = '' REMOTE_ADDR = '127.0.0.1' REMOTE_HOST = '' REQUEST_METHOD = 'POST' RUN_MAIN = 'true' SCRIPT_NAME = '' SERVER_NAME = 'localhost' SERVER_PORT = '8000' SERVER_PROTOCOL = 'HTTP/1.1' SERVER_SOFTWARE = 'WSGIServer/0.2' SESSION_MANAGER = 'local/graeme-Latitude-E5440:@/tmp/.ICE-unix/1209,unix/graeme-Latitude-E5440:/tmp/.ICE-unix/1209' SHELL = '/bin/bash' SHLVL = '1' SSH_AGENT_PID = '1552' SSH_AUTH_SOCK = '/run/user/1000/keyring/ssh' TERM = 'xterm-256color' TERMINAL_EMULATOR = 'JetBrains-JediTerm' TZ = 'Europe/London' USER = 'graeme' VIRTUAL_ENV = '/home/graeme/PycharmProjects/mosberger/venv' XAUTHORITY = '/home/graeme/.Xauthority' XDG_CONFIG_DIRS = '/etc/xdg/xdg-mate:/etc/xdg' XDG_CURRENT_DESKTOP = 'MATE' XDG_DATA_DIRS = '/usr/share/mate:/home/graeme/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share' XDG_GREETER_DATA_DIR = '/var/lib/lightdm-data/graeme' XDG_RUNTIME_DIR = '/run/user/1000' XDG_SEAT = 'seat0' XDG_SEAT_PATH = '/org/freedesktop/DisplayManager/Seat0' XDG_SESSION_DESKTOP = 'mate' XDG_SESSION_ID = 'c2' XDG_SESSION_PATH = '/org/freedesktop/DisplayManager/Session0' XDG_SESSION_TYPE = 'x11' XDG_VTNR = '7' _ = '/home/graeme/PycharmProjects/mosberger/venv/bin/python' wsgi.errors = <_io.TextIOWrapper name='' mode='w' encoding='UTF-8'> wsgi.file_wrapper = '' wsgi.input = <_io.BufferedReader name=5> wsgi.multiprocess = False wsgi.multithread = True wsgi.run_once = False wsgi.url_scheme = 'http' wsgi.version = '(1, 0)' Settings: Using settings module mysite.settings ABSOLUTE_URL_OVERRIDES = {} ADMINS = [] ALLOWED_HOSTS = [] APPEND_SLASH = True AUTHENTICATION_BACKENDS = ['django.contrib.auth.backends.ModelBackend'] AUTH_PASSWORD_VALIDATORS = '********************' AUTH_USER_MODEL = 'auth.User' BASE_DIR = '/home/graeme/PycharmProjects/mosberger/mysite' CACHES = {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} CACHE_MIDDLEWARE_ALIAS = 'default' CACHE_MIDDLEWARE_KEY_PREFIX = '********************' CACHE_MIDDLEWARE_SECONDS = 600 CMS_LANGUAGES = {1: [{'code': 'en', 'name': 'en', 'redirect_on_fallback': True, 'public': True, 'hide_untranslated': False, 'fallbacks': []}], 'default': {'redirect_on_fallback': True, 'public': True, 'hide_untranslated': False}, : True} CMS_PERMISSION = True CMS_PLACEHOLDER_CONF = {} CMS_TEMPLATES = "(('fullwidth.html', 'Fullwidth'), ('sidebar_left.html', 'Sidebar Left'), ('sidebar_right.html', 'Sidebar Right'))" CSRF_COOKIE_AGE = 31449600 CSRF_COOKIE_DOMAIN = None CSRF_COOKIE_HTTPONLY = False CSRF_COOKIE_NAME = 'csrftoken' CSRF_COOKIE_PATH = '/' 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': {'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': 'localhost', 'NAME': 'project.db', 'PASSWORD': '********************', 'PORT': '', 'USER': '', 'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'OPTIONS': {}, 'TIME_ZONE': None, 'TEST': {'CHARSET': None, 'COLLATION': None, 'NAME': None, 'MIRROR': None}}} DATABASE_ROUTERS = [] DATA_DIR = '/home/graeme/PycharmProjects/mosberger/mysite' DATA_UPLOAD_MAX_MEMORY_SIZE = 2621440 DATA_UPLOAD_MAX_NUMBER_FIELDS = 1000 DATETIME_FORMAT = 'N j, Y, P' DATETIME_INPUT_FORMATS = ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] DATE_FORMAT = 'N j, Y' DATE_INPUT_FORMATS = ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] DEBUG = True DEBUG_PROPAGATE_EXCEPTIONS = False DECIMAL_SEPARATOR = '.' DEFAULT_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@localhost' DEFAULT_INDEX_TABLESPACE = '' DEFAULT_TABLESPACE = '' DISALLOWED_USER_AGENTS = [] EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_HOST = 'localhost' EMAIL_HOST_PASSWORD = '********************' EMAIL_HOST_USER = '' EMAIL_PORT = 25 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 = False FILER_IMAGE_MODEL = 'filer.Image' 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' IGNORABLE_404_URLS = [] INSTALLED_APPS = ['djangocms_admin_style', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'django.contrib.messages', 'cms', 'menus', 'sekizai', 'treebeard', 'djangocms_text_ckeditor', 'filer', 'easy_thumbnails', 'djangocms_column', 'djangocms_file', 'djangocms_style', 'djangocms_snippet', 'djangocms_googlemap', 'djangocms_video', 'djangocms_icon', 'djangocms_link', 'djangocms_picture', 'djangocms_bootstrap4', 'djangocms_bootstrap4.contrib.bootstrap4_alerts', 'djangocms_bootstrap4.contrib.bootstrap4_badge', 'djangocms_bootstrap4.contrib.bootstrap4_card', 'djangocms_bootstrap4.contrib.bootstrap4_carousel', 'djangocms_bootstrap4.contrib.bootstrap4_collapse', 'djangocms_bootstrap4.contrib.bootstrap4_content', 'djangocms_bootstrap4.contrib.bootstrap4_grid', 'djangocms_bootstrap4.contrib.bootstrap4_jumbotron', 'djangocms_bootstrap4.contrib.bootstrap4_link', 'djangocms_bootstrap4.contrib.bootstrap4_listgroup', 'djangocms_bootstrap4.contrib.bootstrap4_media', 'djangocms_bootstrap4.contrib.bootstrap4_picture', 'djangocms_bootstrap4.contrib.bootstrap4_tabs', 'djangocms_bootstrap4.contrib.bootstrap4_utilities', 'mysite'] INTERNAL_IPS = [] LANGUAGES = "(('en', 'en'),)" LANGUAGES_BIDI = ['he', 'ar', 'fa', 'ur'] LANGUAGE_CODE = 'en' LANGUAGE_COOKIE_AGE = None LANGUAGE_COOKIE_DOMAIN = None LANGUAGE_COOKIE_NAME = 'django_language' LANGUAGE_COOKIE_PATH = '/' LOCALE_PATHS = [] LOGGING = {} LOGGING_CONFIG = 'logging.config.dictConfig' LOGIN_REDIRECT_URL = '/accounts/profile/' LOGIN_URL = '/accounts/login/' LOGOUT_REDIRECT_URL = None MANAGERS = [] MEDIA_ROOT = '/home/graeme/PycharmProjects/mosberger/mysite/media' MEDIA_URL = '/media/' MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage' MIDDLEWARE = ['cms.middleware.utils.ApphookReloadMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware', 'cms.middleware.language.LanguageCookieMiddleware'] MIDDLEWARE_CLASSES = ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware'] MIGRATION_MODULES = {} MONTH_DAY_FORMAT = 'F j' NUMBER_GROUPING = 0 PASSWORD_HASHERS = '********************' PASSWORD_RESET_TIMEOUT_DAYS = '********************' PREPEND_WWW = False ROOT_URLCONF = 'mysite.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 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_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 = 'mysite.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 = "('/home/graeme/PycharmProjects/mosberger/mysite/mysite/static',)" STATICFILES_FINDERS = ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.StaticFilesStorage' STATIC_ROOT = '/home/graeme/PycharmProjects/mosberger/mysite/static' STATIC_URL = '/static/' TEMPLATES = [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/graeme/PycharmProjects/mosberger/mysite/mysite/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.i18n', 'django.template.context_processors.debug', 'django.template.context_processors.request', 'django.template.context_processors.media', 'django.template.context_processors.csrf', 'django.template.context_processors.tz', 'sekizai.context_processors.sekizai', 'django.template.context_processors.static', 'cms.context_processors.cms_settings'], 'loaders': ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader']}}] TEST_NON_SERIALIZED_APPS = [] TEST_RUNNER = 'django.test.runner.DiscoverRunner' THOUSAND_SEPARATOR = ',' THUMBNAIL_PROCESSORS = "('easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'filer.thumbnail_processors.scale_and_crop_with_subject_location', 'easy_thumbnails.processors.filters')" TIME_FORMAT = 'P' TIME_INPUT_FORMATS = ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] TIME_ZONE = 'Europe/London' USE_ETAGS = False 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 = None 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. | 500 Internal Server Error
The text was updated successfully, but these errors were encountered: