Skip to main content
django-socialshareprivacy
=========================

This Django applcation makes the jQuery Plug-In socialshareprivacy from heise.de available in django templates.
The plugin will show disabled buttons for the share adn tweet buttons, these disabled buttons are hosted locally. If the user wants to share or tweet he has to first click the disabled button which will then load the real button from facebook, G+ or Twitter. A second click on the buttons will then actually share the page. This basically means that the possibility of sharing is available but until the user interacts with the buttons no data is transmitted to the social networks.

The home of the jQuery plugin is http://www.heise.de/extras/socialshareprivacy/.

This application uses the same version numbers as the jQuery plugin and appends a third digit to allow for application releases independently of the plugin.

Installation
============

Install via pip:

pip install django-socialshareprivacy

then add `socialshareprivacy`to your INSTALLED_APPS.

In your template load the socialshareprivacy templatetags library

{% load socialshareprivacy_tags %}

add an empty div used to display the buttons

<div id="socialshareprivacy"></div>

and include the neccessary javascript by calling the template tag `socialshareprivacy`

{% socialshareprivacy %}


In the default thediv to hold the buttons has to have an id of socialshareprivacy you can change
that to what ever you want and then call the template tag with the correct selector

<div id="share_buttons"></div>

{% socialshareprivacy '#share_buttons' %}


Configuration
=============

If you need to configure any of the plugins options override the template `socialshareprivacy\socialshareprivacy.html`
The context of the template supplies the variables `selector` which contains the jQuery selector and
the variable `STATIC_URL` from the project settings.

Help
====
For help open an issue here https://github.com/adsworth/django-socialshareprivacy/issues
License
=======
The original jQuery plugin socialshareprivacy is distributed uner the MIT license.

This Django application is also distributed under the MIT license. See the LICENSE file in this directory/repository.

Metadata

Release files for django-socialshareprivacy 1.5.1

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-socialshareprivacy 1.5.1
File Size Uploaded Provenance Actions
django-socialshareprivacy-1.5.1.tar.gz 291.9 kB Without provenance Details for django-socialshareprivacy-1.5.1.tar.gz

Release files / django-socialshareprivacy-1.5.1.tar.gz

Download URL django-socialshareprivacy-1.5.1.tar.gz
Size 291.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7e48ab3530f83caac4e07cdc3af87b91c697aef51387769f83aa7171ab72ab20
BLAKE2b-256 checksum
How to use checksums
457967b1c722630d3d61fcab32ce1d2651380b43cbc2539c43f5b853ec4cd6b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-socialshareprivacy 1.5.1

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.

Release history Release notifications | RSS feed

This release

1.5.1 This release

1 release file No provenance

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