that whole method is straight from the linked commit on django-filter, it's not mine :/ I'm hesitant to change it for that reason.