Tutorial Summary

In this video we're going to explore how to add a new app to our Wagtail CMS website, how to install it, and how to add the custom page model. We'll be creating a brand new Wagtail Page from scratch.

If videos aren't your cup of tea, the instructions to create a new app inside your Wagtail CMS site are below. Run these two commands in your terminal.

$ pipenv shell 
$ python3 manage.py startapp flex

Lastly you'll need to install the "flex" module into your Wagtail site. Open base.py and add 'flex', to your installed apps. It'll look something like this:

    # ....

Then you can run your server with python3 manage.py runserver

Don't forget, when you create your new Page model, you'll need to run python3 manage.py makemigrations and python3 manage.py migrate

The Git Commit

If you want to see all the changes from this lesson, head on over to this GitHub commit.

Sign up for our newsletter

Get notified about new lessons :)

Our Sites