Re: Models advice

2008-06-20 Thread Richard Dahl
While I am not one to insist on 3rd normal form or anything like that, I would recommend you look at normalizing this db a bit. Perhaps you could create a table or two for the companies and contact info, it can be dangerous to limit yourself to one phone number or even one address in many cases.

Re: Models advice

2008-06-20 Thread joshuajonah
Yeah i removed them, it seems to work fine pulling data from it. Thanx On Jun 19, 10:57 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I haven't looked through it fully, however you don't need to create > the primary keys, they are automatically created. > > On Jun 19, 8:38 pm, joshuajonah

Re: Models advice

2008-06-19 Thread [EMAIL PROTECTED]
I haven't looked through it fully, however you don't need to create the primary keys, they are automatically created. On Jun 19, 8:38 pm, joshuajonah <[EMAIL PROTECTED]> wrote: > I am making a database of advertisers, product categories, products > (advertiser+product category), retailers, and re

Models advice

2008-06-19 Thread joshuajonah
I am making a database of advertisers, product categories, products (advertiser+product category), retailers, and retailers stock (retailer + products) Here is my diagram of the topology: http://www.joshuajonah.com/database.png Here's my models.py: http://dpaste.com/57676/ Do you see any proble