Skip to content
Browse files

Fixed #1021: unique_together should now get validated correctly. Than…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 46b0713 commit b6a17893308a5bced876f042fb67fb8358e24949 @jacobian jacobian committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/models/
2 django/db/models/
@@ -286,7 +286,7 @@ def manipulator_validator_unique_together(field_name_list, opts, self, field_dat
# This is really not going to work for fields that have different
# form fields, e.g. DateTime.
# This validation needs to occur after html2python to be effective.
- field_val = all_data.get(f.attname, None)
+ field_val = all_data.get(, None)
if field_val is None:
# This will be caught by another validator, assuming the field
# doesn't have blank=True.

0 comments on commit b6a1789

Please sign in to comment.
Something went wrong with that request. Please try again.