Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想添加通过链接和社交媒体共享特定模型对象的功能,就像单击下面的share链接时 Stack Overflow 所做的那样。我喜欢它通过链接从页面中弹出的方式。
share
是否有可以执行类似功能的 Django 模块。
谢谢!
这可以通过您从twitter、Google+或Facebook的开发人员部分获得的 javascript 代码来完成。我刚刚将它添加到我的网站,这很容易,您可以自定义代码以获得与标准按钮略有不同的外观,或者您可以完全自定义它(就像 Stackoverflow 所做的那样)。