debian-django-import-export/tests
Andrei Loskutov 7045e39425 Make deep copy of fileds from class attr to instance attr (#550)
* 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
2018-05-17 16:37:46 +02:00
..
core Make deep copy of fileds from class attr to instance attr (#550) 2018-05-17 16:37:46 +02:00
database.db Refactor transaction handling 2017-12-04 14:51:12 +01:00
manage.py Add admin import action and lot of other work 2012-11-16 08:51:32 +01:00
settings.py MIDDLEWARE_CLASSES django setting removed in 2.x 2017-12-06 17:29:32 +01:00
urls.py fix for Django 2.0 2017-10-21 17:06:09 +02:00