Bug fix to request object attribute ('Files") error (in /views/__init__.py) and settings object attribute error in models.py in hs_core