We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7dcb010 + 5d59358 commit 1761420Copy full SHA for 1761420
django_unicorn/views/action_parsers/utils.py
@@ -50,6 +50,9 @@ class TestView(UnicornView):
50
The following code updates UnicornView.author.name based the payload's `author.name`.
51
"""
52
property_name_parts = property_name.split(".")
53
+ for part in property_name_parts:
54
+ if part.startswith("__") and part.endswith("__"):
55
+ raise AssertionError("Invalid property name")
56
component_or_field = component
57
data_or_dict = data # Could be an internal portion of data that gets set
58
0 commit comments