Skip to main content

djangocms-link2

A link/-structure management plugin that replaces the plugin shipped with django-cms with a robust version that employs file fields from django-filer. It can be used as a drop-in replacement for cmsplugin_filer_link. The package contains a management command to migrate all existing Link-instances from cmsplugin_filer_link to link2.

Code Analysis

Features

cmsplugin_filer_link is already a great plugin and link2 builds on it. The following advantages are available in this package:

  • robust django-cms link plugin which doesn’t fail loudly

  • persists the internal url as well

  • can be copied safely between languages (even if the target page is not yet available in this language)

  • internal and external links are monitored (through a management command)

  • faulty links are visually highlighted for the content editor

  • an admin page lists all faulty links

  • easy migration from cmsplugin_filer_link (through a management command)

Dependencies

  • django-filer >= 1.2

  • Django >= 1.8

  • django-cms >= 3.1

  • djangocms-attributes-field

  • requests

Installation

To get started using djangocms-link2:

  • install it with pip:

    $ pip install djangocms-link2
  • add the plugins to INSTALLED_APPS:

    INSTALLED_APPS = (
        ...
        'cmsplugin_filer_link2',
        ...
    )
  • run migrate cmsplugin_filer_link2.

  • remove the default djangocms-link or cmsplugin_filer_link from your INSTALLED_APPS

  • add LINK_DOMAIN = 'www.yourdomain.com' to your settings to make sure files and relative paths can be checked through the management command.

Management Command

./manage.py check_links allows you to check all Link instances. ./manage.py check_links --timeout=20 allows you to set a timeout for quicker checks. Default timeout is 60 seconds.

Metadata

Release files for djangocms-link2 1.1.5

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

Source distribution (sdist)

Source distribution for djangocms-link2 1.1.5
File Size Uploaded Provenance Actions
djangocms-link2-1.1.5.tar.gz 17.6 kB Without provenance Details for djangocms-link2-1.1.5.tar.gz

Release files / djangocms-link2-1.1.5.tar.gz

Download URL djangocms-link2-1.1.5.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
41c6374894860187a22fed2487bee6c352f71c2276bb044cb7c672d3ede1def5
BLAKE2b-256 checksum
How to use checksums
848d556e1c3617086e29ff165743bb20879196c80ae181819f9a3d350e897574
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

Security for djangocms-link2 1.1.5

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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