Hello,

I'm writing a small app. for wifi network management.

In a "computer" model there is an "ext_ip" field which is a ForeignKey
to "Ext_ip" model.

When adding/modifying a computer, I can use a select one from ext_ips
list.

The problem is that I need to select only from ext_ips not used by
another computer.

What is the best way to accomplish this ?
Do I need to play with raw sql or I missed anything when played with an
API ?

Maybe this/my models should be done a different way ?

Thanks,

Robert


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to