Skip to main content

A Mezzanine app to create, display, and track links.

Project description

LinkDump is a Mezzanine module that lets you create, display and track links.

Usage

Install via pip:

pip install mezzanine-linkdump

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    # ...

    "linkdump",
)

Include the urls into your project’s urls.py:

urlpatterns += patterns('',
    ("^links/", include('linkdump.urls')),
    ("^", include("mezzanine.urls")),
)

If you want a shorter link for the redirects, route the URL to the linkdump.views.link_dump_redirect view:

urlpatterns += patterns('',
    ("^links/", include('linkdump.urls')),
    (r"^l/(.*)", "linkdump.views.link_dump_redirect"),
    ("^", include("mezzanine.urls")),
)

To integrate into the navigation, create a new Page with links as the URL.

Config

The following settings may be specified in your project’s settings.py:

  • LINKDUMP_SLUG_CHOICES - Characters used for link slugs.

  • LINKDUMP_SLUG_LENGTH - Length of generated slugs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mezzanine-linkdump-1.0.0.tar.gz (18.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page