Moving the solr default weights code from search/views.py to settings.py