Updates to be compatible with Django 1.6

Removed the use of direct_to_template and update the urls.py module imports.