fixes in template and media directory defined in urls.py