Skip to main content

js.bootstrapdatepicker

This library packages Bootstrap Datepicker for fanstatic. It is aware of different modes (normal, minified).

This requires integration between your web framework and fanstatic, and making sure that the original resources (shipped in the resources directory in js.bootstrapdatepicker) are published to some URL.

How to use?

You can import the Bootstrap Datepicker from js.bootstrapdatepicker and need it where you want these resources to be included on a page:

>>> from js.bootstrapdatepicker import bootstrapdatepicker
>>> bootstrapdatepicker.need()

Locales

Also included are locales for the bootstrap datepicker.

How to get the right locale for the current request depends on your web framework. In Pyramid you could e.g. do something like this:

from js.bootstrapdatepicker import bootstrapdatepicker_locales
from pyramid.i18n import get_locale_name

locale_name = get_locale_name(request)
if locale_name in bootstrapdatepicker_locales:
    bootstrapdatepicker_locales[locale_name].need()

CHANGES

1.1.3 (2016-02-27)

1.0 (2012-09-25)

  • Initial release.

Release files for js.bootstrapdatepicker 1.1.3

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

Source distribution (sdist)

Source distribution for js.bootstrapdatepicker 1.1.3
File Size Uploaded
js.bootstrapdatepicker-1.1.3.zip 81.1 kB Details

Release files / js.bootstrapdatepicker-1.1.3.zip

Download URL js.bootstrapdatepicker-1.1.3.zip
Size 81.1 kB
Tags Source
SHA-256 checksum
How to use checksums
443bf22ca082682a5e62df31d9019f0635f936319c82bac304879eff31c89ee3
BLAKE2b-256 checksum
How to use checksums
2cfc13eb1715d23de87a7809cacf299e79b39af8b7028488b0252cf2000550f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.1.3 This release

1 release file

1.0

1 release file

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