Django 1.4+ adoptation. Add required parametres to Field.get_db_prep_value declaration.