Commit 47f7bdb
committed
fix(tests): fix database setup for Django < 1.4
This fixes the TypeError that occurs during the database setup for the
testsuite in Django < 1.4. Removing some of the class attributes allows
for the 'inner()' method to be called from the BaseField 'instance'
instead of the PickedObjectField.
Example error:
TypeError: unbound method inner() must be called with BaseField instance
as first argument (got PickledObjectField instance instead)1 parent 068873b commit 47f7bdb
1 file changed
+6
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | 17 | | |
20 | 18 | | |
21 | 19 | | |
| |||
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
0 commit comments