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%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-10-03 01:07:11 +02:00
django_choices_js initial commit 2024-10-01 23:31:27 +02:00
docs initial commit 2024-10-01 23:31:27 +02:00
example fix typo in example settings 2024-10-03 01:07:11 +02:00
scripts initial commit 2024-10-01 23:31:27 +02:00
.gitignore initial commit 2024-10-01 23:31:27 +02:00
LICENSE initial commit 2024-10-01 23:31:27 +02:00
pyproject.toml add docs dependencies 2024-10-03 00:12:18 +02:00
README.rst add pyproject.toml 2024-10-03 00:06:38 +02:00
requirements.txt initial commit 2024-10-01 23:31:27 +02:00

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")),
    ]