leifos/tango_with_django_book — pull request #1 by canibanoglu (2013-10-18 11:56:20+00:00)
Title: AttributeError in rango.forms.PageForm.clean()

If the user forgets to supply the form with a URL, the clean method will raise an AttributeError saying that NoneType object has no method called startswith(). This patch tries to address this issue.
Also de-indented the return statement so that it always returns a value.