Skip to main content

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

Project description

Wagtail Quick Create

CircleCI

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

Note on parent pages

Wagtailquickcreate needs the parent_page_types set on the model you wish to include so it can successfully provide the parent page selection. If this isn't specified, you will likely see every page offered as a parent, this will not work as it's looking up pages using wagtail.core.models.Page and this core wagtail class has is_creatable = False

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

Credits/Authors

Concept created by Kate Statton - NYPR @katestatton

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-2.0.0.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wagtail_quick_create-2.0.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file wagtail-quick-create-2.0.0.tar.gz.

File metadata

  • Download URL: wagtail-quick-create-2.0.0.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for wagtail-quick-create-2.0.0.tar.gz
Algorithm Hash digest
SHA256 e494535afe42f3d6aa29699b52049004cf39058b6e5ad772dc3ef235c36d1e0e
MD5 b9bd8042412b14f067bbdc892e6c33b1
BLAKE2b-256 fa39a229f51e23049300e9d6bc01cbacbe228bbd4e8294de80312637b50a95dc

See more details on using hashes here.

File details

Details for the file wagtail_quick_create-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: wagtail_quick_create-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

File hashes

Hashes for wagtail_quick_create-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bf87a0962e1c641b94e10828764abd53229cf3a5ef010c94f3843b63a2fbb815
MD5 76c92126106c939f950c7740fd05a8e2
BLAKE2b-256 a4fdc64e6beeb5d08fb6e27ca6729eb34ba22c184330fced53da03dced892fb1

See more details on using hashes here.

Supported by

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