Re: [Django] #31621: Add "--parallel=auto" option to the "test" command.

2021-07-08 Thread Django
#31621: Add "--parallel=auto" option to the "test" command.
-+-
 Reporter:  Adam Johnson |Owner:  Adam
 |  Johnson
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  1|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Sergey Fedoseev):

 * cc: Sergey Fedoseev (removed)


-- 
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/068.e080c926a2fac81d0a7d0df9a7272c0e%40djangoproject.com.


Re: [Django] #31621: Add "--parallel=auto" option to the "test" command.

2021-07-08 Thread Django
#31621: Add "--parallel=auto" option to the "test" command.
-+-
 Reporter:  Adam Johnson |Owner:  Adam
 |  Johnson
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  1|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * needs_tests:  0 => 1


Comment:

 [https://github.com/django/django/pull/14614 New PR]

-- 
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/068.5647001f57657823a0618050164fa439%40djangoproject.com.


Re: [Django] #30420: Do not reload runserver during debugging / request processing

2021-07-08 Thread Django
#30420: Do not reload runserver during debugging / request processing
-+-
 Reporter:  Daniel Hahler|Owner:  Rohith P
 |  R
 Type:  Bug  |   Status:  assigned
Component:  Core (Management |  Version:  dev
  commands)  |
 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 Mariusz Felisiak):

 * needs_better_patch:  0 => 1


Comment:

 See [https://github.com/django/django/pull/14597#issuecomment-876791741
 Tom's comment].

-- 
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.02702387a3ca3293e67bd36792f1c54f%40djangoproject.com.


Re: [Django] #32906: Explain JSONBAgg benefit

2021-07-08 Thread Django
#32906: Explain JSONBAgg benefit
--+
 Reporter:  Claude Paroz  |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Documentation |  Version:  dev
 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 Mariusz Felisiak):

 * stage:  Unreviewed => Accepted


Comment:

 Agreed.

-- 
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.24cfb56cb8e5bca904290bcdd44389f1%40djangoproject.com.


Re: [Django] #32906: Explain JSONBAgg benefit

2021-07-08 Thread Django
#32906: Explain JSONBAgg benefit
-+-
 Reporter:  Claude Paroz |Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Documentation|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Claude Paroz):

 Then adding tests/docs with calling `JSONBAgg` on a `JSONField` would be
 great.

-- 
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.5eaa0375f2a85a72d3be039e60ff497f%40djangoproject.com.


Re: [Django] #32912: Using label_from_instance on ModelChoiceField requires resetting queryset first

2021-07-08 Thread Django
#32912: Using label_from_instance on ModelChoiceField requires resetting 
queryset
first
+--
 Reporter:  mbehm   |Owner:  nobody
 Type:  Bug |   Status:  closed
Component:  Forms   |  Version:  3.2
 Severity:  Normal  |   Resolution:  duplicate
 Keywords:  | Triage Stage:  Unreviewed
Has patch:  0   |  Needs documentation:  0
  Needs tests:  0   |  Patch needs improvement:  0
Easy pickings:  0   |UI/UX:  0
+--
Changes (by Mariusz Felisiak):

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


Comment:

 I'm sorry but I don't see anything new in your description. As far as I'm
 aware you don't need do "reset" a queryset when subclassing
 `ModelChoiceField` as documented, e.g.
 {{{
 from django.forms import ModelChoiceField

 class MyModelChoiceField(ModelChoiceField):
 def label_from_instance(self, obj):
 return "My Object #%i" % obj.id

 class Aform(forms.Form):
 user = MyModelChoiceField(queryset=User.objects.all())

 }}}
 Duplicate of #6839.

-- 
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/063.84b907486486598aef37e99945a71088%40djangoproject.com.


[Django] #32912: Using label_from_instance on ModelChoiceField requires resetting queryset first

2021-07-08 Thread Django
#32912: Using label_from_instance on ModelChoiceField requires resetting 
queryset
first
--+
   Reporter:  mbehm   |  Owner:  nobody
   Type:  Bug | Status:  new
  Component:  Forms   |Version:  3.2
   Severity:  Normal  |   Keywords:
   Triage Stage:  Unreviewed  |  Has patch:  0
Needs documentation:  0   |Needs tests:  0
Patch needs improvement:  0   |  Easy pickings:  0
  UI/UX:  0   |
--+
 The part in the following old issue about having to reset queryset for the
 label_from_instance to work is valid, even if you follow the documentation
 to the letter your custom version of label_from_instance won't be called
 unless you also define the queryset, even if the queryset would be the
 default.

 https://code.djangoproject.com/ticket/6839

-- 
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/048.82572391de21fce9f031b425392c44b6%40djangoproject.com.


Re: [Django] #25264: Misleading list of options available for manage.py commands

2021-07-08 Thread Django
#25264: Misleading list of options available for manage.py commands
-+-
 Reporter:  Maxime Lorant|Owner:  Yuneui
 Type:   |  Jeong
  Cleanup/optimization   |   Status:  assigned
Component:  Core (Management |  Version:  dev
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by Yuneui Jeong):

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


Re: [Django] #25264: Misleading list of options available for manage.py commands

2021-07-08 Thread Django
#25264: Misleading list of options available for manage.py commands
-+-
 Reporter:  Maxime Lorant|Owner:  Yuneui
 Type:   |  Jeong
  Cleanup/optimization   |   Status:  assigned
Component:  Core (Management |  Version:  dev
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-

Comment (by Yuneui Jeong):

 Here's the PR for this ticket: https://github.com/django/django/pull/14612

-- 
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.a23955ba01310f31d4b86868a315f601%40djangoproject.com.


Re: [Django] #28919: Add support for Common Table Expression (CTE) queries

2021-07-08 Thread Django
#28919: Add support for Common Table Expression (CTE) queries
-+-
 Reporter:  Daniel Miller|Owner:  Moses
 |  Mugisha
 Type:  New feature  |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:  QuerySet.extra   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Paolo Melchiorre):

 * cc: Paolo Melchiorre (added)


-- 
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/067.a33a60a76dd8b0f0ae99d661cd4fd188%40djangoproject.com.


Re: [Django] #27021: Add explicit support for Q object annotations

2021-07-08 Thread Django
#27021: Add explicit support for Q object annotations
-+-
 Reporter:  Josh Smeaton |Owner:  Ian Foote
 Type:  New feature  |   Status:  assigned
Component:  Database layer   |  Version:  dev
  (models, ORM)  |
 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 Mariusz Felisiak):

 * needs_tests:  1 => 0


-- 
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/066.7abacb72e56978aef964fa7f301da7da%40djangoproject.com.


Re: [Django] #24522: Add test command option to run tests in a random order

2021-07-08 Thread Django
#24522: Add test command option to run tests in a random order
-+-
 Reporter:  Andreas Savvides |Owner:  Chris
 |  Jerdonek
 Type:  New feature  |   Status:  closed
Component:  Testing framework|  Version:  dev
 Severity:  Normal   |   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 Mariusz Felisiak ):

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


Comment:

 In [changeset:"90ba716bf060ee7fef79dc230b0b20644839069f" 90ba716b]:
 {{{
 #!CommitTicketReference repository=""
 revision="90ba716bf060ee7fef79dc230b0b20644839069f"
 Fixed #24522 -- Added a --shuffle option to DiscoverRunner.
 }}}

-- 
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/068.16167b2945b94a402772b4a25578cac1%40djangoproject.com.


Re: [Django] #32911: django.forms.BaseFormSet.is_valid does not respect TOTAL_FORM_COUNT

2021-07-08 Thread Django
#32911: django.forms.BaseFormSet.is_valid does not respect TOTAL_FORM_COUNT
---+--
 Reporter:  Lorenzo Morandini  |Owner:  nobody
 Type:  Bug|   Status:  closed
Component:  Forms  |  Version:  3.2
 Severity:  Normal |   Resolution:  needsinfo
 Keywords:  form, formset  | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by Mariusz Felisiak):

 * cc: Jon Dufresne (added)
 * status:  new => closed
 * resolution:   => needsinfo


Comment:

 Thanks for the report, however I have some doubts.

 > #29113 (ticket) does not respect TOTAL_FORM_COUNT variable anymore when
 validating a formset.

 That's not true. This was changed in
 b2717c7532cd35ab9e80c92c6b9f070e62e7ae88 which has nothing to do with
 #29113. Also, `.forms` property uses `TOTAL_FORM_COUNT` so I'm not sure
 how this could introduce a regression. Maybe you're modifying
 `TOTAL_FORM_COUNT` dynamically 樂, but that's not really supported.  Can
 you provide a sample project?

 > I consider it a bug since all the rest of the code of `BaseFormset`
 takes `TOTAL_FORM_COUNT` in consideration.

 As far as I'm aware all methods iterate over `.forms`.

-- 
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/074.dd3565b01301e4391ea9f8d0c2957e05%40djangoproject.com.