Re: Need help modifying form on intermediate page of admin action

2017-07-29 Thread Jack Twilley
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 >

Need help modifying form on intermediate page of admin action

2017-07-29 Thread 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