updating version of django and pytz
pep8 on middleware
clean demo conf