Skip to main content

A Simple application to help add dynamic content to pages.

Project description

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.

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

django-pseudo-cms-0.5.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

django_pseudo_cms-0.5.0-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file django-pseudo-cms-0.5.0.tar.gz.

File metadata

  • Download URL: django-pseudo-cms-0.5.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for django-pseudo-cms-0.5.0.tar.gz
Algorithm Hash digest
SHA256 fe8aabff85eedddafb69ef5d44906b1dc6ae6ddf9f9ea219c2947f5b27d8baed
MD5 e4ff9c1d8812dbf8f0ba4e32e7e2e1af
BLAKE2b-256 9a5239b109a52bf026bd6e088591264010eca3d2285f4db0b04a78c71dc5bd70

See more details on using hashes here.

File details

Details for the file django_pseudo_cms-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: django_pseudo_cms-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 14.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for django_pseudo_cms-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e60e711ca4f8e1206731ba417d4fd1e26c715e0991dc2d677cc3680c263e64b
MD5 be4aee9c0c4e650e6aac5c03bc5fdaae
BLAKE2b-256 eac6b3e5b6b9800fbbcee5cbeceeeb5711bc350f1090dec66b88c67a7dc10dd8

See more details on using hashes here.

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