Re: many to many field problem

2008-03-31 Thread Evert Rol
> the transparency is inside class tableSlot, when i'm looping > tableSlot, it works fine... but when i add the columnsetup or > querysetup, i got the error.. maybe my query is wrong? :( Sorry, no idea so far, but there's probably still information lacking: > > >ds = DigitalSignage.obje

Re: many to many field problem

2008-03-30 Thread didia lim
ps.com Sent: Saturday, March 29, 2008 2:15:22 AM Subject: Re: many to many field problem Where or what is the Transparency member in the tableslots you call below? I guess I forgot to ask for that previously. You may also want to check how your Align is defined (in choices=Align). >

Re: many to many field problem

2008-03-29 Thread Evert Rol
gt; > class Admin: > fields = ( > ('Query Setup', { > 'fields' : (('sqlQue','dbTemp'), 'tableList') > }), > ) > list_display=('sqlQue','dbTemp'

Re: many to many field problem

2008-03-29 Thread didia lim
('Query Setup', { 'fields' : (('sqlQue','dbTemp'), 'tableList') }), ) list_display=('sqlQue','dbTemp') save_as=True - Original Message From: Evert Rol <[EMAIL PROT

Re: many to many field problem

2008-03-29 Thread Evert Rol
> ds = DigitalSignage.objects.get(pk=ds_id) > #Digital Signage config & setting > setting = ds.setting > textslots = ds.textslot_set.all() > slots = ds.slot_set.all() > tableslots = tableSlot.objects.filter(DS_List=ds) > columnsetups = columnSetup.objects.f

Re: many to many field problem

2008-03-28 Thread didia lim
thon Executable: C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe Python Version: 2.5.1 - Original Message From: Evert Rol <[EMAIL PROTECTED]> To: django-users@googlegroups.com Sent: Friday, March 28, 2008 8:47:17 AM Subject: Re: many to many fie

Re: many to many field problem

2008-03-28 Thread Evert Rol
> thanks for reply, but i don't quite understand :( sorry i'm newbie > here > First my models.py is like this > class DigitalSignage(models.Model): > DS_ID = integerField() > > class tableSlot(models.Model): > ds_id =models.ManyToManyField(DigitalSignage) > > class columnSetup(models

Re: many to many field problem

2008-03-28 Thread didia lim
hi Evert, thanks for reply, but i don't quite understand :( sorry i'm newbie here First my models.py is like this class DigitalSignage(models.Model): DS_ID = integerField() class tableSlot(models.Model): ds_id =models.ManyToManyField(DigitalSignage) class columnSetup(models.Model):

Re: many to many field problem

2008-03-28 Thread Evert Rol
> hi all, needs help here. i declare this in views.py > >ds = DigitalSignage.objects.get(pk=ds_id) >setting = ds.setting >textslots = ds.textslot_set.all() >slots = ds.slot_set.all() >tableslots = ds.tableslot_set.all() >columnsetups = tableslo

many to many field problem

2008-03-28 Thread julichrist
leslots many to many relationship. i don;t know what's wrong.. anyone can help plis... -- View this message in context: http://www.nabble.com/many-to-many-field-problem-tp16349788p16349788.html Sent from the django-users mailing list archive at Nabble.com. --~--~-~--~~~---~-