Render item specific messages in the changelist view of the Django admin backend.
Project description
Description
Item-messages allows you to add item specific messages which are rendered beneath the related item in an admin changelist view.
Item messages are permanent within a session and can be added, updated or removed. This makes them also useful for long running asynchronious background processes.
Installation
Install from pypi.org:
pip install django-item-messages
Setup
Add item_messages to your installed apps:
INSTALLED_APPS = [
...
'item_messages',
...
]
Add the item_messages’ middleware class:
MIDDLEWARE = [
...
'item_messages.middleware.ItemMessageMiddleware',
...
]
Note: The item-messages middelware class have to be listed after the session’s middelware class.
Add item_messages’ context processor:
TEMPLATES = [
{
...
'OPTIONS': {
'context_processors': [
...
'item_messages.context_processors.item_messages',
...
],
},
},
]
Usage
TODO
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_item_messages-0.2.tar.gz.
File metadata
- Download URL: django_item_messages-0.2.tar.gz
- Upload date:
- Size: 9.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
849990fe10bf8e4d79159b47cc39039f2ef231407e6472555780df9b21a59ff9
|
|
| MD5 |
2289c920006a897f49534c9a0b975335
|
|
| BLAKE2b-256 |
baf442b8d8ff88887c5e1da54787cea89dcd42a0677d6f09c129d447b72ab340
|
Provenance
The following attestation bundles were made for django_item_messages-0.2.tar.gz:
Publisher:
publish.yml on thomst/django-item-messages
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_item_messages-0.2.tar.gz -
Subject digest:
849990fe10bf8e4d79159b47cc39039f2ef231407e6472555780df9b21a59ff9 - Sigstore transparency entry: 833721551
- Sigstore integration time:
-
Permalink:
thomst/django-item-messages@f18456544ddab894692a76ab22c6871ac3c31bfc -
Branch / Tag:
refs/tags/0.2 - Owner: https://github.com/thomst
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f18456544ddab894692a76ab22c6871ac3c31bfc -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_item_messages-0.2-py3-none-any.whl.
File metadata
- Download URL: django_item_messages-0.2-py3-none-any.whl
- Upload date:
- Size: 12.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4abc1cf188e318674c2f9964774c00f1490b69fe6f0d044a66cc45343431de13
|
|
| MD5 |
5b5e9ca18730c6e1671a448695c967d3
|
|
| BLAKE2b-256 |
5f44029cc671d31cb76c04e080f895f764a3d27e223b9f7d9e4fc72e6c36b113
|
Provenance
The following attestation bundles were made for django_item_messages-0.2-py3-none-any.whl:
Publisher:
publish.yml on thomst/django-item-messages
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_item_messages-0.2-py3-none-any.whl -
Subject digest:
4abc1cf188e318674c2f9964774c00f1490b69fe6f0d044a66cc45343431de13 - Sigstore transparency entry: 833721556
- Sigstore integration time:
-
Permalink:
thomst/django-item-messages@f18456544ddab894692a76ab22c6871ac3c31bfc -
Branch / Tag:
refs/tags/0.2 - Owner: https://github.com/thomst
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f18456544ddab894692a76ab22c6871ac3c31bfc -
Trigger Event:
push
-
Statement type: