Changes between Initial Version and Version 1 of Ticket #26352, comment 6
- Timestamp:
- Oct 13, 2016, 5:16:12 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #26352, comment 6
initial v1 1 1 This ticket got closed because of a missing use case. For what it is worth, our "real world use case" is the following: 2 3 2 {{{#!python 4 3 class ShippingMethod(models.Model): … … 28 27 29 28 So, basically, we have list of shipping methods, and each shipping method has a price list, containing a specific price per from/to-country combination. 30 Given a method, `method.from_countries` should represent the set of all countries that areoccur in the price list as a from-country.29 Given a method, `method.from_countries` should represent the set of all countries that occur in the price list as a from-country. 31 30 32 31 I do not think the workaround suggested in https://code.djangoproject.com/ticket/26352#comment:2 works for us, as our case involves 3 models.