A Django URL shortening app
A URL shortening app written in Django.
Shortened URLs will work at either shorty.example.com/short-url or short-url.shorty.example.com (i.e. the short path can either be in the URL, or a subdomain).
Get started with Shorty by following these steps:
Install djshorty with pip:
pip install djshorty
Add shorty to your INSTALLED_APPS in settings.py:
INSTALLED_APPS = ( ... 'shorty', ... )
Either set short.urls as your ROOT_URLCONF, or include it in your own urls.py.
Shorty relies on django-autoconfig, which requires the following at the end of settings.py:
from django_autoconfig.autoconfig import configure_settings configure_settings(globals())
Shorty provides the following settings:
To contribute, fork the repo, do your work, and issue a pull request. We ask that contributors adhere to PEP8 standards, and include full tests for all their code.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|djshorty-0.5.2-py2-none-any.whl (13.7 kB) Copy SHA256 Checksum SHA256||py2||Wheel||Aug 3, 2016|
|djshorty-0.5.2-py3-none-any.whl (13.7 kB) Copy SHA256 Checksum SHA256||py3||Wheel||Aug 3, 2016|
|djshorty-0.5.2.tar.gz (12.7 kB) Copy SHA256 Checksum SHA256||–||Source||Aug 3, 2016|