Commit 030d2ec
committed
In read_multi, allow a subclass to override the class we instantiate
when we create a recursive instance, by setting the class variable
'FieldStorageClass' to the desired class. By default, this is set to
None, in which case we use self.__class__ (as before).1 parent f8b3b94 commit 030d2ec
1 file changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
919 | 919 | | |
920 | 920 | | |
921 | 921 | | |
| 922 | + | |
| 923 | + | |
922 | 924 | | |
923 | 925 | | |
924 | 926 | | |
925 | | - | |
926 | | - | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
927 | 930 | | |
928 | 931 | | |
929 | 932 | | |
930 | | - | |
931 | | - | |
| 933 | + | |
| 934 | + | |
932 | 935 | | |
933 | 936 | | |
934 | 937 | | |
| |||
0 commit comments