Changed the way that the URLs are configured to be compatible with Django 1.6