All Projects → asyncee → Django Easy Select2

asyncee / Django Easy Select2

Licence: mit
Select2 input widget for django selectable fields.

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Django Easy Select2

Cheatsheets.pdf
📚 Various cheatsheets in PDF
Stars: ✭ 159 (-3.64%)
Mutual labels:  django
Django Grpc Framework
gRPC for Django.
Stars: ✭ 162 (-1.82%)
Mutual labels:  django
Dissemin
This repository has migrated to https://gitlab.com/dissemin/dissemin
Stars: ✭ 163 (-1.21%)
Mutual labels:  django
Episodes
Self Hosted TV show Episode tracker and recommender built using django, bootstrap4.
Stars: ✭ 160 (-3.03%)
Mutual labels:  django
Zappa Django Guide
A full featured walkthough of using django on zappa (powered by AWS Lambda in serverless environment)
Stars: ✭ 161 (-2.42%)
Mutual labels:  django
Pongo2
Django-syntax like template-engine for Go
Stars: ✭ 2,111 (+1179.39%)
Mutual labels:  django
Django Herald
A Django messaging library
Stars: ✭ 159 (-3.64%)
Mutual labels:  django
Consumerfinance.gov
Django project protecting American consumers
Stars: ✭ 164 (-0.61%)
Mutual labels:  django
Junction
Junction is a software to manage proposals, reviews, schedule, feedback during conference.
Stars: ✭ 161 (-2.42%)
Mutual labels:  django
React Select2 Wrapper
Wrapper for Select2
Stars: ✭ 163 (-1.21%)
Mutual labels:  select2
Mezzanine Themes
Free Mezzanine CMS themes
Stars: ✭ 160 (-3.03%)
Mutual labels:  django
Django Auth Tutorial
Source code for Django authentication tutorial.
Stars: ✭ 160 (-3.03%)
Mutual labels:  django
Archweb
Arch Linux website code
Stars: ✭ 161 (-2.42%)
Mutual labels:  django
Maas
Official MAAS repository mirror (may be out of date). Development happens in Launchpad (https://git.launchpad.net/maas/).
Stars: ✭ 160 (-3.03%)
Mutual labels:  django
Django Loci
Reusable Django app for storing geographic and indoor coordinates. Maintained by the OpenWISP Project.
Stars: ✭ 164 (-0.61%)
Mutual labels:  django
Django Vue Admin
基于RBAC模型权限控制的中小型应用的基础开发平台,前后端分离,后端采用django+django-rest-framework,前端采用vue+ElementUI,移动端采用uniapp+uView(可发布h5和小程序).
Stars: ✭ 157 (-4.85%)
Mutual labels:  django
Visual Chatbot
☁️ 👀 💬 Visual Chatbot
Stars: ✭ 161 (-2.42%)
Mutual labels:  django
Musicrecommendersystem
Django-Based Music Recommendation
Stars: ✭ 165 (+0%)
Mutual labels:  django
Jmeter Control Center
Online web application-dashboard for report analyzing,running and online monitoring of load tests started with JMeter
Stars: ✭ 164 (-0.61%)
Mutual labels:  django
Django Material Admin
Material design for django administration
Stars: ✭ 163 (-1.21%)
Mutual labels:  django

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


|python| |pypi| |travis| |coveralls| |license|

Project aims to support 3.4+ and Django 2.0+.

For Django < 2.0 version support or python-2.x compatibility, please use version 1.3.4 which is the last version to support python-2.x compatibility.

This django library is just a lightweight wrapper on Select2 library and provides easy-to-use basic select2 functionality in a django project. If you need feature-rich solution, i recommend you to look at the latest django-select2_ library, which have ajax loading support.

If anyone really wants this functionality in django-easy-select2, please feel free to contribute.

.. _django-select2: https://github.com/applegrew/django-select2

Currently project is not in active development state and is maintained by community. Pull requests are welcomed!

Upgrade notes

For details please read changelog_.

How it looks

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

.. image:: https://github.com/asyncee/django-easy-select2/raw/master/screenshots/select2_single.png :target: https://github.com/asyncee/django-easy-select2/raw/master/screenshots/select2_single.png

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

.. image:: https://github.com/asyncee/django-easy-select2/raw/master/screenshots/select2_multiple.png :target: https://github.com/asyncee/django-easy-select2/raw/master/screenshots/select2_multiple.png

Quickstart

In your admin.py:

.. code-block:: python

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.

Documentation

You can read more in the documentation_.

.. _documentation: http://django-easy-select2.readthedocs.org

.. _changelog: http://django-easy-select2.readthedocs.org/en/latest/changelog.html

.. |pypi| image:: https://img.shields.io/pypi/v/django-easy-select2.svg?style=flat-square :target: https://pypi.python.org/pypi/django-easy-select2 :alt: pypi

.. |travis| image:: https://img.shields.io/travis/asyncee/django-easy-select2.svg?style=flat-square :target: https://travis-ci.org/asyncee/django-easy-select2 :alt: Travis Build

.. |coveralls| image:: https://img.shields.io/coveralls/asyncee/django-easy-select2.svg?style=flat-square :target: https://coveralls.io/r/asyncee/django-easy-select2 :alt: coverage

.. |license| image:: https://img.shields.io/github/license/asyncee/django-easy-select2.svg?style=flat-square :target: https://github.com/asyncee/django-easy-select2/blob/master/LICENSE.txt :alt: MIT License

.. |python| image:: https://img.shields.io/badge/python-3.x-blue.svg?style=flat-square :target: https://pypi.python.org/pypi/django-easy-select2 :alt: Python 3.x

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].