Koen Bok wrote:
> I'd like to build object relations (Model classes) without saving them
> to the database to predict a price for a specific order. Let's say I
> have this:
>
> class Order(Model):
> id = models.AutoField(primary_key=True)
> number = models.IntegerField()
>
> de
I'd like to build object relations (Model classes) without saving them
to the database to predict a price for a specific order. Let's say I
have this:
class Order(Model):
id = models.AutoField(primary_key=True)
number = models.IntegerField()
def total(self):
2 matches
Mail list logo