Hi,

Here's the problem:

class AssociationClass(models.Model):
    fk_model1 = models.IntegerField()
    fk_model2 = models.IntegerField()
    model2_type = models.IntegerField()

after an inspectdb, I would like to tell django that this is an
association class, with a generic foreign key.

What is the best solution ?

I found this link, it maybe gives a beginning of a solution:
http://undefined.org.ua/blog/2008/02/29/manytomanywithcustomfield/?lang=en

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