Correct django.VERSION testing - Fixes #270