danfairs/django-lazysignup — pull request #23 by aguynamedben (2013-01-09 07:58:36+00:00)
Title: Fix 'No module named simple' error when using Django 1.5

Hey Dan, this project is awesome, I'm finding it very useful.

I'm playing with Django 1.5 RC1 and the import in urls.py is failing.

According to https://docs.djangoproject.com/en/1.4/topics/generic-views/ it looks like since Django 1.3 from django.views.generic.simple and direct_to_template were deprecated, and that module was finally removed in 1.5.

It's not the cleanest solution because I wanted to keep backwards-compatibility and reduce headache for people just trying to follow your awesome docs.

-Ben