Skip to main content
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'

Release files for django-goto-url 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-goto-url 0.3
File Size Uploaded
django-goto-url-0.3.tar.gz 2.6 kB Details

Release files / django-goto-url-0.3.tar.gz

Download URL django-goto-url-0.3.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
55ce9ee8b396be3c7972fc078bb1c8ab5dbf6e97f4402ed2fea60a4188fb181d
BLAKE2b-256 checksum
How to use checksums
a6f18d240eb2e64978aae031511f9f4d1d0a8de196ae949272fe136cd3b7f29f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page