Widgets and autocompletion endpoints for Choices.js in Django.
https://django-choices-js.3po.ch
- JavaScript 88%
- Python 6.9%
- CSS 4%
- HTML 0.6%
- Shell 0.3%
- Other 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| django_choices_js | ||
| docs | ||
| example | ||
| scripts | ||
| .gitignore | ||
| LICENSE | ||
| pyproject.toml | ||
| README.rst | ||
| requirements.txt | ||
django-choices-js
=================
Widgets and autocompletion endpoints for `Choices.js <https://github.com/Choices-js/Choices>`_ in `Django <https://www.djangoproject.com/>`_.
Installation
============
Install django-choices-js:
.. code-block:: bash
pip install git+https://github.com/RasmusAntons/django-choices-js.git
Add ``django_choices_js`` to your ``INSTALLED_APPS``.
.. code-block:: python
INSTALLED_APPS = [
# ...
'django_choices_js',
]
Add ``django_choices_js.urls`` to your URL configuration:
.. code-block:: python
urlpatterns = [
# ...
path("django_choices_js/", include("django_choices_js.urls")),
]