Skip to main content

Simple banner system

Project description

Django simple banner template tag

Link to repository: https://github.com/Arpaso/django-banner-simple

Provides new template tag to display banner uploaded via admin interface.

Banner model and BannerAdmin is added.

Usage

  • You have to use south migrations to update your database:

    python manage.py migrate
  • Add application to INSTALLED_APPS in settings.py:

    ...
    'banner',
    ...
  • Use template tag in your templates as is:

    {% get_banner 'banner_name' 150 150 %}

Uses also settings.STATIC_URL to display banner image.

Written by the development team of Arpaso company: http://arpaso.com

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

django-banner-simple-0.1.tar.gz (5.1 kB view hashes)

Uploaded Source

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