Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

# django-bootstrap3-daterangepicker

This is django field wrapper for http://www.daterangepicker.com/ . Useful for reporting services.

Field data format is tuple (start_date, end_date).

Installation:
---

1. ```pip install django_bootstrap3_daterangepicker```
2. add `'django_bootstrap3_daterangepicker'` to `INSTALLED_APPS`


Usage:
----
* jQuery, Bootstrap are required on target page

```python
class PeriodFilter(forms.Form):
range = DateRangeField(widget=DateRangeWidget(picker_options={
'ranges': common_dates()
}))

# ...
form = PeriodFilter(initial={'range': (date.today(), date.today())})
# ...
(from_date, to_date) = form.cleaned_data['range']
```

Template - don't forget media:
```html
{% block extracss %}
{{ filter.media['css'] }}
{% endblock %}
{% block endscripts %}
{{ super() }}
{{ filter.media['js'] }}
{% endblock %}

{% block content %}
{{ filter.range }}
{% endblock %}
```

Special thanks to https://github.com/nkunihiko/django-bootstrap3-datetimepicker/ for guidance in creating custom fields.

Metadata

Release files for django_bootstrap3_daterangepicker 1.0.0b5

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_bootstrap3_daterangepicker 1.0.0b5
File Size Uploaded Provenance Actions
django_bootstrap3_daterangepicker-1.0.0b5.zip 59.0 kB Without provenance Details for django_bootstrap3_daterangepicker-1.0.0b5.zip

Release files / django_bootstrap3_daterangepicker-1.0.0b5.zip

Download URL django_bootstrap3_daterangepicker-1.0.0b5.zip
Size 59.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e87674c4ed0f97de81ef30abcb99e8fcff812e03270680158c473755dbef41e5
BLAKE2b-256 checksum
How to use checksums
16ab91db540bb837fbff2304ddbeb590a2973b09d5da9d4381854da87153f909
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django_bootstrap3_daterangepicker 1.0.0b5

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