This could be simplified to `if django.VERSION < (1, 5):`