Django short url on goo.gl
Python
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
googl
.gitignore
README.md
setup.py

README.md

django-googl

PyPi version PyPi downloads

Django short url on goo.gl

http://pypi.python.org/pypi/django-googl

Installation

pip install django-googl

Usage

Add googl to your INSTALLED_APPS

Load googl in your template:

{% load googl %}

And use googl filter:

{{ "http://google.com"|googl }}

Use googl in backend:

from googl.short import GooglUrlShort

GooglUrlShort("http://avelino.us/").short()