jeremystretch
|
1024782b9e
|
Rename FilterSet modules
|
2021-04-29 16:48:24 -04:00 |
|
Jeremy Stretch
|
fb48c1f6dd
|
Add 'display' field to all REST API serializers
|
2021-03-16 10:06:25 -04:00 |
|
Jeremy Stretch
|
fca5accba8
|
Clean up base serializers
|
2021-03-12 13:31:28 -05:00 |
|
Jeremy Stretch
|
12fbd34962
|
Introduce NestedGroupModelSerializer
|
2021-02-25 17:15:42 -05:00 |
|
Jeremy Stretch
|
664a39911c
|
Add custom field support for organizational models to API serializers
|
2021-02-25 15:58:13 -05:00 |
|
pgnuta
|
fa3199d41c
|
Update serializers.py
Group should be nullable via API to match frontend functionality and Swagger documentation.
|
2021-02-11 11:49:57 +13:00 |
|
Jeremy Stretch
|
4a066a1913
|
Rename get_subquery() to count_related()
|
2020-12-17 14:47:49 -05:00 |
|
Jeremy Stretch
|
91083fd6c5
|
Call Coalesce() inside get_queryset()
|
2020-12-17 14:45:50 -05:00 |
|
Daniel Sheppard
|
3c2b2f26b9
|
Fixes: #5450 - Added Coalesce to viewsets for the _count functions
|
2020-12-15 12:50:28 -06:00 |
|
Jeremy Stretch
|
c0c5f52ed9
|
Reorganize REST API components under netbox app
|
2020-10-13 15:57:21 -04:00 |
|
Jeremy Stretch
|
fd139a77f5
|
Closes #4997: Introduce OrderedDefaultRouter; move root API views to views.py
|
2020-08-13 12:49:49 -04:00 |
|
Jeremy Stretch
|
0f679e1f03
|
Closes #4871: Specify ordering for querysets using annotate() to count related objects
|
2020-07-20 12:07:19 -04:00 |
|
Jeremy Stretch
|
15525392a2
|
Closes #4837: Use dynamic form widget for relationships to MPTT objects
|
2020-07-09 09:50:01 -04:00 |
|
Jeremy Stretch
|
924f319343
|
Closes #4806: Add a url field to all API serializers
|
2020-07-06 16:41:08 -04:00 |
|
Jeremy Stretch
|
448dc1442c
|
Replace TaggitSerializer and TagListSerializerField with TaggedObjectSerializer
|
2020-06-17 09:57:17 -04:00 |
|
Jeremy Stretch
|
cebe580484
|
Add a description field to all organizational models
|
2020-03-13 16:33:28 -04:00 |
|
Jeremy Stretch
|
ea9de37dd1
|
Remove FieldChoicesViewSet
|
2020-03-12 10:48:17 -04:00 |
|
Jeremy Stretch
|
45f6ea211d
|
Implement support for nested TenantGroups
|
2020-03-11 21:12:55 -04:00 |
|
Jeremy Stretch
|
a58bbccfd3
|
Fixes #4094: Convert unnecessary regular expressions to strings in URL patterns
|
2020-02-05 16:12:48 -05:00 |
|
Jeremy Stretch
|
a77fadd114
|
Renamed tenancy FilterSets
|
2020-01-09 20:40:32 -05:00 |
|
Fredrik Lönnegren
|
3262805938
|
Add tenancy to cluster
fix pep8
|
2019-10-07 16:20:14 +02:00 |
|
John Anderson
|
ade844f7a7
|
fixes #3428 - caching invalidation issues
Mitgate invalidation issues by using prefetch_related instead of select_related.
Also use invalidated_update instead of just update.
|
2019-08-19 01:53:39 -04:00 |
|
Jeremy Stretch
|
017a5011ec
|
Added '*_count' fields for child objects
|
2019-04-19 16:50:42 -04:00 |
|
Jeremy Stretch
|
a46b43bff6
|
Added child counts to API serializers (WIP)
|
2019-04-12 17:07:56 -04:00 |
|
Jeremy Stretch
|
75f0d8ee90
|
Closes #2578: Reorganized nested serializers
|
2018-11-12 11:36:44 -05:00 |
|
Jeremy Stretch
|
516faac73f
|
Fixed deprecation warnings from DRF 3.9
|
2018-11-02 13:48:44 -04:00 |
|
Jeremy Stretch
|
29d546a3f1
|
Upgraded django-filter to 2.0.0
|
2018-11-02 13:46:28 -04:00 |
|
Jeremy Stretch
|
364bbdeab8
|
Merged release v2.4.5
|
2018-10-03 11:23:21 -04:00 |
|
Jeremy Stretch
|
aed2a3cd1b
|
Closes #2438: API optimizations for tagged objects
|
2018-09-28 16:44:05 -04:00 |
|
Jeremy Stretch
|
980d62d579
|
Removed Python 2 string compatibility
|
2018-08-14 11:58:42 -04:00 |
|
Jeremy Stretch
|
f1bc88fc0c
|
Adopt django-taggit-serializer for representation of assigned tags in the API
|
2018-08-03 09:43:03 -04:00 |
|
Jeremy Stretch
|
9b3869790d
|
Implemented tags for all primary models
|
2018-05-10 12:53:11 -04:00 |
|
Jeremy Stretch
|
7241783249
|
Started merging writable serializers (WIP)
|
2018-04-04 17:01:24 -04:00 |
|
Jeremy Stretch
|
063e79451f
|
Closes #1321: Added created and last_updated fields for relevant models to their API serializers
|
2017-12-21 10:49:40 -05:00 |
|
Jeremy Stretch
|
198170ca48
|
Closes #1553: Introduced support for bulk object creation via the API
|
2017-11-07 15:36:10 -05:00 |
|
Jeremy Stretch
|
f824d1eb3b
|
Closes #1556: Added API endpoints listing static field choices for each app
|
2017-10-10 16:41:35 -04:00 |
|
Jeremy Stretch
|
c394985b1b
|
Fixes #1421: Improved model validation logic for API serializers
|
2017-08-15 13:54:04 -04:00 |
|
Jeremy Stretch
|
1f9806a480
|
Fixes #1285: Enforce model validation when creating/editing objects via the API
|
2017-07-06 17:37:24 -04:00 |
|
Jeremy Stretch
|
87e5687d03
|
Closes #1203: Implemented query filters for all models
|
2017-06-19 16:10:18 -04:00 |
|
Jeremy Stretch
|
f21c6bca00
|
Import unicode_literals
|
2017-05-24 11:33:11 -04:00 |
|
Jeremy Stretch
|
c174c0cc6d
|
Converted all necessary serializers to CustomFieldModelSerializers
|
2017-04-27 12:50:43 -04:00 |
|
Jeremy Stretch
|
369d3aa62e
|
Rearranged URL namespaces to satisfy deprecation warnings
|
2017-04-05 14:26:33 -04:00 |
|
Jeremy Stretch
|
6cb36a6cee
|
Fixed browsable API breadcrumbs
|
2017-03-20 21:50:10 -04:00 |
|
Jeremy Stretch
|
c08fae8bce
|
Restore not-so-extraneous 'id' field to all WritableSerializers
|
2017-03-17 17:32:43 -04:00 |
|
Jeremy Stretch
|
e544f1fa1e
|
Removed extraneous 'id' field from all WritableSerializers
|
2017-03-17 16:20:34 -04:00 |
|
Jeremy Stretch
|
6c2ed1be22
|
Standardized API URL definitions
|
2017-03-09 13:24:02 -05:00 |
|
Jeremy Stretch
|
a6ceaf8d96
|
Moved custom field serializers to their own module to avoid circular dependency
|
2017-03-08 16:18:41 -05:00 |
|
Jeremy Stretch
|
0e04d20762
|
Re-implemented CustomFieldSerializer (read-only for now)
|
2017-02-09 16:55:54 -05:00 |
|
Jeremy Stretch
|
35f310885e
|
Standardize API URL inclusions
|
2017-02-03 16:20:14 -05:00 |
|
Jeremy Stretch
|
06e5966cb4
|
Include API routers directly where possible
|
2017-02-01 15:09:23 -05:00 |
|