
Security News
GitHub Actions Pricing Whiplash: Self-Hosted Actions Billing Change Postponed
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.
django-admin-dialog
Advanced tools
Shows a dialog popup with helptext for the admin fields that you have indicated.
Shows a dialog popup with helptext for the admin fields that you have indicated.
Install the app via pip:
.. code-block:: bash
$ pip install django-admin-dialog
Add django_admin_dialog and redactor to your installated apps:
.. code-block:: python
INSTALLED_APPS = (
...
'redactor',
'django_admin_dialog',
...
Add the context processor to your TEMPLATE_CONTEXT_PROCESSORS:
.. code-block:: python
TEMPLATE_CONTEXT_PROCESSORS = (
...
'django_admin_dialog.context_processors.django_admin_dialog',
)
Override the admin base template (base.html) and include this:
.. code-block:: html
{% 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:
.. code-block:: python
from django_admin_dialog.mixins import DjangoAdminDialogMixin
class MyModelAdmin(DjangoAdminDialogMixin, admin.ModelAdmin):
...
And run the migrations:
.. code-block:: bash
$ manage.py migrate django_admin_dialog
Access to the DjangoAdminDialog application.
.. image:: https://raw.github.com/quiqueporta/django-admin-dialog/master/app.png
In this form you indicate the url on which you want to show the modal dialog boxes and the field id.
.. image:: https://raw.github.com/quiqueporta/django-admin-dialog/master/admin_form.png
If you want to know the name of the form fields, you can set this setting variable:
.. code-block:: python
DJANGO_ADMIN_DIALOG_SHOW_IDS = True
Now if you access to your model form, you can see the field id's next to them.
.. image:: https://raw.github.com/quiqueporta/django-admin-dialog/master/field_ids.png
When you access to your model admin form, you can see a new icon next to the field that you indicate previously.
.. image:: https://raw.github.com/quiqueporta/django-admin-dialog/master/help_button.png
And now you can click on this icon to show the dialog.
.. image:: https://raw.github.com/quiqueporta/django-admin-dialog/master/help_dialog.png
FAQs
Shows a dialog popup with helptext for the admin fields that you have indicated.
We found that django-admin-dialog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub postponed a new billing model for self-hosted Actions after developer pushback, but moved forward with hosted runner price cuts on January 1.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.