I am a bit confused, are you looking for this:

class IntegerRelation(models.Model):
    content = models.IntegerField()

class A(models.Model):
    integers = models.ManyToManyField(IntegerRelation)

-richard



On 6/22/08, Xan <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> Suposing you want a model A with several and indetermined number of
> integer fields. Is there any possibility of defining A without
> creating a Integer class and then add ManyToManyField(Integer) in
> class A?
>
> Thanks a lot!
> Xan.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to