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

Django application for show advertising configurable.

Project Description

Django application for show advertising configurable.


With pip:

pip install django-advertising

Quick start

  1. Add ‘advertising’ to INSTALLED_APPS:

  2. Apply migrations:

    python makemigrations advertising
    python migrate advertising
  3. Add this script in your file .html to use:

    <script src="{% static 'advertising/js/events.js' %}"></script>
  4. Add this line in your file .html to use:

    {% load image %}
    {% get_images_advertising height=300 campaign='CMP1' %}


  1. Height: Min height element size.
  2. Campaign: Id unique Advertising Model. (String)


If you wish to play with media queries, use the img-advertising class.


  1. Fork this repo and install it
  2. Follow PEP8, Style Guide for Python Code
  3. Write code
  4. Write unit test
  5. Send pull request
Release History

Release History

History Node


This version
History Node


History Node


History Node


History Node


History Node


History Node


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-advertising-0.0.6.tar.gz (4.6 kB) Copy SHA256 Checksum SHA256 Source Jul 7, 2016

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