django-rewrite-external-links

Software Screenshot:
django-rewrite-external-links
Software Details:
Version: 0.4.2
Upload Date: 20 Feb 15
Developer: Incuna Ltd
Distribution Type: Freeware
Downloads: 18

Rating: 3.0/5 (Total Votes: 2)

django-rewrite-external-links is a rewrite all external links (using a middleware class) to go via a message page.

Installing / usage

If you want to use the provided templates add 'rewrite_external_links' to INSTALLED_APPS.
Add 'rewrite_external_links.middleware.RewriteExternalLinksMiddleware' to MIDDLEWARE_CLASSES.
Add (r'', include('rewrite_external_links.urls')) to the urls.

If you want to load the external links message using javascript AJAX then add something like the following to your template:

    < script >$(document).ready(function () { $('a[href^={% url external_link '' %}]').fancybox(); });< /script >

Requirements:

  • Python
  • Django

Other Software of Developer Incuna Ltd

Comments to django-rewrite-external-links

Comments not found
Add Comment
Turn on images!