一个简单的用于url操作的django扩展
django-furl的Python项目详细描述
====
django furl[WIP]
====
版本许可证下载
|图片版本:https://img.shields.io/pypi/v/django-furl.svg?style=flat
:目标:https://pypi.python.org/pypi/django furl
:alt:version
…|许可证图像::https://img.shields.io/pypi/l/django-furl.svg?风格=平面
:目标:http://GITHUB.COM/POXIPS/Django Fur/Bulb/Muth/Subj:BR/>:ALT:BuiBR/>|下载image::https://img.shields.io/pypi/dm/django furl.svg
:target:https://pypi.python.org/pypi/django furl
:a lt:downloads
**django furl**是'furl
<;https://github.com/gruns/furl>;的api的简单django包装。它为url操作提供了必要的模板标记。代码块:
{%furl_add'http://somestuff.tv/search/?q=the+office'character='michael scott'year=2005%}
``http://sometuff.tv/search/?q=the+office&character=michael+scott&year=2005``
安装
----
:::
$pip install django furl
quick start
--
1。将“django_full”添加到已安装的应用程序中::
installed_apps=[
…
'django_full',
]
2。在模板中加载“full_tags”:
{%load full_tags%}
代码块:
{%furl_add'http://somestuff.tv/search/?q=the+office'character='michael scott'year=2005%}
``http://sometuff.tv/search/?Q=the+office&character=michael+scott&year=2005``
…代码块:
{%furl_update'http://somestuff.tv/search/?page=3'q='大爆炸理论'character='sheldon cooper'page=1%}
``http://somethuff.tv/search/?page=1&q=the+big+bang+theory&character=sheldon+cooper``
代码块:
{%furl_add'http://somestuff.tv/search/?facets=type.other'facets='category.trame'q='true detective'%}
``http://somethuff.tv/search/?facets=type.other&facets=category.trama&q=true+detective``
…代码块:
{%furl_del'http://somestuff.tv/search/?facets=type.other&facets=category.other&q=w“”facets“”q“%}
``http://somethuff.tv/search/``
django furl[WIP]
====
版本许可证下载
|图片版本:https://img.shields.io/pypi/v/django-furl.svg?style=flat
:目标:https://pypi.python.org/pypi/django furl
:alt:version
…|许可证图像::https://img.shields.io/pypi/l/django-furl.svg?风格=平面
:目标:http://GITHUB.COM/POXIPS/Django Fur/Bulb/Muth/Subj:BR/>:ALT:BuiBR/>|下载image::https://img.shields.io/pypi/dm/django furl.svg
:target:https://pypi.python.org/pypi/django furl
:a lt:downloads
**django furl**是'furl
<;https://github.com/gruns/furl>;的api的简单django包装。它为url操作提供了必要的模板标记。代码块:
{%furl_add'http://somestuff.tv/search/?q=the+office'character='michael scott'year=2005%}
``http://sometuff.tv/search/?q=the+office&character=michael+scott&year=2005``
安装
----
:::
$pip install django furl
quick start
--
1。将“django_full”添加到已安装的应用程序中::
installed_apps=[
…
'django_full',
]
2。在模板中加载“full_tags”:
{%load full_tags%}
代码块:
{%furl_add'http://somestuff.tv/search/?q=the+office'character='michael scott'year=2005%}
``http://sometuff.tv/search/?Q=the+office&character=michael+scott&year=2005``
…代码块:
{%furl_update'http://somestuff.tv/search/?page=3'q='大爆炸理论'character='sheldon cooper'page=1%}
``http://somethuff.tv/search/?page=1&q=the+big+bang+theory&character=sheldon+cooper``
代码块:
{%furl_add'http://somestuff.tv/search/?facets=type.other'facets='category.trame'q='true detective'%}
``http://somethuff.tv/search/?facets=type.other&facets=category.trama&q=true+detective``
…代码块:
{%furl_del'http://somestuff.tv/search/?facets=type.other&facets=category.other&q=w“”facets“”q“%}
``http://somethuff.tv/search/``