TODO
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
Close
Hashes for django_item_messages-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d9c166370975e5859614265063c338fa86a6153a6ff45643db5a502ca524fe2 |
|
MD5 | 6eb6aaa758e7c00123c9d993ed3f7ffe |
|
BLAKE2b-256 | 7670a23039b39083b5fd821c6c88e58a771ed69d45fc97c1784c0d026435b0d0 |