Blog Archive for August 29, 2010

I Love IE8

August 29, 2010

NOT.

My wife just built a new design for one of our sites. We develop on Linux and test with Firefox and Chrome, but we decided to break out my work laptop (Windows 7) and try with the browsers there.

Chrome....Fine.

Safari...Fine.

Firefox....Fine.

IE8.....

Oh dear.

IE8 was the only …

Django Form Non Field Errors

August 29, 2010

You can add errors to a Django form without attaching them to a field. This example is taken from the django-registration source:

def clean(self):
    if 'password1' in self.cleaned_data and 'password2' in self.cleaned_data:
        if self.cleaned_data['password1'] != self. …