skip to navigation
skip to content

Not Logged In

django-easy-select2 1.2.6

Django select2 theme for select input widgets.

Latest Version: 1.3.1

This is django application that brings select2 widget to select inputs in admin.

How it looks

Select one of existing values with single-valued choice field (ForeignKeyField, for example):

Easily select 1 or more “categories” for your project, you can also add a new one in the normal, Django-Admin manner by using the green + button with multiple-valued choice field (ManyToManyField):

Don’t see the “mood” you want? No problem, just type in a new one. It will be there as a choice for the next time too (text input).


In your

from django.contrib import admin
from easy_select2 import select2_modelform
from polls.models import Poll

PollForm = select2_modelform(Poll, attrs={'width': '250px'})

class PollAdmin(admin.ModelAdmin):
    form = PollForm

Thats all. All your choice widgets are select2 widgets 250px wide.


You can read more in the documentation.

File Type Py Version Uploaded on Size
django-easy-select2-1.2.6.tar.gz (md5) Source 2014-07-17 147KB
  • Downloads (All Versions):
  • 131 downloads in the last day
  • 683 downloads in the last week
  • 2803 downloads in the last month