Skip to main content

Render grouped messages with the Django messaging framework

Project description

Build status PyPI download stats

This Django app provides a template tag to render all messages (sent via the Django messaging framework) and to display them grouped by category.

Since tag v0.2, django-messagegroups is compatible with Bootstrap 1, and since v0.3, it uses Bootstrap 2 markup.

Install

The best way to install django-messagegroups is using pip:

pip install django-messagegroups

To get the current development version, you can install the version from Github:

pip install -e git://github.com/dbrgn/django-messagegroups.git#egg=messagegroups

Finally add messagegroups to your INSTALLED_APPS setting.

Usage

{% load messagegroups %}
...
{% render_messages messages %}

Customize

You can customize the template by overriding the messagegroups.html template.

The HTML class markup is compatible with the Bootstrap CSS Framework (v2).

Credits

Inspired by Ben Tappin (via mrben.co.uk).

License

Copyright 2011-2012 Danilo Bargen (http://dbrgn.ch/)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/lgpl.html>.

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

django-messagegroups-0.3.0.tar.gz (5.1 kB view details)

Uploaded Source

File details

Details for the file django-messagegroups-0.3.0.tar.gz.

File metadata

File hashes

Hashes for django-messagegroups-0.3.0.tar.gz
Algorithm Hash digest
SHA256 4ad91ea81e7f110db9a4427e15bd1d327cfdaa46c982dc2083e486dc20855851
MD5 c6e97e0eafc4a3b593a0e93edbae0ca2
BLAKE2b-256 ec03bdd35be1352a2ccc2c16a9d23e8ef81c934722b4b1d8a53a1279c8e58ac8

See more details on using hashes here.

Supported by

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