Skip to main content

MezzeCMS

Mezze is a ready-to-go, open-source, headless CMS written in Python and Django.

Unlike many other Python/Django CMSes, Mezze doesn't require any coding to get started, but you can drop in to Django if you need to customise things.

Installation

pip install mezzecms
mezze migrate
mezze createsuperuser
mezze runserver

This will create an SQLite database in the local folder, create a user and boot up Mezze on localhost port 8000.

Using PostgreSQL

You can pass in the URL to a PostgreSQL database using a DATABASE_URL environment variable:

export DATABASE_URL=postgresql://localhost/mezzedb
mezze migrate
mezze createsuperuser
mezze runserver

Design of Mezze

Built-in types

Mezze comes with a selection of pre-built content types that are built in to the base system and cannot be changed. You can either use these types directly or create custom types based on them that are extended with custom fields. All of these types are optional and can be disabled if not required.

  • Content - The base type for all content, this includes some metadata such as the title, locale, status, and more
    • Page - The base type for all web content. This adds a 'path' field giving the content a URL.
      • Post - Represents point-in-time content such as blog posts, news articles, video pages, etc.
      • Event - Represents event information and adds calendar export functionality
      • Person - Represents a person
      • Product - Represents a product for sale
    • Asset - The base type for embeddable content, these are displayed in the "Assets" section of the UI
      • FileAsset - The base type for all media types that are uploaded to the CMS
        • Image - Represents images uploaded to the CMS, includes extra fields for image size. Provides functions for resizing and cropping the images
        • Document - Represents multi-page document files such as PDFs
      • MuxVideo - Represents a video uploaded to Mux.io
      • SocialMediaPost - Represents any post uploaded to a social media platform

Design note: We decided to provide these types out of the box so that we can provide a standard base for extensions to integrate with. For example, a Shopify extension would be able to know exactly what the base fields of Product are.

Metadata

Release files for mezza 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mezza 0.1.0
File Size Uploaded
mezza-0.1.0.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mezza 0.1.0
File Interpreter ABI Platform
mezza-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / mezza-0.1.0.tar.gz

Download URL mezza-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fb1f6ee7eb95512c0cbe8afc229c80a27bdc5fdc3b2fa447d43f316bb1b69627
BLAKE2b-256 checksum
How to use checksums
2a30828b1d9b0fd7ae511fe8cd559baf0a29a7344b4ddb22e06476f84abf8ba0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.6 Linux/6.5.0-9-generic

Release files / mezza-0.1.0-py3-none-any.whl

Download URL mezza-0.1.0-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
460f2a019dd8966b0b47190b600f4cdec02391795ecde1ad6f1301599ac1af0f
BLAKE2b-256 checksum
How to use checksums
27d6e06078ff1cbfbb9972fbcdd8b034abb7659c7db8cef66e581d6f0a072bc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.11.6 Linux/6.5.0-9-generic

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page