nephila / django-ckeditor-filebrowser-filer

A django-filer based CKEditor filebrowser
BSD 3-Clause "New" or "Revised" License
24 stars 42 forks source link

RuntimeError: Model class menus.models.CacheKey doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. #16

Closed bee-keeper closed 8 years ago

bee-keeper commented 8 years ago

Hi there,

I have followed the install instructions with the deps below. I get the error list in the title.

Django==1.9.7
django-filer==1.2.0
django-ckeditor==5.0.3
django-ckeditor-filebrowser-filer==0.1.1.post1
File "/vagrant/app/my-project/urls.py", line 53, in <module>
    url(r'^filebrowser_filer/', include('ckeditor_filebrowser_filer.urls')),
  File "/home/vagrant/my-project/local/lib/python2.7/site-packages/django/conf/urls/__init__.py", line 52, in include
    urlconf_module = import_module(urlconf_module)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/vagrant/my-project/local/lib/python2.7/site-packages/ckeditor_filebrowser_filer/urls.py", line 3, in <module>
    from .views import  *
  File "/home/vagrant/my-project/local/lib/python2.7/site-packages/ckeditor_filebrowser_filer/views.py", line 7, in <module>
    from cmsplugin_filer_image.models import ThumbnailOption
  File "/home/vagrant/my-project/local/lib/python2.7/site-packages/cmsplugin_filer_image/models.py", line 12, in <module>
    from cms.models import CMSPlugin
  File "/home/vagrant/my-project/local/lib/python2.7/site-packages/cms/models/__init__.py", line 3, in <module>
    from .pagemodel import *  # nopyflakes
  File "/home/vagrant/my-project/local/lib/python2.7/site-packages/cms/models/pagemodel.py", line 26, in <module>
    from menus.menu_pool import menu_pool
  File "/home/vagrant/my-project/local/lib/python2.7/site-packages/menus/menu_pool.py", line 20, in <module>
    from menus.models import CacheKey
  File "/home/vagrant/my-project/local/lib/python2.7/site-packages/menus/models.py", line 30, in <module>
    class CacheKey(models.Model):
  File "/home/vagrant/my-project/local/lib/python2.7/site-packages/django/db/models/base.py", line 102, in __new__
    "INSTALLED_APPS." % (module, name)
RuntimeError: Model class menus.models.CacheKey doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
yakky commented 8 years ago

@bee-keeper please use version 0.2b12 (https://pypi.python.org/pypi/django-ckeditor-filebrowser-filer/0.2.0b12)

bee-keeper commented 8 years ago

Ok thanks. Works well!