Tuesday, August 18, 2020

Re: Django ORM Model meta internal API to current API update

I don't bro i just started new in Django

Victor

On Tue, Aug 18, 2020, 3:46 PM Asif Saif Uddin <auvipy@gmail.com> wrote:

Hi,
I have got an old project of django 1.8 which use codes like

links = [rel.get_accessor_name() for rel in self._meta.get_all_related_objects()]

How would I upgrade this code snippets to django 2.2 LTS?

TIA

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c408d424-7c94-43de-beae-4071d424e2ecn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANTsAyeqNREndZeVeyxLY396Z1uQ5zkS-CrQeKD9Yfi63GGq4w%40mail.gmail.com.

No comments:

Post a Comment