Skip to main content
# Django-NumericFieldListFilter

Django-NumericFieldListFilter is a plugin for Django. It allows easy filtering of numeric fields (IntegerField, FloatField and DecimalField) inside the Django admin.

For each numeric field, two inputs will be added to the admin, representing a minimum and maximum value which you can filter on.

![Screenshot of NumericFieldListFilter](http://i.imgur.com/y6U9uCI.png)

### Installation

```sh
$ pip install django-numericfieldlistfilter
```

You'll need Django version 1.8 or greater.

### Usage
1. Add `djangonumericfieldlistfilter` to the installed apps:

```python
INSTALLED_APPS = (
...
'djangonumericfieldlistfilter',
...
)
```
2. Use the `NumericModelAdmin` as the base class of your admin classes:
```python
from djangonumericfieldlistfilter.options import NumericModelAdmin

class TransactionAdmin(NumericModelAdmin):
...
```
3. Add your numeric field to the list_filter variable:
```python
list_filter = (
...
'price_paid'
...
)
```

### Version
0.1

License
-------
MIT

Metadata

Release files for django-numericfieldlistfilter 0.1

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

Built distribution (wheel)

Table of built distributions (wheels) for django-numericfieldlistfilter 0.1
File Interpreter ABI Platform Actions
django_numericfieldlistfilter-0.1-py2-none-any.whl Python 2 none any Details for django_numericfieldlistfilter-0.1-py2-none-any.whl

Release files / django_numericfieldlistfilter-0.1-py2-none-any.whl

Download URL django_numericfieldlistfilter-0.1-py2-none-any.whl
Size 6.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
a667686964ef6e836a5e24a3293d66316651e4fc5f9f52ece719b596dc6d560b
BLAKE2b-256 checksum
How to use checksums
ec8edb57d80d7f356649f08a1c05934727ef7e8cee799f86ca3bd4067c4accf2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-numericfieldlistfilter 0.1

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.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

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