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 makemigrations advertising python manage.py migrate advertising
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 height=300 campaign='CMP1' %}
Parameters
Height: Min height element size.
Campaign: Id unique Advertising Model. (String)
Responsive
If you wish to play with media queries, use the img-advertising class.
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.
Source Distribution
File details
Details for the file django-advertising-0.0.7.tar.gz
.
File metadata
- Download URL: django-advertising-0.0.7.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e758e435cdf23715a5475cb52c1df0f171b0534a38fd30bce54bd0adba36e21f |
|
MD5 | dab578155815d1c8f36d4c6e1bc55ce3 |
|
BLAKE2b-256 | 6f9d3279dc6744e96f794cbb25bd74fe962b545a7ee0c972c8ea0449e066fa39 |