Re: [Django] #25388: Allow disabling of all migrations during tests

2019-11-25 Thread Django
#25388: Allow disabling of all migrations during tests
-+-
 Reporter:  Markus Holtermann|Owner:  Mariusz
 |  Felisiak 
 Type:  New feature  |   Status:  closed
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Mariusz Felisiak ):

 In [changeset:"a69c4d626afe9e56131aeb624caf3137ddd98bcb" a69c4d62]:
 {{{
 #!CommitTicketReference repository=""
 revision="a69c4d626afe9e56131aeb624caf3137ddd98bcb"
 Refs #25388 -- Corrected value of TEST MIGRATE setting in
 MIGRATION_MODULES docs.
 }}}

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.922e0bc4e5580f61052f7be91335fb23%40djangoproject.com.


Re: [Django] #25388: Allow disabling of all migrations during tests

2019-11-20 Thread Django
#25388: Allow disabling of all migrations during tests
-+-
 Reporter:  Markus Holtermann|Owner:  Mariusz
 |  Felisiak 
 Type:  New feature  |   Status:  closed
Component:  Testing framework|  Version:  master
 Severity:  Normal   |   Resolution:  fixed
 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 Mariusz Felisiak ):

 * status:  new => closed
 * owner:  (none) => Mariusz Felisiak 
 * resolution:   => fixed


Comment:

 In [changeset:"f5ebdfce5c417f9844e86bccc2f12577064d4bad" f5ebdfce]:
 {{{
 #!CommitTicketReference repository=""
 revision="f5ebdfce5c417f9844e86bccc2f12577064d4bad"
 Fixed #25388 -- Added an option to allow disabling of migrations during
 test database creation.
 }}}

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.f786b67abf74aacab61afcbf054b%40djangoproject.com.


Re: [Django] #25388: Allow disabling of all migrations during tests

2019-11-12 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  Markus Holtermann  |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  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 Jon Dufresne):

 * needs_better_patch:  1 => 0
 * needs_tests:  1 => 0
 * needs_docs:  1 => 0


Comment:

 I took a new approach in PR https://github.com/django/django/pull/12062

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.98188df6c91a531562b1c0246a9e02e5%40djangoproject.com.


Re: [Django] #25388: Allow disabling of all migrations during tests

2019-11-11 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  Markus Holtermann  |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  1
  Needs tests:  1  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Jaap Roes):

 This would be a very welcome addition to Django. In the mean time, we've
 been adding the following to all our projects `test_settings` to speed up
 testing:

 {{{
 class DisableMigrations:
 """Disable migrations for all apps"""
 def __getitem__(self, item):
 return None

 def __contains__(self, item):
 return True

 MIGRATION_MODULES = NoMigrations()
 }}}

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.7755b6d3471fed799653c4db25a7e28f%40djangoproject.com.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-11-08 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  Markus Holtermann  |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  1
  Needs tests:  1  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tim Graham):

 My take on the motivation of this ticket is to ease the boilerplate of
 setting `MIGRATIONS_MODULES['app'] = None` for all apps in a test settings
 file. I think it has some value if a nice solution is found.

--
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.37c50562f0ae9c7c37addb5a8f069a6f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-11-07 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  Markus Holtermann  |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  1
  Needs tests:  1  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Berker Peksag):

 > Assigned to myself due to inactivity for 2 months.

 Thank you for working on this, Eyad. By the way, the inactivity was mainly
 due to the lack of feedback. I'm not very experienced on this part of
 Django and I wasn't sure that my solution is a good one. So it would be
 great if you could get some feedback from the domain experts :)

--
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.b1c750191575e38e259d18e65f574ec7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-11-07 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  Markus Holtermann  |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  1
  Needs tests:  1  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Markus Holtermann):

 Replying to [comment:15 Tobias McNulty]:
 > Another option (which I prefer over the current implementation, the more
 I think about it) would be to add a new option to the `migrate` management
 command that would *only* run `syncdb`

 I don't like that option. syncdb in it's current form will go away in some
 way or another in the future. `migrate` doesn't run syncdb automatically
 anymore unless explicitly said otherwise.

--
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.e674e03c8e0debc48629aae45f3a958a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-11-07 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  Markus Holtermann  |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  1
  Needs tests:  1  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tobias McNulty):

 Another question: What about the currently documented method of
 suppressing migrations is insufficient? I.e., would simply improving that
 documentation be a suitable alternative to this ticket?

--
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.f1d1639880930cccadfd93c7f0917fc7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-11-07 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  Markus Holtermann  |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  1
  Needs tests:  1  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tobias McNulty):

 Another option (which I prefer over the current implementation, the more I
 think about it) would be to add a new option to the `migrate` management
 command that would *only* run `syncdb` (i.e., it would pass an argument
 into the `MigrationLoader` telling it to do what you do now in the above
 PR). This seems less magical than the current implementation as it would
 facilitate passing the option down through the stack rather than setting
 it on a global variable (the db connection).

--
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.af8cb4c2f8e2648b41756ac6b7c851a8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-11-06 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  Markus Holtermann  |Owner:  (none)
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  1
  Needs tests:  1  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Tobias McNulty):

 * owner:  Tobias McNulty => (none)
 * needs_better_patch:  0 => 1
 * status:  assigned => new
 * needs_tests:  0 => 1
 * needs_docs:  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.65ef607c64daec041d87858167592b0d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-11-06 Thread Django
#25388: Allow disabling of all migrations during tests
-+-
 Reporter:  Markus Holtermann|Owner:  Tobias
 |  McNulty
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  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 Tobias McNulty):

 * owner:  Eyad Toma => Tobias McNulty


Comment:

 Reviewing at DUTH sprint

--
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.7c89cde3ca62d2753da1e3ab87394cd8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-11-05 Thread Django
#25388: Allow disabling of all migrations during tests
---+-
 Reporter:  Markus Holtermann  |Owner:  Eyad Toma
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  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 Eyad Toma):

 * has_patch:  0 => 1


Comment:

 Patch submitted https://github.com/django/django/pull/7499

 it wasn't possible to write tests because setting "_run_in_test_case" on
 the connection only works before creating the test DB.
 I tried override setting and creating "ConnectionHandler" but failed
 because of the reason above.

--
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.76ca7b0976419d57289813d7ec5694f2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-11-05 Thread Django
#25388: Allow disabling of all migrations during tests
---+-
 Reporter:  Markus Holtermann  |Owner:  Eyad Toma
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+-
Changes (by Eyad Toma):

 * owner:  Wiktor => Eyad Toma
 * status:  new => assigned


Comment:

 Assigned to myself due to inactivity for 2 months.
 Working on top of Berker's solution.

--
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.f25883e7870b153f2619ce2136652390%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-08-23 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  MarkusH|Owner:  viciu
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by berkerpeksag):

 Here's a WIP concept:
 https://github.com/django/django/compare/master...berkerpeksag:25388
 -migrate-false-v2 Added an attribute to `BaseDatabaseWrapper` to be used
 during the creation of the test database. It's probably not the best way
 to solve the problem, but it prevents the bug described in #26838.

--
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.239f076b1fb3a3da4be35456f9e654e4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-07-14 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  MarkusH|Owner:  viciu
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by timgraham):

 * status:  closed => new
 * version:  1.10 => master
 * resolution:  fixed =>
 * severity:  Release blocker => Normal


--
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.9bdeca0d107190f5ec3b6b91550dd8be%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-07-14 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  MarkusH|Owner:  viciu
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  Version:  1.10
 Severity:  Release blocker|   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tim Graham ):

 In [changeset:"5c56ce7a3f7568745225b190c5fce6b3442d5cdb" 5c56ce7]:
 {{{
 #!CommitTicketReference repository=""
 revision="5c56ce7a3f7568745225b190c5fce6b3442d5cdb"
 [1.10.x] Reverted "Fixed #25388 -- Added an option to allow disabling of
 migrations during test database creation"

 This reverts commit 157d7f1f1de4705daddebb77f21bd7097a74513d since it
 disables migrations all the time, not just during tests.

 Backport of 944e66cb1db6614ef0644b9030dd1d75e950767c from master
 }}}

--
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.fa01d0bfef941221ec251e069b890fdd%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-07-14 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  MarkusH|Owner:  viciu
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  Version:  1.10
 Severity:  Release blocker|   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by Tim Graham ):

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


Comment:

 In [changeset:"944e66cb1db6614ef0644b9030dd1d75e950767c" 944e66cb]:
 {{{
 #!CommitTicketReference repository=""
 revision="944e66cb1db6614ef0644b9030dd1d75e950767c"
 Reverted "Fixed #25388 -- Added an option to allow disabling of migrations
 during test database creation"

 This reverts commit 157d7f1f1de4705daddebb77f21bd7097a74513d since it
 disables migrations all the time, not just during tests.
 }}}

--
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.dedda1bf66d3d5c98966efb6cb538219%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-07-06 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  MarkusH|Owner:  viciu
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.10
 Severity:  Release blocker|   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by timgraham):

 * status:  closed => new
 * has_patch:  1 => 0
 * version:  master => 1.10
 * resolution:  fixed =>
 * severity:  Normal => Release blocker


Comment:

 As described in #26838, this feature doesn't seem to work as migrations
 are disabled in more than just tests when `setting
 DATABASES['default']['TEST'] = {'MIGRATE': False}`. If this requires more
 than a trivial fix, let's remove the feature from 1.10.

--
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.cea037c1d3a71d818a288a7bd52afc3a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-03-23 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  MarkusH|Owner:  viciu
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:  fixed
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+

Comment (by Tim Graham ):

 In [changeset:"14e6823d090a077d27f9f7caff2d505db31e55a7" 14e6823]:
 {{{
 #!CommitTicketReference repository=""
 revision="14e6823d090a077d27f9f7caff2d505db31e55a7"
 Refs #25388 -- Used in-memory database in test_disable_migrations.
 }}}

--
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.5111dd56067a81e1e6fbb743ecb4818d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-03-22 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  MarkusH|Owner:  viciu
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:  fixed
 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 Markus Holtermann ):

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


Comment:

 In [changeset:"157d7f1f1de4705daddebb77f21bd7097a74513d" 157d7f1f]:
 {{{
 #!CommitTicketReference repository=""
 revision="157d7f1f1de4705daddebb77f21bd7097a74513d"
 Fixed #25388 -- Added an option to allow disabling of migrations during
 test database creation
 }}}

--
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.b6d141a24d4d89715ce2cc0e5541c70b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-03-22 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  MarkusH|Owner:  viciu
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  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 berkerpeksag):

 * needs_better_patch:  1 => 0
 * needs_tests:  1 => 0
 * needs_docs:  1 => 0


Comment:

 Updated PR: https://github.com/django/django/pull/6323

--
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.e117e52def271a1762fc26ec472c9c6b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2016-02-16 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  MarkusH|Owner:  viciu
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  1
  Needs tests:  1  |  Patch needs improvement:  1
Easy pickings:  0  |UI/UX:  0
---+
Changes (by berkerpeksag):

 * cc: berker.peksag@… (added)
 * 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.b537b94484e9bdfe3e72d1d7908bf141%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25388: Allow disabling of all migrations during tests

2015-11-07 Thread Django
#25388: Allow disabling of all migrations during tests
---+
 Reporter:  MarkusH|Owner:  viciu
 Type:  New feature|   Status:  assigned
Component:  Testing framework  |  Version:  master
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Accepted
Has patch:  1  |  Needs documentation:  1
  Needs tests:  1  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+
Changes (by viciu):

 * status:  new => assigned
 * owner:  nobody => viciu
 * has_patch:  0 => 1
 * needs_tests:  0 => 1
 * needs_docs:  0 => 1


Comment:

 https://github.com/django/django/pull/5601

--
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.e84e665da4a11be3e5a3d317f7e9c9a2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #25388: Allow disabling of all migrations during tests

2015-09-11 Thread Django
#25388: Allow disabling of all migrations during tests
-+
   Reporter:  MarkusH|  Owner:  nobody
   Type:  New feature| Status:  new
  Component:  Testing framework  |Version:  master
   Severity:  Normal |   Keywords:
   Triage Stage:  Accepted   |  Has patch:  0
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+
 As an extension to #24919 a setting `DATABASE['TEST']['MIGRATE'] = False`
 should disable all migrations on that particular database. This can be
 done by hooking into
 `django.db.migrations.loader.MigrationLoader.migrations_module()` and
 returning `None`.

--
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/050.9a9c2cbdc0c8a39a7df82c14dd646163%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.