I\'ve been trying to write a custom template tag to shorten links with bitly, I\'ve attached the code and error I\'ve been getting below. I\'ve tried to look into the docume
The error is on this line:
{{ bitlyshort "http://www.google.com" }}
Template tags use {% ... %} (template filters use {{ ... }}). Try:
{% ... %}
{{ ... }}
{% bitlyshort "http://www.google.com" %}