Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Django application for show advertising configurable.

Project description

Django application for show advertising configurable.

Installing

With pip:

pip install django-advertising

Quick start

  1. Add ‘advertising’ to INSTALLED_APPS:

       INSTALLED_APPS = (
       ...
       'advertising',
    )
    
  2. Apply migrations:

    python manage.py migrate
    
  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 width=300 height=300 campaign='CMP1' %}
    

Parameters

  1. width and height: Element size.
  2. Campaign: Id unique Advertising Model. (String)

Contribute

  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

Project details


Release history Release notifications

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

This version
History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-advertising-0.0.3.tar.gz (4.6 kB) Copy SHA256 hash SHA256 Source None Jun 19, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page