Jacob Kaplan-Moss wrote:
> No, there's no way to do this with ``choices``.  I'd suggest just
> using a ``ManyToManyField`` instead.
>
> Jacob

Yes thats what I ended up doing, and it works great.  Some times it
feels silly to have such a simple model :)

class    Bedroom(models.Model):
    number = models.IntegerField()


    def __str__(self):
        return str(self.number)
    
    
    class Admin:
        pass


--~--~---------~--~----~------------~-------~--~----~
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