Hi,

I have a model class Document that I want to tie to several other
model classes (Issue, Task, Project, ...) in a way that a document
ties to exactly zero or one instance of the other model classes.
Easiest would be to add a GenericForeignKey with a unique constraint,
but the Document model class is from an external app. Can this be done
without monkey patching the Document class?

Thanks,
Emile

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