Skip to main content

Django-minipub

Latest PyPI version CI Status https://codecov.io/github/richardbarran/django-minipub/coverage.svg?branch=master

Django-minipub is a mini-malist pub-lication control system for Django.

Let’s explain it with an example: you have a ‘news’ application, with an Article model. In the admin interface, Minipub will add this fieldset:

docs/img/minipub-fieldset.png

All articles will then have the following 3 fields:

  • status: usually draft or published.

  • start: start date.

  • end: end date; optional.

Articles will only be visible in the public website if they are published and today’s date is between the start and end dates.

In addition, we have a fieldset for showing various read-only status fields:

docs/img/minipub-status-fieldset.png

These can be of use for tracking changes to an Article.

And that’s it… Minipub is simply a few fields on a Model Mixin, together with plenty of code - in the models, views, admin and sitemap - to make the best use of it, that you will hopefully reuse again and again throughout a project.

What can I use it for?

Here are some examples of Minipub at work:

Development

Install the project and its development dependencies from the repository root:

python -m pip install -e '.[dev]'

Run the example project’s tests:

bin/test.py

Alternatives

There are several similar projects that take slightly different approaches to publication control; usually they introduce more sophisticated control. A well-known example is django-reversion.

Minipub is a very basic publication control tool, but works well on several production websites. Its author has found it be a decent compromise between a tool that’s too basic to be useful, and too complex to be understood by its intended end users.

Installation and usage

Documentation Status

Please take a look at the documentation on ReadTheDocs.

Metadata

Release files for django-minipub 1.12

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

Source distribution (sdist)

Source distribution for django-minipub 1.12
File Size Uploaded Provenance Actions
django_minipub-1.12.tar.gz 9.4 kB With provenance Details for django_minipub-1.12.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-minipub 1.12
File Interpreter ABI Platform Actions
django_minipub-1.12-py3-none-any.whl Python 3 none any Details for django_minipub-1.12-py3-none-any.whl

Total release size: 17.8 kB

Release files / django_minipub-1.12.tar.gz

Download URL django_minipub-1.12.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
77261bbe86171d00115528e7eb076949c9f6b11b139d56307fdd73702a74cc7c
BLAKE2b-256 checksum
How to use checksums
9c64a63befb905e7f26e3ab303566b3efe7fe930329fbcf33f267ca4db176c39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Release files / django_minipub-1.12-py3-none-any.whl

Download URL django_minipub-1.12-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8b6bba613a92331bf70bd665971573c6dac80c626c3663390b32b23d6c318f0
BLAKE2b-256 checksum
How to use checksums
082b875fd4ed84951c1072346b30a6014170494f77bff404ec3ed0609517d320
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

Security for django-minipub 1.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_minipub-1.12.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 14, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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