Re: Attribute in model not in database

2010-04-20 Thread Francis Gulotta
Since it's not a django field it wont be stored in the database and wont be persisted between requests. It does seem to be accecpted practice however to use variables in your classes for your own uses. Your list will be available to all your own functions and views like you would expect. -Francis

Attribute in model not in database

2010-04-20 Thread Odd
I have this model: class MyModel(models.Model): name = models.CharField(max_length=100) myList=[] If I add values to myList, for how long will it be available there? Is this a bad approach? Thanks! Odd-R. -- You received this message because you are subscribed to the Google Gr