{ "info": { "author": "Chris Spencer", "author_email": "chrisspen@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "Django Shareable\n======================================\n\nProvides tempatetags for 'Tweet This' and 'Share this on Facebook'.\n\nA fork of django-social-share by Flavio Curella.\n\nInstallation\n-------------\n\n::\n\n $ pip install django-shareable\n\nAdd the app to ``INSTALLED_APPS``::\n\n INSTALLED_APPS += ['django_shareable']\n\nIt's recommended to add ``django.core.context_processors.request`` to your `` TEMPLATE_CONTEXT_PROCESSORS`` list. This way the templatetags will use the correct scheme and hostname.\n\nIf ``django.core.context_processors.request`` is not present, it will simply concatenate the current site's domain (from ``django.contrib.sites``) and the object's relative URL together.\n\nUsage\n-----\n::\n\n {% post_to_facebook %}\n\n {% post_to_twitter %}\n\n```` may contain any valid Django Template code. Note that Facebook does not support this anymore.\n\n```` is optional. If you pass a django model instance, it will use its ``get_absolute_url`` method. Additionally, if you have ``django_bitly`` installed, it will use its shortUrl on Twitter.\n\n```` is also optional. It defines the text used for the ``a`` element. Defaults to 'Post to Facebook' and 'Post to Twitter'\n\n::\n\n {% post_to_twitter_url %}\n\nWill add a ``tweet_url`` variable to the context, containing the URL for the Twitter sharer popup.\n\n::\n\n {% post_to_facebook_url %}\n\nWill add a ``facebook_url`` variable to the context, containing the URL for the Facebook sharer popup.\n\nExample::\n\n {% load social_share %}\n \n {% post_to_facebook object_or_url \"Post to Facebook!\" %}\n {% post_to_twitter \"New Song: {{object.title}}. Check it out!\" object_or_url \"Post to Twitter\" %}\n\nTemplates are in ``django_shareable/templatetags/post_to_twitter.html`` and ``django_shareable/templatetags/post_to_facebook.html``. You can override them to suit your mileage.\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chrisspen/django-shareable", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-shareable", "package_url": "https://pypi.org/project/django-shareable/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-shareable/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/chrisspen/django-shareable" }, "release_url": "https://pypi.org/project/django-shareable/0.2.7/", "requires_dist": null, "requires_python": null, "summary": "Templatetags for 'tweet this' and 'share on facebook'", "version": "0.2.7" }, "last_serial": 1013113, "releases": { "0.2.5": [ { "comment_text": "", "digests": { "md5": "1bb4d4972f251e1e5b3813063f1d17b2", "sha256": "1ec29cdc4d38eb25d5dd3a7d91d6afba067d65d4bb2e34f00754a8387985a569" }, "downloads": -1, "filename": "django-shareable-0.2.5.tar.gz", "has_sig": false, "md5_digest": "1bb4d4972f251e1e5b3813063f1d17b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3342, "upload_time": "2014-02-18T20:11:56", "url": "https://files.pythonhosted.org/packages/7b/76/e5b2b490ca9d987634d7b309d5781590414ee52695197a03b16c6e65e1b2/django-shareable-0.2.5.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "0b84dc26de0627455c266d4f13609174", "sha256": "b597e86e91546cb2b6580601e4683932393e21f2c767d6d261e9a2014857a4a5" }, "downloads": -1, "filename": "django-shareable-0.2.6.tar.gz", "has_sig": false, "md5_digest": "0b84dc26de0627455c266d4f13609174", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3348, "upload_time": "2014-02-26T18:16:10", "url": "https://files.pythonhosted.org/packages/f0/a0/bb5a29bb3b282ba3e426ba91b098841a5b2f4c601c0bdcb94f8008cb4ae8/django-shareable-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "d33354052b8b0f0da5501111759a29da", "sha256": "85cf960e012700e46ae23726f3e1f728a566fda8fcdef1a216322bb4e2b99e9e" }, "downloads": -1, "filename": "django-shareable-0.2.7.tar.gz", "has_sig": false, "md5_digest": "d33354052b8b0f0da5501111759a29da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5232, "upload_time": "2014-02-26T18:32:37", "url": "https://files.pythonhosted.org/packages/62/6c/acf1bc00f0a6fee5cba24159a83a4c2ae216e9479c2688e37d43115d9683/django-shareable-0.2.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d33354052b8b0f0da5501111759a29da", "sha256": "85cf960e012700e46ae23726f3e1f728a566fda8fcdef1a216322bb4e2b99e9e" }, "downloads": -1, "filename": "django-shareable-0.2.7.tar.gz", "has_sig": false, "md5_digest": "d33354052b8b0f0da5501111759a29da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5232, "upload_time": "2014-02-26T18:32:37", "url": "https://files.pythonhosted.org/packages/62/6c/acf1bc00f0a6fee5cba24159a83a4c2ae216e9479c2688e37d43115d9683/django-shareable-0.2.7.tar.gz" } ] }