Re: Not sure how to do this (many to many problem)

2006-07-17 Thread Javier Rivera
Carlos Yoder escribió: > Do you know of a way to configure and alter this behaviour? No. But it could probably be achieved playing with the admin CSS. Javier. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Not sure how to do this (many to many problem)

2006-07-17 Thread Carlos Yoder
> I'd do it the "classic" way. Thank you Javier, that did it. Little thing remains though. My admin console for a Car is quite large, and it's organized neatly using Admin.fields. However, the SpecialPrices table (linked here using edit_inline=True), always appear at the end of the page. Do you

Re: Not sure how to do this (many to many problem)

2006-07-17 Thread Javier Rivera
Carlos Yoder escribió: > The problem is, I don't know how to do this in Django. I tried doing: Well, I'm new to django, but I don't believe that the ManytoMany field could be used this way. It can for sure relate both tables (user and car), but I don't know how to add a third value. I'd do it

Re: Not sure how to do this (many to many problem)

2006-07-17 Thread Carlos Yoder
I guess I found a lead at tests\modeltests\m2m_intermediary\ if anyone knows if that's correct (or wrong as hell), please let me know :-) On 7/17/06, Carlos Yoder <[EMAIL PROTECTED]> wrote: > Hello! > > I'm building a sort of b2b app that lists a car catalogue. A car can > have multiple 'speci

Not sure how to do this (many to many problem)

2006-07-17 Thread Carlos Yoder
Hello! I'm building a sort of b2b app that lists a car catalogue. A car can have multiple 'special prices', linked to groups of wholesalers. So when wholesaler W logs into the app, he should see a 'special price just for you' control, displaying the proper price. In a custom app I'd have a 'mod

Many-to-many problem

2006-04-20 Thread Michal
Hello, I have problems with many-to-many model. Look at this please: from django.core import meta class Model1(meta.Model): attr1 = meta.CharField(maxlength=10) class META: admin = meta.Admin() class Model2(meta.Model): attr2 = meta.ManyToManyField(Model1) class