{ "info": { "author": "Nina Pavlich", "author_email": "nina@cgparntersllc.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "django-social-share-settings\n=======================\n\nModel and front end library for choosing and integrating social media share widgets, similar to AddThis.\n\n\n#Install\n\nAdd to your requirements.txt file:\n```python\n#requirements.txt\n\n-e git+https://github.com/ninapavlich/django-social-share-settings.git@2ac1309c5f2e4a816263ee689bcc60655a0643b5#egg=django-social-share-settings-dev\n\n```\nRun install:\n```\n> pip install -r requirements.txt\n```\n\n#CMS Usage:\n\nTo make social settings administerable, include django_social_share_settings and rake the database:\n```python\n#settings.py\n\n\n\tINSTALLED_APPS = (\n ...\n 'django_social_share_settings',\n ...\n )\n```\n\n```\n> python manage.py schemamigration django_social_share_settings --initial\n> python manage.py migrate django_social_share_settings\n```\n\nTo make track social shares:\n\n```python\n#urls.py\n(r'^', include('django_social_share_settings.urls')), \n```\n\n\n\n#Template Usage:\nTo output share icons based on the settings from the cms, use the \n\"social_share_settings_tags\" template tags. In this case I'm using \n\"Font Awesome\" to render the icons.\n```\n#social-share-partial.html\n{% load social_share_settings_tags %}\n\n{% get_social_share_links as social_links %}\n\n{% if social_links|length > 0 %}\n
\n{% endif %}\n```\n\n\n#Sticky Usage\nFor sticky behavior, include or compile in the styles and javscript.\n\nSee screencast of sticky widget in action: http://screencast.com/t/Gm8Sah4IMQ\n```html\n#base-template.html\n\n\n\n\n\n\n\n```\n*topSelector* is the selector for the item the sticky widget should top-align with.\n\n*bottomSelector* is the selector for the item the sticky widget should not go below.\n\n*topMargin* refers to the top margin the sticky item will have when aligned to the top selector item\n\n\n\n*fixedMargin* refers to the top margin the sticky item will have when the screen has scrolled past the top selector item\n\n\n\n*bottomMargin* refers to the bottom margin the sticky item will have when aligned to the bottom selector item\n\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/ninapavlich/django-social-share-settings", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-social-share-settings", "package_url": "https://pypi.org/project/django-social-share-settings/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-social-share-settings/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ninapavlich/django-social-share-settings" }, "release_url": "https://pypi.org/project/django-social-share-settings/0.2/", "requires_dist": null, "requires_python": null, "summary": "Model and front end library for choosing and integrating social media share widgets.", "version": "0.2" }, "last_serial": 1478033, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "e246b8453afc96fc436a2d59be24ae6e", "sha256": "fa40201b691ee086a8e0b8b3bc8313fa9b471ca2c7b62ad39348f27ee257c1cc" }, "downloads": -1, "filename": "django-social-share-settings-0.2.tar.gz", "has_sig": false, "md5_digest": "e246b8453afc96fc436a2d59be24ae6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10227, "upload_time": "2015-03-26T01:39:13", "url": "https://files.pythonhosted.org/packages/61/c8/5442fa60b93cd2fd8c187d6490a1a6e292f0be44d79bd3db49f3050e6f5e/django-social-share-settings-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e246b8453afc96fc436a2d59be24ae6e", "sha256": "fa40201b691ee086a8e0b8b3bc8313fa9b471ca2c7b62ad39348f27ee257c1cc" }, "downloads": -1, "filename": "django-social-share-settings-0.2.tar.gz", "has_sig": false, "md5_digest": "e246b8453afc96fc436a2d59be24ae6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10227, "upload_time": "2015-03-26T01:39:13", "url": "https://files.pythonhosted.org/packages/61/c8/5442fa60b93cd2fd8c187d6490a1a6e292f0be44d79bd3db49f3050e6f5e/django-social-share-settings-0.2.tar.gz" } ] }