Re: Finding the last modified timestamp for a group of Models

2024-02-28 Thread Jason
https://docs.djangoproject.com/en/5.0/ref/applications/#django.apps.AppConfig.get_models gets you an iterable of all models loaded On Tuesday, February 27, 2024 at 8:53:32 AM UTC-5 Alex Guetsche wrote: > I have an application which contains more than one Model, all descended > from an abstract

Finding the last modified timestamp for a group of Models

2024-02-27 Thread Alex Guetsche
I have an application which contains more than one Model, all descended from an abstract one. All the operational Models have created and modified fields with datetime timestamps. [How] can I get the Django ORM to bring me the last modified timestamp that will be the maximum of all createds