If you want to add things to an instance in a view you could just use setattr. Is this what you're asking? Ben
On 04/09/07, shabda <[EMAIL PROTECTED]> wrote: > > > I have a python model > > class MyModel(models.Model): > fld1 = models.TextField() > fld1 = models.TextField() > > I want to have a non database item in this model class, which I can > populate in the views. What is the recommended way to do this. > > > > > -- Regards, Ben Ford [EMAIL PROTECTED] +628111880346 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---

