Zinnia-url-shortener-bitly is a package providing URL shortening within django-blog-zinnia via Bit.ly.
Install the package on your system:
$ pip install zinnia-url-shortener-bitly
django-bitly will also be installed as a dependency.
Add
'django_bitly'
in yourINSTALLED_APPS
settings and do a syncdb.Put this setting to enable the URL shortener backend:
ZINNIA_URL_SHORTENER_BACKEND = 'zinnia_bitly'
Define these following settings with your credentials:
BITLY_LOGIN
Your Bit.ly usernameBITLY_API_KEY
Your Bit.ly API Key