Skip to main content
Run tests for django-item-messages coveralls badge python: 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 django: 2.2, 3.0, 3.1, 3.2, 4.0, 4.1, 4.2, 5.0, 5.1, 5.2, 6.0

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

Download files

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

Source Distribution

django_item_messages-0.2.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

django_item_messages-0.2-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

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

Hashes for django_item_messages-0.2.tar.gz
Algorithm Hash digest
SHA256 849990fe10bf8e4d79159b47cc39039f2ef231407e6472555780df9b21a59ff9
MD5 2289c920006a897f49534c9a0b975335
BLAKE2b-256 baf442b8d8ff88887c5e1da54787cea89dcd42a0677d6f09c129d447b72ab340

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_item_messages-0.2.tar.gz:

Publisher: publish.yml on thomst/django-item-messages

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_item_messages-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for django_item_messages-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4abc1cf188e318674c2f9964774c00f1490b69fe6f0d044a66cc45343431de13
MD5 5b5e9ca18730c6e1671a448695c967d3
BLAKE2b-256 5f44029cc671d31cb76c04e080f895f764a3d27e223b9f7d9e4fc72e6c36b113

See more details on using hashes here.

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

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

Release history Release notifications | RSS feed

This release

0.2 This release

2 files

0.1

2 files

Supported by

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