skip to navigation
skip to content

Not Logged In

django-messagegroups 0.3.0

Render grouped messages with the Django messaging framework

Latest Version: 0.4.1

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>.

 
File Type Py Version Uploaded on Size
django-messagegroups-0.3.0.tar.gz (md5) Source 2012-05-04 4KB
  • Downloads (All Versions):
  • 54 downloads in the last day
  • 168 downloads in the last week
  • 435 downloads in the last month