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 = tableslots.columnsetup_set.all()
querysetups = tableslots.querysetup_set.all()
but i got error in this :
Request Method: GET
Request URL: http://localhost/reed/1/ds.xml
Exception Type: AttributeError
Exception Value: '_QuerySet' object has no attribute 'columnsetup_set'
Exception Location: c:\django\reed\products\views.py in dsxml, line 91
Python Executable: C:\Program Files\Apache Software
Foundation\Apache2.2\bin\httpd.exe
Python Version: 2.5.1
tableslots and columnsetup is many to many relationship. the same with ds
and tableslots 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.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---