7045e39425
* Make deep copy of fileds from class attr to instance attr The fields resource class attribute is the *class-wide* definition of fields. Because a particular *instance* of the class might want to alter self.fields, we create self.fields here by copying cls.fields. Instances should always modify self.fields; they should not modify cls.fields. * Update test for resource fields Test checks that resource instance *fields* attr doesn't refer to attr *fields* of resource class |
||
---|---|---|
.. | ||
core | ||
database.db | ||
manage.py | ||
settings.py | ||
urls.py |