Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.
mgd020Public archive

About

Enable select2 for Django admin select inputs

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Latest commit

 

History

13 Commits

Folders and files

Repository files navigation

django-admin-select2

Enable select2 for Django admin select inputs.

Automatically applies to all selects, excluding filtered selects (e.g. auth.User.groups).

Tested with Django versions 1.11 and 2.0.

Installation

pip install django-admin-select2

Update settings.py:

INSTALLED_APPS = [
    ...
    # must go before django.contrib.admin
    'django_admin_select2',
    ...
]

How it works

This app adds an overriding template for admin/base_site.html, adding the required css and js to extrahead and footer blocks respectively.

About

Enable select2 for Django admin select inputs

Topics

Resources

Stars

8 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages