-
Notifications
You must be signed in to change notification settings - Fork 2.7k
django-rest-framework v3.11 dropped suppport for set_context in UniqueTogetherValidator #4496
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
this may is related to
|
set_context
in 'UniqueTogetherValidator'
set_context
in 'UniqueTogetherValidator'
I've just run into this as well, in the automated tests on netbox-community/ansible_modules#155 I can see this change was made in 613e378 The Django REST release notes seem to say this was simply deprecated and not removed, but the pull requests linked above seem otherwise. |
The root change in DRF 3.11 was addressed in a914a7c, however a handful of serializers with their own unique calls to |
When will this fix be available in the master and netbox-docker? |
Until netbox-community/netbox#4496 is released
Until netbox-community/netbox#4496 is released Also reduced verbosity of integration tests - there's a lot of output.
Until netbox-community/netbox#4496 is released
Netbox 2.8.1 release fixed netbox-community/netbox#4496
Environment
When we try to create a vlan via the RESTapi the result is 500 when we try to set the
group
,we tested this with v2.8.0 and master branch,
before the update from v2.7.8 this where working fine.
Steps to Reproduce
PLUGINS
setting inconfiguration.py
.KAR-DC
GET "api/ipam/vlan-groups/"
Expected Behavior
VLAN is created
Observed Behavior
error:
The text was updated successfully, but these errors were encountered: