Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A simple Django app to display "sticky" messages that expire after a given time period.

Project Description
=====
Sticky Messages
=====

Sticky Messages is a simple Django app to display "sticky" messages stored in
a message model that expire after a given time period.

Inspiration from:
http://stackoverflow.com/questions/3076365/how-to-make-django-messages-stackoverflow-style

Detailed documentation is in the "docs" directory.

Quick start
-----------

1. Add "stickymessages" to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'stickymessages',
)

2. Add "stickymessages" to your TEMPLATE_CONTEXT_PROCESSORS setting like this::

TEMPLATE_CONTEXT_PROCESSORS = (
...
'stickymessages.context_processors.latest_sticky_message',
)

3. Run `python manage.py syncdb` to create the stickymessages models.

4. Start the development server and visit http://127.0.0.1:8000/admin/
to create a message (you'll need the Admin app enabled).

5. To display a message simply add
{% include "stickymessages/display_latest_message.html" %} to one of your
templates.
NOTE: Template file uses bootstrap 'alert alert-block' classes for styling.
You may create your own styling by using the sticky-message style.
Release History

Release History

This version
History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-sticky-messages-0.1.tar.gz (3.8 kB) Copy SHA256 Checksum SHA256 Source Jan 12, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting