12👍
Check out django-social-share (https://github.com/fcurella/django-social-share) or django-socialsharing (https://github.com/lettertwo/django-socialsharing).
More can be found here: https://www.djangopackages.com/grids/g/social/
4👍
I found somethings. For Google, Linkedin, Facebook:
<a href="https://plus.google.com/share?url=http://your-domain{{ request.get_full_path|urlencode }}"></a>
<a href="http://www.linkedin.com/shareArticle?url=http://your-domain{{ request.get_full_path|urlencode }}&title=<your title>&summary=<your desc>&source=http://your-domain"></a>
<a href="http://www.facebook.com/sharer/sharer.php?u=http://your-domain{{ request.get_full_path|urlencode }}"></a>
Also, this plugin (django-social-share) is very nice.
You can install it by:
pip install django-social-share
For using this plugin see the Doc’s page
- [Django]-How can I pass values/parameters from HTML to Django Views?
- [Django]-Deep JSON Serialization of Django objects
- [Django]-Two process in one Heroku app vs two heroku apps
- [Django]-Serializers in django rest framework with dynamic fields
- [Django]-Django model TimeField views.py cannot select hour or minute
Source:stackexchange.com