Changes between Initial Version and Version 1 of Ticket #31332
- Timestamp:
- Mar 2, 2020, 3:32:22 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31332 – Description
initial v1 4 4 unique_together = ('batch_size', 'distributor', 'service', 'type') 5 5 On running makemigrations command, I get the following error: 6 7 {{{ 6 8 Running migrations: 7 9 Applying shopping.0061_alter_distributorprice_uniqueness_constraint...Traceback (most recent call last): … … 37 39 ", ".join(columns), 38 40 ValueError: Found wrong number (0) of constraints for shopping_distributorprice(batch_size, distributor_id, service_id) 41 }}} 42 43 I have already viewed and tested the tickets related to this error but none work. I even tried to remove the constrain altogether to reapply a new one, but still I get the same error as above.