Re: Prywatna wiadomość na temat: Data + admin design problem

2014-05-28 Thread Derek
Hi Wojtek I am not sure how you can say you have implemented this already, when some of my suggestions were not listed in what you said you had done originally. You need to be careful about this, otherwise people may perceive that you are careless about asking. I suggest you need to actually pre

Re: Data + admin design problem

2014-05-28 Thread Derek
Hi Off the top of my head (as in "do not use directly"!), it seems to me that: 1. You need a boolean field for 'serial' and also one for 'countable' for a Product. One or both must be checked (use clean() to check) when Product is created. 2. Each Product also needs a 'status' field: one of '

Data + admin design problem

2014-05-26 Thread Wojtas
Hi there! I didn't know where to ask. I'm doing Django for couple of years, and I encountered following problem. I'm doing a website which manages warehouse of company which lends music instruments. I have 3 types of products: serial -> which exist only in amount of 1 countable -> which exist i