#21414: Remove django.db.models.related.RelatedObject
-------------------------------------+-------------------------------------
     Reporter:  akaariai             |                    Owner:  timgraham
         Type:                       |                   Status:  closed
  Cleanup/optimization               |
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by phoebebright):

 Found two apps failing as they are using RelatedObject, django-taggit and
 django-import-export.
 To fix, would I be right in thinking it is a case of replacing

 from django.db.models.fields.related import ForeignObjectRel
 with
 from django.db.models.related import RelatedObject

 and all instances of RelatedObject with ForeignObjectRel
 ?

--
Ticket URL: <https://code.djangoproject.com/ticket/21414#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.a15576137d1d6fef49f642aa1a017ea7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to