Arthur Hanson
6ae3af2f26
13459 Fix OpenAPI type for TreeNodeMultipleChoiceFilter ( #17095 )
...
* 13459 Correct OpenAPI type for TreeNodeMultipleChoiceFilter
* 13459 Correct OpenAPI type for TreeNodeMultipleChoiceFilter
2024-08-10 10:24:02 -04:00
Jeremy Stretch
aa9a40f268
Remove unused MACAddressFilter
2024-03-22 08:59:52 -04:00
Jeremy Stretch
634681a72e
Fixes #13606 : Fix filtering by null for multiselect custom fields
2023-12-27 12:49:31 -05:00
Jeremy Stretch
d470848b29
Closes #12246 : General cleanup of utilities modules
...
* Clean up base modules
* Clean up forms modules
* Clean up templatetags modules
* Replace custom simplify_decimal filter with floatformat
* Misc cleanup
* Merge ReturnURLForm into ConfirmationForm
* Clean up import statements for utilities.forms
* Fix field class references in docs
2023-04-14 10:33:53 -04:00
Arthur Hanson
ecd0c56554
Closes #9608 : Move from drf-yasg to spectacular
...
Co-authored-by: arthanson <worldnomad@gmail.com>
Co-authored-by: jeremystretch <jstretch@netboxlabs.com>
2023-03-30 14:32:59 -04:00
jeremystretch
cc350165dd
Fixes #11544 : Catch ValidationError exception when filtering by invalid MAC address
2023-01-20 12:06:34 -05:00
Arthur Hanson
af8bb0c4b9
10348 add decimal custom field ( #10422 )
...
* 10348 add decimal custom field
* 10348 fix tests
* 10348 add documentation
* Rearrange custom fields to be ordered consistently
* Rename number_field to integer_field for clarity
* Clean up validation logic
* Apply suggested changes from PR
* Store decimal custom field values natively
* Fix filter test
* Update custom field model migrations to use new encoder
Co-authored-by: jeremystretch <jstretch@ns1.com>
2022-09-30 16:03:24 -04:00
jeremystretch
ada5c58acf
Closes #10529 : Run validation on each value of a multi-value filter
2022-09-30 15:05:13 -04:00
jeremystretch
ee6e2e0af1
Fixes #7690 : Fix custom field integer support for MultiValueNumberFilter
2021-12-10 16:34:38 -05:00
jeremystretch
1ce9192369
Move MACAddressField to utilities
2021-10-28 16:26:31 -04:00
jeremystretch
18c3bb673f
Closes #1337 : Add WWN field to interfaces
2021-10-07 15:09:42 -04:00
jeremystretch
d35ac1347c
Move TagFilter to extras
2021-04-29 16:23:55 -04:00
jeremystretch
0de50e0afe
Split Filter and FilterSet classes
2021-04-29 15:13:44 -04:00
Jeremy Stretch
0567f0d190
Merge branch 'develop' into develop-2.10
2020-11-09 20:58:59 -05:00
Jeremy Stretch
bf836d4d46
Fixes #5331 : Fix filtering of sites by null region
2020-11-09 15:58:59 -05:00
Jeremy Stretch
0c3fafdfef
Closes #4897 : Allow filtering by content type identified as <app>.<model> string
2020-09-22 16:06:38 -04:00
Jeremy Stretch
3a90366538
Fix filtering services by port number
2020-09-21 14:36:58 -04:00
Jeremy Stretch
4d5d298ee1
Update super() call for get_filters()
2020-05-06 11:47:05 -04:00
Jeremy Stretch
803287a514
Closes #4313 : Remove id__in filters
2020-03-06 12:05:53 -05:00
John Anderson
e5f8f15293
added lookup map for treenode filter
2020-02-28 19:58:06 -05:00
John Anderson
3b4607d30d
refactor lookup map logic
2020-02-25 15:16:27 -05:00
John Anderson
67565ca191
added docs and more tests
2020-02-24 15:03:07 -05:00
John Anderson
a136a0788c
#4121 - dynamic filter lookup expressions
2020-02-18 00:32:58 -05:00
John Anderson
9284e83270
py3.5 compatibility
2020-02-09 21:32:45 -05:00
John Anderson
a6b43b30e9
functional dynamic filter lookups
2020-02-09 17:46:21 -05:00
John Anderson
a311002141
initial work on dynamic lookup expressions
2020-02-09 03:20:59 -05:00
kobayashi
d2aa9b8e79
filtering multiple regions with null
2019-10-28 02:24:44 -04:00
kobayashi
766b5dff24
allow null region filtering
2019-10-22 00:41:49 -04:00
Jeremy Stretch
86b6b9bf8b
Fixes #3315 : Enable filtering devices/interfaces by multiple MAC addresses
2019-07-18 21:21:56 -04:00
Jeremy Stretch
653770ede9
Fixes #3292 : Ignore empty URL query parameters
2019-06-24 11:00:18 -04:00
Jeremy Stretch
dfffd1ea94
Restore id__in filters to retain backward compatability until v2.7
2019-05-08 21:08:35 -04:00
Jeremy Stretch
3d616baf75
Remove NumericInFilter and id__in filters
2019-05-07 13:07:18 -04:00
Jeremy Stretch
6cb5173e27
Update query filters to OR multiple values
2019-05-07 12:25:33 -04:00
Jeremy Stretch
c52d077f92
Merge branch 'develop' into develop-2.6
2019-03-05 13:39:00 -05:00
dansheps
f2471aedb2
Fixes #2781 : Fixes filter by regions on site and device list
2019-02-27 11:41:12 -06:00
John Anderson
fc2bb724fa
initial pass on migrating to custom tag model with color and comments fields
2019-02-20 03:52:47 -05:00
Jeremy Stretch
7a0ab3aa15
Fixes #2895 : Fix filtering of nullable character fields
2019-02-14 09:43:56 -05:00
John Anderson
613e8f05c2
fixes #2835 - certain model filters did not support the q query param
2019-01-31 13:36:30 -05:00
Jeremy Stretch
bd7aee7c1f
Closes #2614 : Simplify calls of super() for Python 3
2018-11-27 10:52:24 -05:00
Jeremy Stretch
bc8dbfde7c
Merge branch 'develop' into develop-2.5
2018-11-12 16:03:52 -05:00
Jeremy Stretch
0c33af2140
Fixes #2558 : Filter on all tags when multiple are passed
2018-11-12 15:48:58 -05:00
Jeremy Stretch
f41f141130
Removed unused class NullableModelMultipleChoiceField
2018-11-06 15:32:59 -05:00
Jeremy Stretch
980d62d579
Removed Python 2 string compatibility
2018-08-14 11:58:42 -04:00
Jeremy Stretch
f7aa259995
Misc cleanup
2018-07-30 14:00:37 -04:00
Jeremy Stretch
78ed85943b
Fixes #1765 : Improved rendering of null options for model choice fields in filter forms
2017-12-26 12:08:22 -05:00
Jeremy Stretch
00986fd7bf
Closes #1691 : Cleaned up and reorganized import statements
2017-11-07 11:08:23 -05:00
Jeremy Stretch
4668149943
Fixes #1649 : Correct fitlering on null values (e.g. ?tenant_id=0) for django-filters v1.1.0+
2017-10-30 17:20:22 -04:00
Jeremy Stretch
f2c16fbf3c
Closes #893 : Allow filtering by null values for NullCharacterFields (e.g. return only unnamed devices)
2017-07-27 09:53:41 -04:00
Jeremy Stretch
f21c6bca00
Import unicode_literals
2017-05-24 11:33:11 -04:00
Jeremy Stretch
05b71564d8
Closes #981 : Allow filtering primary objects by a given set of IDs
2017-03-22 09:39:30 -04:00