On 6 Mrz., 14:13, Chris <chriss...@gmail.com> wrote: > I have a model that has a required attribute, but I want this > attribute set to a calculated value based on the input from a form. So > inside the save() method of my ModelForm class, I'm doing: > > self.cleaned_data['requiredKey'] = 123 > record = forms.ModelForm.save(self)
Just for reference: http://groups.google.com/group/app-engine-patch/msg/a9ed56aaf326b17e Bye, Waldemar Kornewald --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---