title: How can I restrict Django's GenericForeignKey to a list of models?
body: <p>Is there a way of telling django that a model having a contenttypes GenericForeignKey can only point to models from a predefined list? For example, I have 4 models: A, B, C, D and a model X that holds a GenericForeignKey. Can I tell X that only A &amp; B are allowed for the GenericForeignKey?</p>