Skip to main content

Django-Select2 extended with dependant widgets

Project description

Django-Linked-Select2
=====

Django-Linked-Select2 is an extension to
[Django-Select2](https://github.com/applegrew/django-select2/),
which allows to create some simple inter-widget dependencies, like limiting choices of one widget based on value of other widget or even querying instances of specific model for generic relations.

This app does not support linked FormSets with variable amount of widgets.


## Installation

1. Add `linked_select2` to your `INSTALLED_APPS` setting before `django_select2`:


```
#!python

INSTALLED_APPS = [
...
'linked_select2',
'django_select2',
]
```

2. Add `linked_select` to your urlconf if you use any 'Auto' fields:


```
#!python

url(r'^select2/', include('linked_select2.urls')),
```


## Documentation
Documentation available at http://django-linked-select2.readthedocs.io/.

## License

>Copyright 2016 Miron Olszewski

>Licensed under the Apache License, Version 2.0 (the "License");
>you may not use this file except in compliance with the License.
>You may obtain a copy of the License at

> http://www.apache.org/licenses/LICENSE-2.0

>Unless required by applicable law or agreed to in writing, software
>distributed under the License is distributed on an "AS IS" BASIS,
>WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
>See the License for the specific language governing permissions and
>limitations under the License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Django-Linked-Select2-0.7.1.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

Django_Linked_Select2-0.7.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file Django-Linked-Select2-0.7.1.tar.gz.

File metadata

File hashes

Hashes for Django-Linked-Select2-0.7.1.tar.gz
Algorithm Hash digest
SHA256 267363457a9c0eeeff3e80646d8064db42f80bb61dd171c85ab74046eb43f7dd
MD5 56964ca26f82e3d7412831a4702dceba
BLAKE2b-256 79b51758c58adef18a4545acbd8bbcb762f5efbb17bed4cdc9527eb6b80b5c4c

See more details on using hashes here.

File details

Details for the file Django_Linked_Select2-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Django_Linked_Select2-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 71fb22d99168e13cb571559f6aba38d5b3c08e0fbf19b83b2088a1892fdf28fd
MD5 8fee69c1d75b4444a7e09d77333d6f14
BLAKE2b-256 390aac8be6c5a0de7a90c5f66f69884eaf1fc715791079f88060ba98ce2b6fb6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page