Skip to main content

django-admin-contextmenu

This is a multi-directional context menu for Django admin. It adds a new column in your admin's changelist page, after the checkbox column. When it is clicked a pop menu opens. The menu is completely empty and it is the best place for including links to other entites.

Requirements

  • Django > 2.2
  • Python > 3.5

Installation

Use your favorite Python package manager to install the app from PyPI, e.g.

Example:

pip install django-admin-contextmenu

Add contextmenu to INSTALLED_APPS:

Example:

    INSTALLED_APPS = (
        ...
        'contextmenu',
        ...
    )

Example usage in admin

    from contextmenu.options import CustomModelAdmin


    @admin.register(ExampleModel)
    class ExampleAdmin(CustomModelAdmin):

        def get_contextmenu_items(self, obj):
            return [
                {'title': 'Example link title', 'url': 'http://example.url'},
                .
                .
                .
                .
                {'title': 'Example link title', 'url': 'http://example.url'},
            ]
```## [0.1.0] - 2020-03-05
### Added
- Initial commit

Metadata

Release files for django-admin-contextmenu 0.1.0

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-admin-contextmenu 0.1.0
File Size Uploaded Provenance
django-admin-contextmenu-0.1.0.tar.gz 4.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-admin-contextmenu 0.1.0
File Interpreter ABI Platform
django_admin_contextmenu-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.5 kB

Release files / django-admin-contextmenu-0.1.0.tar.gz

Download URL django-admin-contextmenu-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f3b4a46d0456032172ea557de7e7d3c2065acaac650cbca302881d3d899b77b5
BLAKE2b-256 checksum
How to use checksums
a78a36234c0c4f356068c98402d34a1a9d6b72cdc22db348403aaffaaefc7f25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

Release files / django_admin_contextmenu-0.1.0-py3-none-any.whl

Download URL django_admin_contextmenu-0.1.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cb9bbd3a0b78c2af4740d1e8ceb12ccce37b2d49fe79e3f693a173f94a078f4d
BLAKE2b-256 checksum
How to use checksums
8ce2b019ca02ea1180455e47895aaf53c2468ecb8bc615bd80b8a5b53c4f1cb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.9

Security for django-admin-contextmenu 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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