Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apis-override-select2js

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apis-override-select2js

Override select2js files in APIS Django projects

  • 0.2.1
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc