Guidelines for using pyproject.toml with Django apps/projects?

2022-11-15 Thread JK Laiho
I'm modernizing our company's 2015-era conventions around Django projects, and one of the things I'm looking at is using pyproject.toml, both for packaging and for configuring certain tools (e.g. Black). A bit of background. So far, we've used monorepos, with 'apps' and 'project' as the top-lev

Re: When updating a model instance, list changed fields from inside save()?

2009-04-27 Thread JK Laiho
specifically), but I have zero experience with them. Would this be a feasible approach? Thanks again, JK Laiho --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

When updating a model instance, list changed fields from inside save()?

2009-04-27 Thread JK Laiho
Something I don't know how to do in an elegant fashion: Given a model instance that already exists in the database and is about to be updated (i.e. some columns of the DB row are changed), is there a way for the instance's save() method to see what fields have been changed? I'm writing an app wh