On 4/25/07, Erik Vorhes <[EMAIL PROTECTED]> wrote:
>
> Since I'm only reviewing one thing in each Review, it'd be possible to
> change ForeignKey to OneToOneField, but (aside from likely changes to
> the way Django handles one-to-one relationships), that doesn't change
> my predicament.
>
> I'd appreciate any help you can offer!

You might want to have a look at GenericRelations. This feature allows
you to have a single relation that can refer to any other model class.

http://www.djangoproject.com/documentation/models/generic_relations/

They aren't fully documented, and they are not completely integrated
into the admin view, but they can be extremely useful in situations
such as yours.

Yours,
Russ Magee %-)

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