Skip to main content

Extend django-cms with admin form links, editing object from the toolbar

Project description

# django-cmsplugin-objects

## What does it do?

Provides an extra toolbar in the django cms tools, allowing administrators easy
access to the administrator pages for the currently in scope object or object type.

For example, if the page contains a list of blog entries, then you will have the option
to create a new blog entry. Which will pop up the admin form in the in-line django-cms
modal dialog. (Usually when using ListView generic clas sbased views)

If the page contains a single Blog entry object, then an Edit and Delete option will be
made available and these operate much like the Create form.

## Installation

```
pip install cmsplugin-objects
```

Add the plugin to your site's middleware in settings.py::

```
MIDDLEWARE_CLASSES = (
...
'cmsplugin_objects.middleware.ObjectToolbarMiddleware',
...
)
```

Then restart your web server.

## Issues

Please submit issues and merge requests at GitHub issues tracker: https://github.com/doctormo/django-cmsplugin-objects/issues/.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

cmsplugin-objects-1.0.tar.gz (15.2 kB view details)

Uploaded Source

File details

Details for the file cmsplugin-objects-1.0.tar.gz.

File metadata

File hashes

Hashes for cmsplugin-objects-1.0.tar.gz
Algorithm Hash digest
SHA256 ffa5fab5ac5548d0baa2807ab08586d55c7f2335b7da7c1b03e719c067d9b674
MD5 db93165807d8fcd6b45cfce8a8221480
BLAKE2b-256 f967e31f550040a61f0fc6c20fc6c683d62d00c6cd22381d2e75c1bd392e5a10

See more details on using hashes here.

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