divio / djangocms-rest-api

A REST API for django CMS
MIT License
51 stars 18 forks source link

Got en error #19

Closed markolofsen closed 6 years ago

markolofsen commented 6 years ago

Got an error:

RuntimeError: Model class cmsplugin_filer_image.models.FilerImage doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.

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_link',
    'djangocms_picture',
    'djangocms_style',
    'djangocms_snippet',
    'djangocms_googlemap',
    'djangocms_video',
    'stock',
)

THIRD_PARTY_APPS = (
    'rest_framework',
    'rest_framework.authtoken',
    'djangocms_rest_api',

    'accounts',
    'teams',

    'webpack_loader',
    'recaptcha',
    'bootstrapform',
    'corsheaders',
)