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.
No comments:
Post a Comment