Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Extended version of django.contrib.messages

Project description

django-extended-messages
======================

Installation
------------

1. Add *'django-extended-messages'* directory to your Python path
2. Add *'django.contrib.messages'* to your INSTALLED_APPS
3. Add *'django.contrib.messages.middleware.MessageMiddleware'* to your MIDDLEWARE_CLASSES
4. Add *'django.contrib.messages.context_processors.messages'* to your TEMPLATE_CONTEXT_PROCESSORS
5. Add *MESSAGE_STORAGE = 'extended_messages.storage.session.SessionStorage'* to your settings.py
6. Add *extended_messages.urls* in your urls.py

Configuration
-------------

*STICKY_FROM_THE_LEVEL*

Usage
-----

import extended_messages as messages
messages.warning(request, 'Your account expires in three days.', sticky=True)

Project details


Release history Release notifications

This version
History Node

0.0.3.alpha

History Node

0.0.2.alpha

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page