I\'m trying to make plugable apps more resilient under Django 1.5 where you now have a custom definable user model.
When adding foreign keys to a model I can do:
One way you could do it is:
try: from django.contrib.auth import get_user_model except ImportError: # django < 1.5 from django.contrib.auth.models import User else: User = get_user_model()