Pseudo CMS
A real basic, fake kind of CMS. Allows you to add just a tiny bit of dynamic content to your pages.
Overview
I often find as a developer I want full control of the page, but there are small pieces I want a non-technical person to be able to change, or myself be able to change without additional code / deployment.
This allows you to let a user customize the title tag, meta description, page title, page body, and a single page image. It will only allow you to save a content model to an existing url path that is resolvable in your django project.
Installation
pip install django-pseudo-cms
Usage
add pseudo_cms to your INSTALLED_APPS setting.
If you want to change the image and/or thumbnail size of the page’s content image, add the following directives to your settings as they apply.
PSEUDO_CMS_IMAGE_SIZE = (300, 300) PSEUDO_CMS_THUMBNAIL_SIZE = (150, 150)
The tuple refers to (width, height). If you’d like to force the image to a particular size without maintaining its aspect ratio, add a third item True to your tuple.
Metadata
Release files for django-pseudo-cms 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-pseudo-cms-0.5.0.tar.gz | 8.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_pseudo_cms-0.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.0 kB
Release files / django-pseudo-cms-0.5.0.tar.gz
| Download URL | django-pseudo-cms-0.5.0.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fe8aabff85eedddafb69ef5d44906b1dc6ae6ddf9f9ea219c2947f5b27d8baed
|
|
BLAKE2b-256 checksum How to use checksums |
9a5239b109a52bf026bd6e088591264010eca3d2285f4db0b04a78c71dc5bd70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|
Release files / django_pseudo_cms-0.5.0-py3-none-any.whl
| Download URL | django_pseudo_cms-0.5.0-py3-none-any.whl |
|---|---|
| Size | 14.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e60e711ca4f8e1206731ba417d4fd1e26c715e0991dc2d677cc3680c263e64b
|
|
BLAKE2b-256 checksum How to use checksums |
eac6b3e5b6b9800fbbcee5cbeceeeb5711bc350f1090dec66b88c67a7dc10dd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2
|