为django-blog-zinnia提供的非顺序、短小且唯一的ID的URL缩短器后端
项目描述
Zinnia-url-shortener-hashids是一个提供在django-blog-zinnia中URL缩短的包,具有非顺序、短小且唯一的ID。
安装
在您的系统上安装此包
$ pip install zinnia-url-shortener-hashids
hashids也将作为依赖项安装。
将此设置添加到您的配置文件中,以启用URL缩短器后端
ZINNIA_URL_SHORTENER_BACKEND = 'zinnia_hashids'
然后将此URLconf包含到您的项目中
url(r'^', include('zinnia_hashids.urls')),
项目详情
关闭
散列值 for zinnia_url_shortener_hashids-1.1-py2-none-any.whl
算法 | 散列摘要 | |
---|---|---|
SHA256 | aa61b187883245269033f7a293a1e0283e07d64c4966ec2eb4c31b9c18101264 |
|
MD5 | 0a16c292a708a97e016d4f15ef403c91 |
|
BLAKE2b-256 | d8fee1c0551639fa241e3eb0686363f88c57ea8d451c91e729b8ae93ec4d01e7 |