Django-minipub is a MINImalist PUBlication control system for Django.
Project description
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:
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:
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
Please take a look at the documentation on ReadTheDocs.
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
Built Distribution
File details
Details for the file django-minipub-1.6.tar.gz
.
File metadata
- Download URL: django-minipub-1.6.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddaa0f59d7258fc51c00105aa5ca763798b9c657e961fa90bf82c4a38bcc45e9 |
|
MD5 | 3824a42fd944783b46e216d53e173a15 |
|
BLAKE2b-256 | 68c9356a1429c692f593893c19c14e5e94d2606042b507e26bc099a1b0ed6be7 |
File details
Details for the file django_minipub-1.6-py2.py3-none-any.whl
.
File metadata
- Download URL: django_minipub-1.6-py2.py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.9.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae111f8dcd0963d257f6bea91a99cbb3615b45a175004fd16df8129ae7ef8d0d |
|
MD5 | 87df5b8a5a6ff7e7e11f51175bb4c7ec |
|
BLAKE2b-256 | b4f2dede73ee1604acb2ba73efb53b031cff0e79ce387af1a70bebe30fa17588 |