• Anssi Kääriäinen's avatar
    Fixed #24381 -- removed ForeignObjectRel opts and to_opts · f95122e5
    Anssi Kääriäinen yazdı
    These cached properies were causing problems with pickling, and in
    addition they were confusingly defined: field.rel.model._meta was
    not the same as field.rel.opts.
    
    Instead users should use field.rel.related_model._meta inplace of
    field.rel.opts, and field.rel.to._meta in place of field.rel.to_opts.
    f95122e5
Adı
Son kayıt (commit)
Son güncelleme
..
__init__.py Loading commit data...
models.py Loading commit data...
tests.py Loading commit data...