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
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
2 matches
Mail list logo