JavaScript powered frontend for Wagtail
Project description
Wagtail Shell
Wagtail Shell is an experimental frontend for Wagtail admin that converts it into a single-page-application and improvements to the left hand menu.
Features:
- No page reloads for general navigation!
- Left hand menu rewritten in React, with improved animations and a new collapsed mode
- Support for views written for different frontend frameworks, such as Django admin
- A new modal workflow UI that supports rendering any view in a modal
Coming soon:
- Ability to write new API-driven views entirely in JavaScript (using React, Vue, or something else)
What does it look like?
Installation
Please note that this project is still very much experimental, is not very well tested, and is likely to change in backwards-incompatible ways without notice
But if you'd like help this project by being an early tester, here's how to install!
Install wagtail-shell
with pip:
pip install wagtail-shell
Add it to INSTALLED_APPS
:
# settings.py
INSTALLED_APPS = [
# ...
# Must be above wagtail.admin
'wagtail_shell',
# ...
]
Decorate all Wagtail admin URLs with shell_enable
using Wagtail's decorate_urlpatterns
helper:
# urls.py
from django.conf.urls import include, url
from wagtail.admin import urls as wagtailadmin_urls
from wagtail.utils.urlpatterns import decorate_urlpatterns
from wagtail_shell.decorators import shell_enable
urlpatterns = decorate_urlpatterns([
# All URLs that you want to use the Wagtail menu on go here
# You can also add Django admin or custom views here if you want to!
url(r'^admin/', include(wagtailadmin_urls)),
], shell_enable) + [
# All other URLs here
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wagtail-shell-0.1.0.tar.gz
.
File metadata
- Download URL: wagtail-shell-0.1.0.tar.gz
- Upload date:
- Size: 3.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdb5a08b3f8bc455979f085440bb74c1d6e0e00a42c2d1e17e7b298d71992618 |
|
MD5 | d8b1c788aad4eafb1072a17dd4cd0eac |
|
BLAKE2b-256 | 0fb27085d560f5dbd9421dce415ec92faefa439f79f4134115267b333a12c791 |
File details
Details for the file wagtail_shell-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: wagtail_shell-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15f8fc5e0bd076b2750ce7459afc537e06a204c4f5a33616042de43c22105fda |
|
MD5 | b371216a37ea82cfcbc48250d0436226 |
|
BLAKE2b-256 | 785eb6d420efb8018a480d26c9eb4fa5a1eba74347aaaacf70b7f2a407ea1bb2 |