Skip to main content

LinkDump

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

Example usage can be seen at SleepAnarchy.com

Usage

Install the package and dependencies via pip:

pip install mezzanine-linkdump

Add the linkdump app and the mptt dependency to your INSTALLED_APPS:

INSTALLED_APPS = (
    # ...

    "mptt",
    "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.

Contributing

You can install prerequisites using pip:

pip install -r requirements.txt

The official bug tracker lives at http://bugs.sleepanarchy.com/projects/mezzanine-linkdump/, but a github mirror is available for pull requests at http://github.com/prikhi/mezzanine-linkdump/.

Metadata

Release files for mezzanine-linkdump 1.0.1

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

Source distribution (sdist)

Source distribution for mezzanine-linkdump 1.0.1
File Size Uploaded Provenance
mezzanine-linkdump-1.0.1.tar.gz 19.0 kB Without provenance Details

Release files / mezzanine-linkdump-1.0.1.tar.gz

Download URL mezzanine-linkdump-1.0.1.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ecc3762a4c999db686ad35b94a543bac47d6c9f459ea200b445e159cae2dc2b2
BLAKE2b-256 checksum
How to use checksums
b38a4c3435a3b5958ca81f4baad71ccf5677be11796c6657697481be19dd7513
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mezzanine-linkdump 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file No provenance

0.0.1

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