This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Shows a dialog popup with helptext for the admin fields that you have indicated.

Requirements

  • django-redactoreditor

Installation

Install the app via pip:

$ pip install django-admin-dialog

Add django_admin_dialog and redactor to your installated apps:

INSTALLED_APPS = (
    ...
    'redactor',
    'django_admin_dialog',
    ...

Add the context processor to your TEMPLATE_CONTEXT_PROCESSORS:

TEMPLATE_CONTEXT_PROCESSORS = (
    ...
    'django_admin_dialog.context_processors.django_admin_dialog',
)

Override the admin base template (base.html) and include this:

{% include "django_admin_dialog/django_admin_dialog.html" %}

In your admin.py file, add this mixin for all your ModelAdmin’s that you want to add the dialog:

from django_admin_dialog.mixins import DjangoAdminDialogMixin

class MyModelAdmin(DjangoAdminDialogMixin, admin.ModelAdmin):
...

And run the migrations:

$ manage.py migrate django_admin_dialog

Usage

Access to the DjangoAdminDialog application.

In this form you indicate the url on which you want to show the modal dialog boxes and the field id.

If you want to know the name of the form fields, you can set this setting variable:

DJANGO_ADMIN_DIALOG_SHOW_IDS = True

Now if you access to your model form, you can see the field id’s next to them.

When you access to your model admin form, you can see a new icon next to the field that you indicate previously.

And now you can click on this icon to show the dialog.

Release History

Release History

1.0.8

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.7

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.6

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.5

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-admin-dialog-1.0.8.tar.gz (99.2 kB) Copy SHA256 Checksum SHA256 Source Sep 14, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting