skip to navigation
skip to content

Not Logged In

django-goto-url 0.3

Wraps external links in base64 and relocate on the special View, later redirect to source URL

https://secure.travis-ci.org/adw0rd/django-goto-url.png

Wraps external links in base64 and relocate on the special View, later redirect to source URL

pip install django-goto-url

For more details see:

Settings:

Add to settings.py:

INSTALLED_APPS = (
    'goto_url',
)

Add to url.py:

urlpatterns = patterns('',
    url(r'', include('goto_url.urls')),
)

Usage:

  1. The templates can be used as follows:

    {% load goto_url %}
    {% goto_url comment.user_url %}
    {% goto_url "http://adw0rd.com/" %}
    
  2. Not in the templates can be used as follows:

    from goto_url.utils import goto_url
    
    goto_url('http://adw0rd.com/')
    >>> '/goto/aHR0cDovL2FkdzByZC5jb20v'
    
 
File Type Py Version Uploaded on Size
django-goto-url-0.3.tar.gz (md5) Source 2012-11-28 2KB
  • Downloads (All Versions):
  • 47 downloads in the last day
  • 155 downloads in the last week
  • 381 downloads in the last month