Test for empty values the django way