Jeremy Stretch
|
7acb77c06f
|
Replace FilterChoiceField with DynamicModelMultipleChoiceField
|
2020-02-11 09:33:41 -05:00 |
|
Jeremy Stretch
|
690bff68ed
|
Replace ChainedModelChoiceField with DynamicModelChoiceField
|
2020-02-10 17:23:52 -05:00 |
|
Jeremy Stretch
|
9e119f56d9
|
Fixes #4083: Permit nullifying applicable choice fields via API requests
|
2020-02-10 15:10:33 -05:00 |
|
Jeremy Stretch
|
a5b4931334
|
Changelog for #4108
|
2020-02-10 10:20:06 -05:00 |
|
Jeremy Stretch
|
d3ab17b4e1
|
Set a default self.to_field_name for FilterChoiceField
|
2020-02-10 10:08:20 -05:00 |
|
Jeremy Stretch
|
c44d52756f
|
Remove custom template for APISelect widget
|
2020-02-10 10:02:42 -05:00 |
|
Jeremy Stretch
|
252d3595ac
|
Standardize usage of FilterChoiceField
|
2020-02-10 09:58:33 -05:00 |
|
Jeremy Stretch
|
e859074820
|
Clean up unneeded code relevant to FilterChoiceField
|
2020-02-10 09:44:19 -05:00 |
|
Jeremy Stretch
|
f3367c98c0
|
Override get_bound_field() on FilterChoiceFieldMixin to restrict the queryset of bound fields
|
2020-02-07 18:04:40 -05:00 |
|
Jeremy Stretch
|
14b3d74903
|
Convert interface models to use NaturalOrderingField
|
2020-02-07 15:58:03 -05:00 |
|
Jeremy Stretch
|
15747d4b49
|
Store empty names as null
|
2020-02-07 12:24:38 -05:00 |
|
Jeremy Stretch
|
59e0463320
|
Remove NaturalOrderingManager
|
2020-02-07 11:59:32 -05:00 |
|
Jeremy Stretch
|
d3596932f6
|
Convert remaining DCIM models to use NaturalOrderingField
|
2020-02-07 11:59:16 -05:00 |
|
Jeremy Stretch
|
af1e198aae
|
Introduce NaturalOrderingField
|
2020-02-07 11:36:22 -05:00 |
|
Jeremy Stretch
|
28aa3736ae
|
Fix up bulk editing forms
|
2020-02-06 15:51:51 -05:00 |
|
Jeremy Stretch
|
3202cbb248
|
Overhaul device component template creation views/URLs
|
2020-02-06 13:13:40 -05:00 |
|
Jeremy Stretch
|
12eea1e097
|
Simplify help_text for ExpandableNameField
|
2020-02-06 11:44:29 -05:00 |
|
Jeremy Stretch
|
d087c0e13b
|
Remove obsolete ComponentForm
|
2020-02-06 11:36:25 -05:00 |
|
Jeremy Stretch
|
2f8e1c49b4
|
Move model_to_dict() into assertInstanceEqual(); clean up test data
|
2020-02-05 15:47:50 -05:00 |
|
Jeremy Stretch
|
219d609485
|
Enable bulk creation tests for device components
|
2020-02-05 15:22:57 -05:00 |
|
Jeremy Stretch
|
4ee713c54f
|
Move component bulk creation views to new URLs
|
2020-02-05 12:36:38 -05:00 |
|
Jeremy Stretch
|
e243a72526
|
Enable tests for component bulk edit views
|
2020-02-05 11:14:07 -05:00 |
|
Jeremy Stretch
|
7e10bdb2cd
|
Tweak BulkEditView to improve handling of initial PK values
|
2020-02-05 09:56:49 -05:00 |
|
Jeremy Stretch
|
0987680d0c
|
Adapt BulkEditView to not require a parent object for device components
|
2020-02-04 18:08:40 -05:00 |
|
Jeremy Stretch
|
4c4c707daf
|
Add InterfaceTestCase for virtual machines
|
2020-02-04 16:40:18 -05:00 |
|
Jeremy Stretch
|
c1e02af946
|
Move component bulk delete views to new URLs
|
2020-02-04 16:06:55 -05:00 |
|
Jeremy Stretch
|
f9fdb08c27
|
Fixes #4084: Fix exception when creating an interface with tagged VLANs
|
2020-02-04 11:47:14 -05:00 |
|
Jeremy Stretch
|
aab5bb31de
|
#3894 follow-up
|
2020-02-04 10:09:22 -05:00 |
|
Jeremy Stretch
|
1e42fc2ed5
|
Merge branch 'develop' into 2921-tags-select2
|
2020-02-04 09:37:31 -05:00 |
|
Jeremy Stretch
|
415efc4bfc
|
Merge branch 'develop' into 3313-config-context-gui
|
2020-02-03 16:07:15 -05:00 |
|
Jeremy Stretch
|
5e1a14c314
|
Add bulk edit view tests
|
2020-02-03 13:53:19 -05:00 |
|
Jeremy Stretch
|
405f00154c
|
Skip non-model fields when applying bulk changes
|
2020-02-03 13:07:46 -05:00 |
|
Jeremy Stretch
|
acdbb126f1
|
Add bulk delete view tests
|
2020-02-03 10:04:09 -05:00 |
|
Jeremy Stretch
|
3c0870664e
|
Extend standard view test case to validate built-in CSV export
|
2020-01-31 17:09:50 -05:00 |
|
Jeremy Stretch
|
0420826ac8
|
Merge pull request #4072 from netbox-community/4000-view-tests
Closes #4000: Add tests for the create, edit, and delete views of all models
|
2020-01-31 16:07:32 -05:00 |
|
Jeremy Stretch
|
8224b891ab
|
Extend and correct evaluation of view permissions
|
2020-01-31 14:13:30 -05:00 |
|
Jeremy Stretch
|
cc9deb1220
|
Refactor model_to_dict() to better handle tags
|
2020-01-31 14:12:48 -05:00 |
|
Jeremy Stretch
|
acda39814b
|
model_to_dict(): Convert object lists to PK lists
|
2020-01-31 13:44:34 -05:00 |
|
Jeremy Stretch
|
8d41faebf4
|
model_to_dict(): Remove fields that start with an underscore
|
2020-01-31 12:14:51 -05:00 |
|
Jeremy Stretch
|
bae3c83a5b
|
post_data(): Ignore iterables
|
2020-01-31 11:50:12 -05:00 |
|
Jeremy Stretch
|
4691e70ddf
|
Add _get_url() for View test case
|
2020-01-31 10:30:13 -05:00 |
|
Jeremy Stretch
|
da1ca77c34
|
Move form/CSV data declaration under setUpTestData
|
2020-01-31 09:27:41 -05:00 |
|
Jeremy Stretch
|
8aa6a9bf99
|
Reorganize test classes to prevent unittest from running the base TestCases
|
2020-01-31 09:00:01 -05:00 |
|
Jeremy Stretch
|
b1a38fe0da
|
Added ViewTestCase (WIP)
|
2020-01-30 21:57:20 -05:00 |
|
Jeremy Stretch
|
bc590633b4
|
Introduced a custom model_to_dict()
|
2020-01-30 20:48:26 -05:00 |
|
Jeremy Stretch
|
eb69ea52f9
|
Refactor APITestCase to subclass TestCase
|
2020-01-30 17:57:34 -05:00 |
|
Jeremy Stretch
|
d23b234d4f
|
Merge branch 'develop' into 4051-disable-makemigrations
|
2020-01-30 16:49:15 -05:00 |
|
Jeremy Stretch
|
a9a622449f
|
Introduced a custom TestCase
|
2020-01-30 16:19:51 -05:00 |
|
Jeremy Stretch
|
3846416492
|
Fixes #4030: Fix exception when bulk editing interfaces (revised)
|
2020-01-30 15:12:10 -05:00 |
|
Saria Hajjar
|
c2c4a8b075
|
Merge branch 'develop' into 2921-tags-select2
|
2020-01-30 17:51:55 +00:00 |
|