ManyToMany relationship with intermediate model and admin list display with each realtion with value as diferent column

2012-07-24 Thread Ignacio Soto
Hey guys i have an issue, i don know if it really can be done. im using django 1.3 i have a model producto(product) and Tienda(store) and a product could be in one or more stores, so i created a many to many relationship but y have a stock in each store, so i use the intermediary model Produc

Re: ManyToMany relationship with intermediate model and admin list display with each realtion with value as diferent column

2012-07-24 Thread Ignacio Soto
in world domination. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...

combobox prepopulated to only related objects to "self"

2012-07-31 Thread Ignacio Soto
Hi everyone i have this model GROUP and Product product has a group field thath is foreignkey to GROUP. and Group has foreignKey to Product to select primary product. so i want to have a group with many products and one is the "primary product". so...i could do this by select inline produ

Re: combobox prepopulated to only related objects to "self"

2012-08-01 Thread Ignacio Soto
choices > > > On Wed, Aug 1, 2012 at 1:17 AM, Ignacio Soto wrote: > >> Hi everyone >> >> i have this model >> >> GROUP and Product >> >> >> product has a group field thath is foreignkey to GROUP. >> >> >> and Group has f

Multiple UserProfile

2011-06-11 Thread Ignacio Soto
hanks -- __ Ignacio Soto Reveco Staff IngeHost -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroup

Re: Multiple UserProfile

2011-06-11 Thread Ignacio Soto
Ok, thannks i will try, and let you know... Cheers ignacio Soto Reveco Staff IngeHost El 11-06-2011 11:41, "Shawn Milochik" escribió: Oops, correction: You'd use user.seller_profile and user.customer_profile if you've set it up as a OneToOneField -- the get() is unneces

Re: help plz to install Django

2011-06-11 Thread Ignacio Soto
Hi There is an idle called aptana, that include the pydev enviorement. And a better. Option is install eclipse and a Pydev as a plugin. Cheers ignacio Soto Reveco Staff IngeHost El 11-06-2011 14:46, "ihsan mokhlisse" escribió: thnks Sergiy . and plz how can i cinfigure the djan

Re: Multiple UserProfile

2011-06-11 Thread Ignacio Soto
No, the same person cant be costumer and seller. ignacio Soto Reveco Staff IngeHost El 11-06-2011 21:37, "Kenneth Gonsalves" escribió: On Fri, 2011-06-10 at 23:51 -0400, Ignacio Soto wrote: > i want to create 2 user profile: cutomer an... can the same person be both custom

Re: help plz to install Django

2011-06-11 Thread Ignacio Soto
Yes kennet is right, the version that is in the repos..maybe is not the latest release version. In ubuntu 11.04 is the 1.2 in repos, you have to follow the install instructions form the web page djangoproject. Cheers ignacio Soto Reveco Staff IngeHost El 11-06-2011 21:42, "Kenneth Gons

Re: Multiple UserProfile

2011-06-11 Thread Ignacio Soto
Ok, kenneth i havent seen it that way. I will use your model. I really apreciate it Thanks ignacio Soto Reveco Staff IngeHost El 12-06-2011 0:39, "Kenneth Gonsalves" escribió: On Sat, 2011-06-11 at 21:12 -0400, Ignacio Soto wrote: > No, the same person cant be costumer and s