Changes between Initial Version and Version 1 of Ticket #26352, comment 6


Ignore:
Timestamp:
Oct 13, 2016, 5:16:12 AM (8 years ago)
Author:
Raymond Penners

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26352, comment 6

    initial v1  
    11This ticket got closed because of a missing use case. For what it is worth, our "real world use case" is the following:
    2 
    32{{{#!python
    43class ShippingMethod(models.Model):
     
    2827
    2928So, 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 are occur in the price list as a from-country.
     29Given a method, `method.from_countries` should represent the set of all countries that occur in the price list as a from-country.
    3130
    3231I do not think the workaround suggested in https://code.djangoproject.com/ticket/26352#comment:2 works for us, as our case involves 3 models.
Back to Top