Skip to main content

Override select2js files in APIS Django projects

Project description

Override select2js files in APIS Django projects

This is a minimal Django project that ships 2 files that are originally part of Django Autocomplete Light. The two files are patched, so that they fix a behaviour with the tags option of the select implementation in Django Autocomplete Light. See also this bug report upstream. The exact changes are documented in contrib/patches.

If you want to override the upstream shipped javascript files, you will have install this Django project and add apis_override_select2js to the beginning of your Django settings INSTALLED_APPS.

You will get a warning from Django when doing the collectstatic step:

Found another file with the destination path
'autocomplete_light/select2.min.js'. It will be ignored since only the first
encountered file is collected. If this is not what you want, make sure every
static file has a unique path.
Found another file with the destination path 'autocomplete_light/select2.js'.
It will be ignored since only the first encountered file is collected. If this
is not what you want, make sure every static file has a unique path.

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

apis_override_select2js-0.2.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

apis_override_select2js-0.2.1-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file apis_override_select2js-0.2.1.tar.gz.

File metadata

File hashes

Hashes for apis_override_select2js-0.2.1.tar.gz
Algorithm Hash digest
SHA256 9afed572e9ceec28e74cdf03da27e6288b284d3431da664ef0996bcf50f3e55f
MD5 9f15652ef2dc9a9fc73828f8709e937b
BLAKE2b-256 fd534b7041802cd9633506b049c3e6c6eaa199ab18d52b24fd548d16a164600f

See more details on using hashes here.

File details

Details for the file apis_override_select2js-0.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for apis_override_select2js-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d42e92194ac4dbfc0225b42f4c18ae0c0bb6a6b295f3f7051ae35c62bb3b68e8
MD5 b01329774b9f431a72058240ee47dac3
BLAKE2b-256 c8c3e4728f057592099497c3cbdfb7409bc00b5fa0a1cb3629ec07f2793af8e5

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