Database migration support for FeinCMS

FeinCMS itself does not come with any migrations. It is recommended that you add migrations for FeinCMS models yourself inside your project.

Django’s builtin migrations

This guide assumes that you are using both the page and the medialibrary module from FeinCMS. Simply leave out medialibrary if unused.

  • Create a new folder named migrate in your app with an empty inside.

  • Add the following configuration to your

        'page': '',
        'medialibrary': 'yourapp.migrate.medialibrary',


You must not use migrations as folder name for the FeinCMS migrations, otherwise Django will get confused.

  • Create initial migrations and apply them:

    ./ makemigrations medialibrary
    ./ makemigrations page
    ./ migrate