Re: Discussion related to ticket #26822 (new migrations, --keepdb and --parallel option)

2016-07-05 Thread Romain Garrigues
Markus, I like the idea, which is definitely better than my idea of new option to recreate it manually when we know we have to. I can try to investigate a bit if you think that could lead to something that makes sense. Two ideas I have in mind after a quick look at migrate command line code:

Fellow Report - June 25, 2016

2016-07-05 Thread Tim Graham
(I neglected to post this last week.) Triaged --- https://code.djangoproject.com/ticket/26779 - i18n_javascript should take extra_context as argument (accepted) https://code.djangoproject.com/ticket/26781 - SQLite crashes when changing the case of db_table (accepted)

Re: [Feature Request] Orderable ArrayAgg and StringAgg in contrib.postgres.aggregates

2016-07-05 Thread Floris den Hengst
I investigated the GROUP BY requirements when using an ORDER BY within these aggregates, but there appear to be none. Further details can be found in the discussion in Trac: https://code.djangoproject.com/ticket/26067. Based on this observation, I went on to create a PR:

Re: Discussion related to ticket #26822 (new migrations, --keepdb and --parallel option)

2016-07-05 Thread Markus Holtermann
Hi, it might be a shot in the dark, but can't we check if Django's testrunner applied new migrations in which case we drop the cloned databases and recreate them. If all migrations already existed we keep the clones the way they are? /Markus On Tue, Jul 05, 2016 at 09:00:25AM +0200, Aymeric

Re: Discussion related to ticket #26822 (new migrations, --keepdb and --parallel option)

2016-07-05 Thread Aymeric Augustin
Hello, I’ll try to clarify what I said in the PR below.. The main reason for the `--parallel` option was to make Django’s own test suite faster. A full run went down from ~8m to ~1m30 when I committed that patch, which really helps the development cycle on invasive patches. Since Django’s own

Re: Discussion related to ticket #26822 (new migrations, --keepdb and --parallel option)

2016-07-05 Thread Andreas Pelme
Hello, > On 5 juli 2016, at 00:22, Romain Garrigues > wrote: > After some investigation, I have seen that, in case of keepdb context, in > django/db/backends/*/creation.py, if the cloned databases already exist, we > don't touch them, which leads to this new

Re: Google Summer of Code Updates - Class based indexes

2016-07-05 Thread akki
- Restructure index migrations PR - https://github.com/django/django/pull/6866 Modified the internal working of migrations/schema methods related to indexes. This mainly aims at stabilising the newly added migrations for Index class. - Introduce Meta.indexes PR ready