Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simpler alternative to django-announcements.
Python JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
announcements
media/js
.gitignore
README.rst
setup.py

README.rst

django-simple-announcements

A simpler alternative to django-announcements.

Features

  • Site-wide announcements
  • Create announcements in the admin interface
  • Start and end dates for announcements
  • Per-session dismiss links

Getting started

  1. Add 'announcements' to your settings.INSTALLED_APPS.

  2. Add 'announcements.context_processors.announcements' to your settings.TEMPLATE_CONTEXT_PROCESSORS.

  3. Copy or symlink media/js/announcements.js into your MEDIA_ROOT.

  4. Do a db sync:

    python manage.py syncdb
    
  5. Include announcements/announcements.html somewhere, probably in your base template:

    {% include "announcements/announcements.html" %}
    
  6. Start announcing at /admin/announcements/announcement/

Something went wrong with that request. Please try again.