> 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
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).
>
gt;
> class Admin:
> fields = (
> ('Query Setup', {
> 'fields' : (('sqlQue','dbTemp'), 'tableList')
> }),
> )
> list_display=('sqlQue','dbTemp'
('Query Setup', {
'fields' : (('sqlQue','dbTemp'), 'tableList')
}),
)
list_display=('sqlQue','dbTemp')
save_as=True
- Original Message
From: Evert Rol <[EMAIL PROT
> 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
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
> 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
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):
> 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
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.
--~--~-~--~~~---~-
10 matches
Mail list logo