Skip to main content

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 makemigrations advertising
    python manage.py 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' %}

Parameters

  1. Height: Min height element size.

  2. Campaign: Id unique Advertising Model. (String)

Responsive

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

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

Metadata

Release files for django-advertising 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-advertising 0.0.7
File Size Uploaded Provenance
django-advertising-0.0.7.tar.gz 4.6 kB Without provenance Details

Release files / django-advertising-0.0.7.tar.gz

Download URL django-advertising-0.0.7.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
e758e435cdf23715a5475cb52c1df0f171b0534a38fd30bce54bd0adba36e21f
BLAKE2b-256 checksum
How to use checksums
6f9d3279dc6744e96f794cbb25bd74fe962b545a7ee0c972c8ea0449e066fa39
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-advertising 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page