Re: [Django] #23745: Migrations migrate is slow

2015-10-23 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by timgraham):

 New in Django 1.9, you can disable migrations on a per app basis using the
 [https://docs.djangoproject.com/en/1.9/ref/settings/#std:setting-
 MIGRATION_MODULES MIGRATION_MODULES] setting by setting the app label to
 `None` (#24919).

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.d94a782e522d97a049dd604595f48eb6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2015-10-23 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by vstoykov):

 I found a snippet for disabling migrations
 https://gist.github.com/NotSqrt/5f3c76cd15e40ef62d09 and assembled it in
 my settings.py to easy turn off them when I want.

 {{{
 if os.getenv('DISABLE_MIGRATIONS'):

 class DisableMigrations(object):

 def __contains__(self, item):
 return True

 def __getitem__(self, item):
 return "notmigrations"


 MIGRATION_MODULES = DisableMigrations()
 }}}

 This is dirty hack put in settings.py but do the job. For Django 1.9 even
 can be simplified by {{{return None}}} instead of {{{return
 "notmigrations"}}}

 Probably some switch to test command {{{--no-migrations}}} or something
 that will do something like that can be useful.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.0102c5e174740e617a785b2981463d5f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2015-02-10 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by timgraham):

 I proposed a similar idea on the mailing list and no one rejected it right
 away at least. I think it might be accepted as a new feature for 1.9 --
 probably as a test runner flag instead of a setting. Could you please open
 a new ticket (and if you are interested in working on this feature, a pull
 request)?

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.3d2e656a4bab4db554f25ad3378f5168%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2015-02-10 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by sirex):

 Here is my suggestion:


 {{{
 #!python
 if settings.TESTS_MIGRATE:
 call_command(
 'migrate',
 verbosity=max(verbosity - 1, 0),
 interactive=False,
 database=self.connection.alias,
 test_database=True,
 test_flush=True,
 )
 else:
 from django.apps import apps
 from django.core.management.commands.migrate import Command as
 MigrateCommand
 command = MigrateCommand()
 command.verbosity = 0
 command.interactive = False
 command.load_initial_data = False
 app_labels = [app.label for app in apps.get_app_configs()]
 created_models = command.sync_apps(self.connection, app_labels)
 }}}

 This is just a quick and dirty modification of
 `django/db/backends/creation.py:create_test_db`, but the idea is to add
 option for not running migrations in tests.

 With this modification, my tests became instant fast again.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.5f37be3e1ef9a6ae465abca4abccab9f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2015-02-10 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by sirex):

 I think, that would be great if Django could have option for test command
 to pretend, that none of apps have migrations and would run good old
 syncdb.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.a889623e527a986a7ea9b4a12032924a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2015-02-10 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by sirex):

 Recently I started to work on a project, that uses Django 1.7, and found,
 that running one small test, takes about 10 seconds, white the test itself
 takes 0.001s! I love TDD, but with Django 1.7 it became impossible.

 With South, there was
 [https://south.readthedocs.org/en/latest/settings.html#south-tests-migrate
 SOUTH_TESTS_MIGRATE] option and with this option running single test was
 instant.

 Also, I have [https://github.com/python-
 dirbtuves/akl.lt/blob/master/scripts/runtests.py#L29 a helper script],
 that allows to switch database to in memory SQlite easily, this makes
 tests even faster, because 98% of all tests works perfectly without
 PostgreSQL. So I only switch to PostgreSQL for running tests, when I need
 to.

 In other words, running one single test has to be instant fast. If Django
 itself takes 10 seconds to start, it is deal breaker for everyone who uses
 TDD.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.f308d687f212ef2f8e7be5f963c71c74%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2015-01-02 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Claude Paroz ):

 In [changeset:"a159b1facd222c20dde12f1e0117643af528d511"]:
 {{{
 #!CommitTicketReference repository=""
 revision="a159b1facd222c20dde12f1e0117643af528d511"
 Replaced migration state render() by apps cached property

 Refs #23745.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.3875476d2f2531deea846aad22b1ff1a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2015-01-02 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Claude Paroz ):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"1aa3e09c2043c88a760e8b73fb95dc8f1ffef50e"]:
 {{{
 #!CommitTicketReference repository=""
 revision="1aa3e09c2043c88a760e8b73fb95dc8f1ffef50e"
 Fixed #23745 -- Reused states as much as possible in migrations

 Thanks Tim Graham and Markus Holtermann for the reviews.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.6f1be9b0a3595fbef1e89803ce19cd93%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2015-01-02 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Claude Paroz ):

 In [changeset:"2a9c4b4901d385f68a2c3f9cf98b7a776c2976f0"]:
 {{{
 #!CommitTicketReference repository=""
 revision="2a9c4b4901d385f68a2c3f9cf98b7a776c2976f0"
 Passed around the state between migrations

 Refs #23745.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.ac6ab03cfef2d642da1c52592f4c16b9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2015-01-02 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Claude Paroz ):

 In [changeset:"057305e588ac90474fef47e2fb2890552a543731"]:
 {{{
 #!CommitTicketReference repository=""
 revision="057305e588ac90474fef47e2fb2890552a543731"
 Added ignore_swappable to StateApps

 Refs #23745.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4fb018ed4781cb09f9bdb1ff09632fd2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2014-12-30 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Migrations   |  Version:  master
 Severity:  Release blocker  |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * needs_better_patch:  1 => 0
 * stage:  Accepted => Ready for checkin


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.6e0049be09f942566969b7fdf5acabb3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2014-12-30 Thread Django
#23745: Migrations migrate is slow
--+
 Reporter:  claudep   |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Release blocker   |   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+

Comment (by timgraham):

 Test for `ignore_swappable` from Markus has been added in
 fca866763acb6b3414c20ca3772b94cb5d111733.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.0359f1f81bdf2ee42796b4d2a0e57aa1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2014-12-27 Thread Django
#23745: Migrations migrate is slow
--+
 Reporter:  claudep   |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Release blocker   |   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+

Comment (by timgraham):

 I did some research, and I can hit the logic in question:
 {{{
 if app_label == settings.AUTH_USER_MODEL and ignore_swappable:
continue
 }}}
 on both master and with Claude's patch if I follow the steps in this
 comment: https://code.djangoproject.com/ticket/22563#comment:8

 Andrew first added an error message saying that changing `AUTH_USER_MODEL`
 after creating an initial migration was invalid:
 
https://github.com/django/django/commit/fc974313b85da932a70f1f993b33207d78d31831

 and then someone reporting hitting that error with a false positive and he
 changed it to the current version:
 
https://github.com/django/django/commit/5182efce8d73ec552a1d7f3e86a24369bb261044

 His comment was "I've committed a patch that suppresses the error in that
 one case (where we know it's safe to do so), and I can now switch
 `AUTH_USER_MODEL` even midway through a migration set without errors."

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.2a6c72e1c29dfdb278173171a544199d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2014-12-23 Thread Django
#23745: Migrations migrate is slow
--+
 Reporter:  claudep   |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Release blocker   |   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+
Changes (by claudep):

 * severity:  Normal => Release blocker


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.c9068ce70cae87cd0395a931b8707890%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2014-11-28 Thread Django
#23745: Migrations migrate is slow
--+
 Reporter:  claudep   |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timgraham):

 * needs_better_patch:  0 => 1


Comment:

 As noted on the PR, "There is still an unsolved issue, though, with the
 line `if app_label == settings.AUTH_USER_MODEL and ignore_swappable:`
 which is untested and would fail as `ignore_swappable` is no more."

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.afda32aa511ea9099ef7eb4566fa3415%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2014-11-07 Thread Django
#23745: Migrations migrate is slow
--+
 Reporter:  claudep   |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  0 |UI/UX:  0
--+
Changes (by claudep):

 * needs_better_patch:  1 => 0


Comment:

 New try: https://github.com/django/django/pull/3484

 Before:
   Applying admin.0001_initial... OK (2.9538629055)
   Applying commands_sql_migrations.0001_initial... OK (3.98874592781)
   Applying fixtures_migration.0001_initial... OK (2.9278049469)
   Applying sites.0001_initial... OK (2.65014600754)
   Applying flatpages.0001_initial... OK (2.63765001297)
   Applying migration_test_data_persistence.0001_initial... OK
 (2.87452602386)
   Applying migration_test_data_persistence.0002_add_book... OK
 (2.58737111092)
   Applying postgres_tests.0001_setup_extensions... OK (1.30905008316)
   Applying postgres_tests.0002_create_test_models... OK (9.76085591316)
   Applying redirects.0001_initial... OK (3.11744999886)
   Applying sessions.0001_initial... OK (2.7917330265)

 After:
   Applying admin.0001_initial... OK (2.94719195366)
   Applying commands_sql_migrations.0001_initial... OK (0.251703977585)
   Applying fixtures_migration.0001_initial... OK (0.135380983353)
   Applying sites.0001_initial... OK (0.141701936722)
   Applying flatpages.0001_initial... OK (0.408670186996)
   Applying migration_test_data_persistence.0001_initial... OK
 (0.138519048691)
   Applying migration_test_data_persistence.0002_add_book... OK
 (0.0787410736084)
   Applying postgres_tests.0001_setup_extensions... OK (0.284782886505)
   Applying postgres_tests.0002_create_test_models... OK (0.369908094406)
   Applying redirects.0001_initial... OK (0.170851945877)
   Applying sessions.0001_initial... OK (0.371510028839)

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.11522a87abb267594d0d1b650a329df9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2014-11-02 Thread Django
#23745: Migrations migrate is slow
--+
 Reporter:  claudep   |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Migrations|  Version:  master
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  1
Easy pickings:  0 |UI/UX:  0
--+
Changes (by timgraham):

 * stage:  Unreviewed => Accepted


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.6ef04b1df574e44d0945caabc0c557cf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2014-11-01 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |  Version:  master
Component:  Migrations   |   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:   |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by claudep):

 * needs_better_patch:  0 => 1


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.db8abbcc4b0559b7c140821ab8717d14%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #23745: Migrations migrate is slow

2014-11-01 Thread Django
#23745: Migrations migrate is slow
-+-
 Reporter:  claudep  |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |  Version:  master
Component:  Migrations   |   Resolution:
 Severity:  Normal   | Triage Stage:
 Keywords:   |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by claudep):

 * has_patch:  0 => 1


Comment:

 See https://github.com/django/django/pull/3458. With that patch, each
 migration is now only taking 0.5 sec. (down from 3.5 sec.).

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4a326f5a57997a6e10162e1634f42b89%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.