added urls.py files for index and detail view"