{"title":"扩展包","version":"3.0","locale":"zh-hans","docname":"topics/external-packages","url":"/zh-hans/3.0/topics/external-packages/","canonical":"https://djangodocs.dev/zh-hans/3.0/topics/external-packages/","summary":"Django 附带了各种额外的可选工具来解决常见问题 ( contrib.* )。为了便于维护并减少代码库的大小，一些应用工具已经移到单独项目中。 Localflavor Link to this heading # django-localflavor 是用于特定国家和文化的实用程序集合。 GitHub…","html":"<h1>扩展包<a class=\"heading-anchor\" href=\"#external-packages\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>Django 附带了各种额外的可选工具来解决常见问题 (<code class=\"docutils literal notranslate\"><span class=\"pre\">contrib.*</span></code>)。为了便于维护并减少代码库的大小，一些应用工具已经移到单独项目中。</p>\n<section id=\"localflavor\">\n<h2>Localflavor<a class=\"heading-anchor\" href=\"#localflavor\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p><code class=\"docutils literal notranslate\"><span class=\"pre\">django-localflavor</span></code> 是用于特定国家和文化的实用程序集合。</p>\n<ul class=\"simple\">\n<li><p><a class=\"reference external\" href=\"https://github.com/django/django-localflavor\">GitHub</a></p></li>\n<li><p><a class=\"reference external\" href=\"https://django-localflavor.readthedocs.io/\">Documentation</a></p></li>\n<li><p><a class=\"reference external\" href=\"https://pypi.org/project/django-localflavor/\">PyPI</a></p></li>\n</ul>\n</section>\n<section id=\"comments\">\n<h2>注释(Comments)<a class=\"heading-anchor\" href=\"#comments\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p><code class=\"docutils literal notranslate\"><span class=\"pre\">django-contrib-comments</span></code> 可以被用来在任何模型上添加评论，因此你可以在博客文章、图片、书籍和其他上评论。很多用户可以更好的使用这个定制解决方案，或使用 Disqus 这样的托管产品。</p>\n<ul class=\"simple\">\n<li><p><a class=\"reference external\" href=\"https://github.com/django/django-contrib-comments\">GitHub</a></p></li>\n<li><p><a class=\"reference external\" href=\"https://django-contrib-comments.readthedocs.io/\">Documentation</a></p></li>\n<li><p><a class=\"reference external\" href=\"https://pypi.org/project/django-contrib-comments/\">PyPI</a></p></li>\n</ul>\n</section>\n<section id=\"formtools\">\n<h2>Formtools<a class=\"heading-anchor\" href=\"#formtools\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p><code class=\"docutils literal notranslate\"><span class=\"pre\">django-formtools</span></code> 是处理表单的一组实用工具的集合。</p>\n<ul class=\"simple\">\n<li><p><a class=\"reference external\" href=\"https://github.com/django/django-formtools\">GitHub</a></p></li>\n<li><p><a class=\"reference external\" href=\"https://django-formtools.readthedocs.io/\">Documentation</a></p></li>\n<li><p><a class=\"reference external\" href=\"https://pypi.org/project/django-formtools/\">PyPI</a></p></li>\n</ul>\n</section>","rootId":"external-packages","toc":[{"title":"Localflavor","anchor":"localflavor","children":[]},{"title":"注释(Comments)","anchor":"comments","children":[]},{"title":"Formtools","anchor":"formtools","children":[]}],"breadcrumbs":[{"docname":"topics/index","title":"使用 Django","url":"/zh-hans/3.0/topics/"}],"prev":{"docname":"topics/checks","title":"系统检查框架","url":"/zh-hans/3.0/topics/checks/"},"next":{"docname":"topics/async","title":"异步支持","url":"/zh-hans/3.0/topics/async/"},"formats":{"html":"/zh-hans/3.0/topics/external-packages/","markdown":"/zh-hans/3.0/topics/external-packages.md","json":"/zh-hans/3.0/topics/external-packages.json"},"source":"https://github.com/django/django/blob/stable/3.0.x/docs/topics/external-packages.txt","official":"https://docs.djangoproject.com/zh-hans/3.0/topics/external-packages/","inVersions":["6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0"],"inLocales":["en","zh-hans","fr","ja","id","pt-br","ko","es","el","pl"]}