Skip to main content

Offer links to the admin user to create content under sections quickly.

Project description

Wagtail Quick Create

Wagtail Quick Create offers shortcut links to create objects from models specified in your settings file.

A panel is added to the admin home, offering a type:

Quick Create Panel example

Clicking a create link will offer a parent selection for the new item

Parent selection example

Configuration

Install using pip:

pip install wagtail-quick-create

After installing the module, add wagtailquickcreate to your installed apps in your settings file:

INSTALLED_APPS = [
    ...
    'wagtailquickcreate',
]

Also add the models you would like to create quick links for to your settings file as 'your_app_name.YourModelName':

EG:

WAGTAIL_QUICK_CREATE_PAGE_TYPES = ['news.NewsPage', 'events.EventPage']

If you want the Quick Create links panel to replace the wagtail summary panel, you can set this by adding the following to your settings

WAGTAIL_QUICK_CREATE_REPLACE_SUMMARY_PANEL = True

If you would like to offer image and or document links, this can also be done by specifying the following in your settings:

WAGTAIL_QUICK_CREATE_DOCUMENTS = True
WAGTAIL_QUICK_CREATE_IMAGES = True

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail-quick-create-1.0.5.tar.gz (4.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page