Re: Faster Migrations! But at what cost?

2019-05-20 Thread Raphael Gaschignard
go[3]. Cheers, Simon [0] https://github.com/django/django/blob/1d0bab0bfd77edcf1228d45bf654457a8ff1890d/django/db/models/fields/__init__.py#L495-L499 [1] https://github.com/django/django/blob/1d0bab0bfd77edcf1228d45bf654457a8ff1890d/django/db/migrations/autodetector.py#L49-L87 [2] https://docs.djangoproject.com/en/2.

Faster Migrations! But at what cost?

2019-05-19 Thread Raphael Gaschignard
Hi Developers, We have a decently-sized "large project", around 240 models across 90 apps, with roughly 500 migrations to work off of. We do periodically squash migrations to keep the migration count under control, but because of all this migrations in our testing server take 3-5 minutes to r

ORM difficulties

2015-12-05 Thread Raphael Gaschignard
Hi list, I want to preface this by saying I’m really glad to see the ORM where it is in 1.8, it’s gotten really far and I now think it’s not hopeless to imagine writing complex things in the ORM… So earlier this week I wrote a bit of a rant in the bug tracker about how annotate is con