Git Product home page Git Product logo

crisvp / django-autocomplete-light Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yourlabs/django-autocomplete-light

0.0 2.0 0.0 10.77 MB

A fresh approach to autocomplete implementations, specially for Django. It supports templated autocompletes, foreign key, many to many, generic foreign key, generic many to many, autocompletes that depend on each other, etc, etc ... Status: 2.x.x stable, 1.x.x deprecated.

Home Page: http://django-autocomplete-light.rtfd.org

License: MIT License

Python 75.34% JavaScript 17.38% HTML 4.27% CSS 2.42% Shell 0.60%

django-autocomplete-light's Introduction

https://secure.travis-ci.org/yourlabs/django-autocomplete-light.png?branch=master https://pypip.in/d/django-autocomplete-light/badge.png https://pypip.in/v/django-autocomplete-light/badge.png https://coveralls.io/repos/yourlabs/django-autocomplete-light/badge.png?branch=stable/2.x.x

django-autocomplete-light's purpose is to enable autocompletes quickly and properly in a django project: it is the fruit of years of R&D. It was designed for Django so that every part overridable or reusable independently. It is stable, tested, documented and fully supported: it tries to be a good neighbour in Django ecosystem.

Features

Features include:

  • charfield, foreign key, many to many autocomplete widgets,
  • generic foreign key, generic many to many autocomplete widgets,
  • django template engine support for autocompletes, enabling you to include images etc ...
  • 100% overridable HTML, CSS, Python and Javascript: there is no variable hidden far down in the scope anywhere.
  • add-another popup supported outside the admin too.
  • keyboard is supported with enter, tab and arrows by default.
  • Django 1.7, Python3 support

Each feature has a live example and is fully documented. It is also designed and documented so that you create your own awesome features too.

Upgrade from 1.x.x

To upgrade to v2, please enjoy the v1 to v2 upgrade instructions (documented with love !).

  • the Autocomplete class design hasn't changed at all.
  • yourlabsWidget() doesn't parses data-* options the same,
  • the django/form python code has been re-organised ie. get_widgets_dict() is gone and autocomplete_light.ModelForm wraps around all features by default.
  • use autocomplete_light.ModelForm instead of autocomplete_light.GenericModelForm - generic foreign keys and django-generic-m2m are supported by default if installed.

Resources

Resources include:

django-autocomplete-light's People

Contributors

jpic avatar blueyed avatar mpasternak avatar mariocesar avatar vibragiel avatar emesik avatar saex avatar balmaster avatar vosi avatar huxley avatar jonashaag avatar g1itch avatar bburan avatar mfa avatar luzfcb avatar katomaso avatar thijstriemstra avatar rrmoelker avatar nickcatal avatar crisvp avatar marcelometal avatar mazzly avatar metzlar avatar fallenflint avatar sigilion avatar ekohl avatar dstegelman avatar bergsoft avatar pmmertens avatar xrmx avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.