Skip to main content

Hashids URL shortener backend for django-blog-zinnia

Project description

Zinnia-url-shortener-hashids is a package providing URL shortening within django-blog-zinnia with non-sequential, short and unique ids.

Installation

  • Install the package on your system:

    $ pip install zinnia-url-shortener-hashids
    

    hashids will also be installed as a dependency.

  • Put this setting to enable the URL shortener backend:

    ZINNIA_URL_SHORTENER_BACKEND = 'zinnia_hashids'

  • Then include this URLconf into your project:

    url(r'^', include('zinnia_hashids.urls')),
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zinnia-url-shortener-hashids-1.1.tar.gz (8.2 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page