Update views.py

Limit the number of results in autocompletion. with a MAX_NUMBER_OF_RESULTS constant to be added in the settings file of the project.