I actually don't see any need for this function. Have a look at https://github.com/django/django/pull/1763/files#diff-7d0e679c6018bf032defd15cf12a2520L71