LearnWagtail.com has a new look! A new course is coming, too! 🥳

Tutorial Wagtail Version: 2.x

Setting up Django Shell, Shell Plus and IPython

Django comes with a python shell where you can import your models and test things out. It's not great out of the box, but we can make it better by using shell_plus (installation instructions are inside) and letting IPython take care of interactivity. This is all helpful for learning Wagtail.

Using Django's shell and it's interactive siblings (ipython and shell_plus) have allowed me to learn Wagtail at a faster rate than reading the docs and the source code. It also let me explore methods and properties that aren't documented or talked about too often.

There are a lot of options, so unfortunately I can't make a tutorial on every single Wagtail Page option, but I encourage you to take a look.

In this video I'll show you how to find them all, too.

Install Instructions
``` pipenv shell pip install django-extensions pip install ipython ```
``` # dev.py INSTALLED_APPS = INSTALLED_APPS + [ # ... 'django_extensions', ] ```
``` python3 manage.py shell_plus --ipython ```

Related tutorials

Get notified about new Wagtail content.