> Within the ModelForm class just refer to self.initial['field_name']. Yeah, that's the one I needed! I got a strange error now though. When I try to check if the values have changed with:
if self.initial['email'] != self.cleaned_data['email']: I get an exception: null value in column "email" violates not-null constraint This is very strange, because when I print the values of the two variables, intital and cleaned, I see the correct and expected values which should work... Can anyone shine a light why I get this error? Still a lot to learn I have... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---