DjangoCMS Deleted Pages
This module is designed for the Django CMS content management system. Since CMS 4, the content of pages that users publish has been versioned. This makes it possible to revert changes that users have made. Unfortunately, this does not apply to deleted pages. Once a page is deleted, all content, including all its versions, is irretrievably gone. That is why there is this module that creates a copy of the page before deleting it and places it under the Trash page. This way, it is possible to restore a page that was deleted by mistake.
A page representing the trash can for deleted pages is created automatically when a page is deleted.
The trash can page has a special slug, which has the default value deleted-pages. This slug can be redefined in settings in the constant DELETED_PAGES_SLUG.
It is also possible to redefine the slug in Constance, if you have it installed. The name DELETED_PAGES_SLUG is also used there.
By redefining the slug, it is possible to store deleted pages in a different page than the current one.
Install
Install the package from pypi.org.
pip install djangocms-deleted-pages
Add into INSTALLED_APPS in your site settings.py:
INSTALLED_APPS = [
...
"djangocms_deleted_pages",
]
Extra settings
This value can be defined in both settings and Constance. Constance always takes precedence.
DELETED_PAGES_SLUG- Slug for Trash bin page. Default isdeleted-pages.
License
BSD-3-Clause
Metadata
Release files for djangocms-deleted-pages 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| djangocms_deleted_pages-1.0.1.tar.gz | 4.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| djangocms_deleted_pages-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / djangocms_deleted_pages-1.0.1.tar.gz
| Download URL | djangocms_deleted_pages-1.0.1.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ec3bb3a5fdf0689d9145b36c83bf3c7c3c48e1f64c225914d6f4bcc66766a63
|
|
BLAKE2b-256 checksum How to use checksums |
ead9dfbb4ffaad8e6851cdb5ac6a787dc878510a6b3a6607e8c4bb36ba14bc24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|
Release files / djangocms_deleted_pages-1.0.1-py3-none-any.whl
| Download URL | djangocms_deleted_pages-1.0.1-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c4c1f425326d184999a4375dea960cdb166afe5047d20f431a5de7313297080
|
|
BLAKE2b-256 checksum How to use checksums |
b1dfa305765c004d084d97c6c8204712cfe0308b3243be508f7da5f99f25fc19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.12.3
|