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 details)

Uploaded Source

File details

Details for the file django-banner-simple-0.1.tar.gz.

File metadata

File hashes

Hashes for django-banner-simple-0.1.tar.gz
Algorithm Hash digest
SHA256 2b732bd2d24182d799da8d6f5b95356ceded3053680a7f01a3ca3d2df21d488f
MD5 44bc49fe98c3f614663596317fc41443
BLAKE2b-256 999173768c078c690d951f40c463a430cadf2df25418cfb240180aeec73df5ef

See more details on using hashes here.

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