Django application for show advertising configurable.
Project description
Django application for show advertising configurable.
Installing
With pip:
pip install django-advertising
Quick start
Add ‘advertising’ to INSTALLED_APPS:
INSTALLED_APPS = ( ... 'advertising', )
Apply migrations:
python manage.py migrate
Add this script in your file .html to use:
<script src="{% static 'advertising/js/events.js' %}"></script>
Add this line in your file .html to use:
{% load image %} {% get_images_advertising width=300 height=300 campaign='CMP1' %}
Parameters
width and height: Element size.
Campaign: Id unique Advertising Model. (String)
Contribute
Fork this repo and install it
Follow PEP8, Style Guide for Python Code
Write code
Write unit test
Send pull request
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.