Changed up get_closest_by_category to first consult the cache and added a get_closest_services_from_params to make this process easier. Added cache_crash_areas to the views.py to do the actual caching. Also duplicated the distance function from in models.py. Added a setting CRASH_SHAPEFILE to store the location of the shape file. And of course the actual command file cachecrashareas.py.