Wagtail CMS, Awesome Python Content Management System, Built On Django Framework

Wagtail CMS is flexible and has its own permissions system. When the user submits a post, it can be submitted info to the administrator via email notification, and do version control to let the administrator know that the user has changed something or post something, it can do as CRM system / Multi-blogger system / official website

Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

For more Wagtail CMS information, please refer https://wagtail.io/

The tutorial is base on Python 3.6 + Django 1.11/2 +  Wagtail 1.11/2

Step 1: Use pip to install Wagtail

pip install wagtail

Assume you have already created a project and using Django

Step 2: Go to settings.py and fill in the following information

INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
#You may add......    
    'wagtail.wagtailforms',
    'wagtail.wagtailredirects',
    'wagtail.wagtailembeds',
    'wagtail.wagtailsites',
    'wagtail.wagtailusers',
    'wagtail.wagtailsnippets',
    'wagtail.wagtaildocs',
    'wagtail.wagtailimages',
    'wagtail.wagtailsearch',
    'wagtail.wagtailadmin',
    'wagtail.wagtailcore',


    'taggit',
    'modelcluster',

]
MIDDLEWARE = [
    'django.middleware.security.SecurityMiddleware',
    'django.contrib.sessions.middleware.SessionMiddleware',
    'django.middleware.common.CommonMiddleware',
    'django.middleware.csrf.CsrfViewMiddleware',
    'django.contrib.auth.middleware.AuthenticationMiddleware',
    'django.contrib.messages.middleware.MessageMiddleware',
    'django.middleware.clickjacking.XFrameOptionsMiddleware',
 #You may add......  
    'wagtail.wagtailcore.middleware.SiteMiddleware',
    'wagtail.wagtailredirects.middleware.RedirectMiddleware',
]
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
#Define your Website Name
WAGTAIL_SITE_NAME = 'My Example Site'

Step 3: Go to url.py and fill in the following information

from wagtail.wagtailadmin import urls as wagtailadmin_urls
from wagtail.wagtaildocs import urls as wagtaildocs_urls
from wagtail.wagtailcore import urls as wagtail_urls

urlpatterns = [
    ...
    url(r'^cms/', include(wagtailadmin_urls)),
    url(r'^documents/', include(wagtaildocs_urls)),
    url(r'^pages/', include(wagtail_urls)),
    ...
]

Step 4: Create Database

python manage.py migrate

Step 5: Create Superuser username/password

python manage.py createsuperuser

Step 6: Run Wagtail CMS

python manage.py runserver

Let’s view the Demo Video for Wagtail CMS