y to think about it, is to use a validation on the crate object
> to make sure there is room. This solution may not be as elegant, but does
> not need any additional coding outside of django.
>
> Good luck!
>
> Mark
>
> On Sat, Jul 29, 2017 at 8:57 PM, Jack Twilley >
I have a Django app which keeps inventory. There are two relevant classes
here, one named Jar and another named Crate. The Jar class has an
attribute crate which is a foreign key for the Crate class. The Crate
class has an attribute capacity of type models.IntegerField which
represents the m
2 matches
Mail list logo