Changed urls.py to include if statement around staticfiles