Code used to validate Django project ticket #20522