Update model.py

Linked to issue #147
https://github.com/yourlabs/django-autocomplete-light/issues/147