Django app for shortening urls
The full documentation is at https://django-url-shorter.readthedocs.io.
Install Django URL shorter:
pip install django-url-shorter
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'url_shorter.apps.UrlShorterConfig',
...
)
Add Django URL shorter's URL patterns:
from url_shorter import urls as url_shorter_urls
urlpatterns = [
...
url(r'^', include(url_shorter_urls)),
...
]
- TODO
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Tools used in rendering this package: