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 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