Fix TemplateSyntaxError in base.html (extends must be the first tag in the template).
Fix wsgi.py.