Hi, I've got two models, Author and Entry, with a foreignkey from Entry to Author. There are many Authors with no related entries, and until recently I've been able to put this manager on the Author model to only select Authors with Entries:
def contributors(): return self.exclude(entry__isnull=True) Recently this started returning a FieldError, saying it could not resolve "entry" into a field. I'm running the most recent version of django. Before I go tearing up my app trying to figure out what I changed, I'd like to make sure – is this the recommended way to check for Authors with no Entries? I just found a couple of hints online saying to expect errors from this kind of code, though it has worked to date (and appears to still be working on some production code). Should this work? Thanks, Eric --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---