Hi all,
i'm trying to do a simple thing, but it seems not so simple in django.

I have the following models

 class Monitor(models.Model):
  id ...
  name ...
  address = foreignkey(MonitorAddress)

class MonitorAddress(models.Model):
  address = CharField()

what i want to do is as long as i assign a name to a monitor in the
admin add page, MonitorAddress show me only the non-assigned addresses
in the combobox

i've already tried with forms and inserting a raw sql query in
models.py and forms.py, but it looks like these files are loaded only
once

-- 
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...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to