-
Notifications
You must be signed in to change notification settings - Fork 85
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
Plugin carousel as specified in cmsplugin_cascade.bootstrap3.settings.CMSPLUGIN_CASCADE_PLUGINS could not be loaded #52
Comments
The setting names have changed. CMS CascadeCMS_PLACEHOLDER_CONF = { CMS_CASCADE_PLUGINS = ('cmsplugin_cascade.bootstrap3', ) CMS_CASCADE_LEAF_PLUGINS = (
|
In case of trouble, please always refer to the reference implementation. I always use it to test against, in case one of my customers runs into a problem. |
I'm new in this matter of Django and Django CMS and I have the same error, what do you mean with "refer to the reference implementation", or what could be the cause of this? Thanks in advance |
With "refer to the reference implementation" I mean to start with the example project. |
Ah, I see the problem (I think).. I changed in bootstrap3.settings I changed CASCADE_PLUGIN for CMSPLUGIN_CASCADE_PLUGIN (which is what the error says) and then when I tried to run it, it gave the error django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet. According to what I've found, AppRegistryNotReady is something introduced in django 1.7, therefore the problem is that this is not made for Django 1.7.x, which is what I'm using for my project. Anytime soon releasing a version 1.7 compatible? |
Hmm, I was able to run it with django-1.7. |
I just tried with 1.7.3 and it works just as with 1.6.8. |
I'll check it out, thank you! |
I made a clean install and using the link you gave me it works. If I make a install using Django 1.7.3 and not using django_select2 it gives me the following warning: System check identified some issues: WARNINGS: HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You should ensure your tests are all running & behaving as expected. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more information.If I install it like I want it, it gives me the same "django.core.exceptions.AppRegistryNotReady: Models aren't loaded yet" error. I place my requirements and my settings.py just in case: REQUIREMENTS.TXT requests==2.5.1SETTINGS.PY For more information on this file, see For the full list of settings and their values, see Build paths inside the project like this: os.path.join(BASE_DIR, ...)import os Quick-start development settings - unsuitable for productionSee https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/SECURITY WARNING: keep the secret key used in production secret!SECRET_KEY = '6o*0bl7nmzc3@+#2cedc!yu=b_-=gm6z7-=lbu6@b@1j!e#_o)' SECURITY WARNING: don't run with debug turned on in production!DEBUG = True TEMPLATE_DEBUG = True ALLOWED_HOSTS = [] Application definitionROOT_URLCONF = 'cmsApp.urls' WSGI_APPLICATION = 'cmsApp.wsgi.application' Databasehttps://docs.djangoproject.com/en/1.7/ref/settings/#databasesInternationalizationhttps://docs.djangoproject.com/en/1.7/topics/i18n/LANGUAGE_CODE = 'en' TIME_ZONE = 'America/Caracas' USE_I18N = True USE_L10N = True USE_TZ = True Static files (CSS, JavaScript, Images)https://docs.djangoproject.com/en/1.7/howto/static-files/STATIC_URL = '/static/' STATICFILES_DIRS = ( TEMPLATE_LOADERS = ( MIDDLEWARE_CLASSES = ( TEMPLATE_CONTEXT_PROCESSORS = ( TEMPLATE_DIRS = ( INSTALLED_APPS = ( LANGUAGES = ( CMS_LANGUAGES = { CMS_TEMPLATES = ( CMSPLUGIN_CASCADE_PLUGINS = ('cmsplugin_cascade.link','cmsplugin_cascade.bootstrap3',) CMS_CASCADE_LEAF_PLUGINS = ( CMS_PERMISSION = True CMS_PLACEHOLDER_CONF = {} DATABASES = { MIGRATION_MODULES = { THUMBNAIL_PROCESSORS = ( THUMBNAIL_HIGH_RESOLUTION = False THUMBNAIL_PRESERVE_EXTENSIONS = True THUMBNAIL_OPTIMIZE_COMMAND = { #THUMBNAIL_DEBUG = True |
I'm having the same AppRegistryNotReady issue with Django 1.7.1. Shall I open a separate issue for this? (datamantics_com)[jvlek@orochimaru datamantics.com]$ cat requirements.txt (datamantics_com)[jvlek@orochimaru datamantics.com]$ ./manage.py migrate /home/jvlek/.virtualenvs/datamantics_com/lib/python3.4/site-packages/cms/models/managers.py:15: RemovedInDjango18Warning: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): |
The below error message took me here.
And I found that this is because of the "filer.fields.image."
Just installing "django-file" package solved the problem in my case.
|
Sorry about that. |
Should django-filer be declared as a dependency anywhere? |
Yes, for everything using the Image class. |
I am closing this, even though my opinion still is that we should declare dependencies in |
Thank you for this terrific api.
I'm having trouble activating some of the plugins, particularly the carousel, image, and picture. In my settings.py, if I activate all plugins with:
CMSPLUGIN_CASCADE_PLUGINS = ('cmsplugin_cascade.bootstrap3',)
it throws the error in the title of this post. When I specify specific plugins such as buttons, collapsable, and container, it works, but it doesn't work for carousel, picture, and images.
The text was updated successfully, but these errors were encountered: