Skip to main content
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:

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_minipub-1.11.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_minipub-1.11-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file django_minipub-1.11.tar.gz.

File metadata

  • Download URL: django_minipub-1.11.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for django_minipub-1.11.tar.gz
Algorithm Hash digest
SHA256 fe9237e2205e0d0d0570d031e56307e670b5be69fd866ee3ff69a2f589a08c7d
MD5 af717fe31eddf1d8d96598f1b32b3555
BLAKE2b-256 a7fcc80938edf99e7d1b8c5670cf958aadd1c45ae66dc796b3d1752cc80719dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_minipub-1.11.tar.gz:

Publisher: publish-pypi.yml on richardbarran/django-minipub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_minipub-1.11-py3-none-any.whl.

File metadata

  • Download URL: django_minipub-1.11-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for django_minipub-1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 4508d080ee134d5ec0142207c352ef6a45d5028b2725114c641ca4d9c0f748c0
MD5 d72e1669148e6242215ea48ef241274a
BLAKE2b-256 2d934ed0691f2ac02a60d59389626c48d735315c24f36e94f8ccfdef9ac4dafc

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_minipub-1.11-py3-none-any.whl:

Publisher: publish-pypi.yml on richardbarran/django-minipub

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page