Skip to main content

django-508-plugins

Installable Django app containing 508-compliant plugins.

Requirements:

  • jQuery 3.6.0+ or jQuery 3.4.1.

Current 508 Compliant packages:

  • select2 v3 [ Docs ]
  • selectcn (select2 V4.1.0-rc.0) [ Docs ]
  • jQuery 1.11.4 Datepicker [ Git | Docs ]

Usage

pip install django-508-plugins

select2

Add plugins.select2 to your INSTALLED_APPS setting. Then, add the following source files to your template::

select2/select2.css
select2/select2-bootstrap.css # Only needed if using Bootstrap 3
select2/select2.js

Note: It is highly recommnded you do not include both plugins.select2 and plugins.selectcn stylesheets in the same template. These stylesheets include rules that will conflict with each other and can cause unexpected results.

selectcn

Add plugins.selectcn to your INSTALLED_APPS setting. Then, add the following source files to your template::

selectcn/css/selectcn.css
selectcn/js/selectcn.js

Note: It is highly recommended you do not include both plugins.selectcn and plugins.select2 stylesheets in the same template. These stylesheets include rules that will conflict with each other and can cause unexpected results.

When using selectcn, make sure the the for attribute of the related <label> tag matches the ID of the select box.

datepicker

Add plugins.datepicker to your INSTALLED_APPS setting. In order for the 508 Compliant datepicker to work, you must include jQuery UI in your template. Add the following source files to your template::

jquery-ui/jquery-ui.css
jquery-ui/jquery-ui.js
datepicker/js/jqueryui_datepicker_508.js

Note This build of jquery-ui only includes the jQuery UI Datepicker. Other jQuery UI components may not be 508 Compliant.

Note This build also contain a yet to be released bug fix on datepicker which caused issues with a datepicker's dropdown widget placement on screen if it was in a popover or modal or there was scrolling. This bugfix has yet to be released on the current stable version of jquery-ui and this build still uses the legacy 1.11.4 build which will likely never get this bugfix. The pull request for this issue is here: https://github.com/jquery/jquery-ui/pull/1935. These changes were built and minified the same way that jquery-ui builder built the source for the original jquery-ui in here, only instead built using a local instance of download.jqueryui.com against the one line change from the bug fix applied to the 1.11 stable branch jquery-ui.ui.datepicker.js file.

Minified versions of datepicker source files are also included in the install.

Metadata

Release files for django-508-plugins 3.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-508-plugins 3.1.0
File Size Uploaded Provenance Actions
django_508_plugins-3.1.0.tar.gz 373.0 kB Without provenance Details for django_508_plugins-3.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-508-plugins 3.1.0
File Interpreter ABI Platform Actions
django_508_plugins-3.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_508_plugins-3.1.0-py2.py3-none-any.whl

Total release size: 786.6 kB

Release files / django_508_plugins-3.1.0.tar.gz

Download URL django_508_plugins-3.1.0.tar.gz
Size 373.0 kB
Tags Source
SHA-256 checksum
How to use checksums
aa0517fa466453ff84b35388da7faa40cfa2d066b4b23583cade0cca04612636
BLAKE2b-256 checksum
How to use checksums
4175f8bbbfb8ffc157171fc69dbb5e593bf14f80bf1546f793e62ac7b252a049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Release files / django_508_plugins-3.1.0-py2.py3-none-any.whl

Download URL django_508_plugins-3.1.0-py2.py3-none-any.whl
Size 413.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ffd40f17fb40f2c3b8858a2d9e4f9c75356049d2333fb2b665819ccf8ae9bb97
BLAKE2b-256 checksum
How to use checksums
b41f5c7dd6028c4d3955d2ddc265667eb9728e88c40b5319b5f4750bd570e31d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.13

Security for django-508-plugins 3.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page