Re: [Django] #34992: MariaDB does not support functional group by dependencies

2023-11-24 Thread Django
#34992: MariaDB does not support functional group by dependencies
-+-
 Reporter:  Matthew Somerville   |Owner:  Nathaniel
 |  Conroy
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  4.2
  (models, ORM)  |
 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 Nathaniel Conroy):

 * owner:  nobody => Nathaniel Conroy
 * status:  new => assigned


-- 
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/0107018c0473f709-967525e6-3861-4e6b-9f99-a3ce480729f6-00%40eu-central-1.amazonses.com.


Re: [Django] #33174: Having a model inherit from Generic[T] breaks makemigrations

2023-11-24 Thread Django
#33174: Having a model inherit from Generic[T] breaks makemigrations
+--
 Reporter:  Antoine Humeau  |Owner:  nobody
 Type:  New feature |   Status:  closed
Component:  Migrations  |  Version:  3.2
 Severity:  Normal  |   Resolution:  wontfix
 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 Jacob Fredericksen):

 I think this should be revisited. Python 3.12 introduces new syntax for
 generic classes without explicit inheritance from typing.Generic
 (https://docs.python.org/3/whatsnew/3.12.html#pep-695-type-parameter-
 syntax), so having to trick Django by adding verbose TYPE_CHECKING
 conditionals and explicit Generic inheritance is a bummer. Removing
 typing.Generic from the list of bases in the migration file seems to work
 just fine, though.

-- 
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/0107018c03db1ee4-a6786233-c470-44c1-8825-f02cacef1294-00%40eu-central-1.amazonses.com.


Re: [Django] #34658: New assertion `assertNotInHTML`, like `assertContains` has `assertNotContains`

2023-11-24 Thread Django
#34658: New assertion `assertNotInHTML`, like `assertContains` has
`assertNotContains`
-+-
 Reporter:  Thibaud Colas|Owner:
 |  evananyonga
 Type:  New feature  |   Status:  assigned
Component:  Testing framework|  Version:
 Severity:  Normal   |   Resolution:
 Keywords:  testcases, unit  | Triage Stage:  Accepted
  tests, HTML, assertions, testing   |
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * owner:  Thibaud Colas => evananyonga


-- 
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/0107018c030af134-8fd4e31e-16b4-4f84-b2ec-d51fe2134a81-00%40eu-central-1.amazonses.com.


Re: [Django] #34566: ModelAdmin get_field_queryset uses related admin ordering, but not related admin querysets.

2023-11-24 Thread Django
#34566: ModelAdmin get_field_queryset uses related admin ordering, but not 
related
admin querysets.
---+
 Reporter:  Mike J |Owner:  nobody
 Type:  Bug|   Status:  new
Component:  contrib.admin  |  Version:  4.2
 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
---+

Comment (by fisadev):

 Hi! I'm, Juan, the one who added that get_field_queryset override making
 use of get_ordering (
 
https://github.com/django/django/commit/d9330d5be2ee60b208dcab2616eb164ea2e6bf36
 ).

 I'm not entirely sure what was the reasoning behind the decision to use
 get_ordering instead of get_queryset, which AFAIK was already present at
 that time. Maybe we didn't realize because we were focused on solving the
 ordering problem, so calling get_ordering was the most obvious solution
 and we didn't notice we could be using get_queryset? Or maybe it was
 because of performance reasons or sounded overkill to use get_queryset, as
 maybe get_queryset tends to get more data than needed just to populate the
 drop down in the related model admin? But that might be a little too
 opinionated.

 I'm not sure what would be the best today. Sorry!

-- 
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/0107018c02527dcb-dc77fdc6-b44d-40be-b747-08a7ff1575b7-00%40eu-central-1.amazonses.com.


Re: [Django] #34925: refresh_from_db() will not iterate through all of the fields listed in the 'fields' parameter.

2023-11-24 Thread Django
#34925: refresh_from_db() will not iterate through all of the fields listed in 
the
'fields' parameter.
-+-
 Reporter:  Andrew Cordery   |Owner:  Trontelj
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  5.0
  (models, ORM)  |
 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:  1|UI/UX:  0
-+-
Changes (by Mariusz Felisiak ):

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


Comment:

 In [changeset:"b0ec87b8578147be4357c90eabcd2b916c780810" b0ec87b8]:
 {{{
 #!CommitTicketReference repository=""
 revision="b0ec87b8578147be4357c90eabcd2b916c780810"
 Fixed #34925 -- Prevented Model.refresh_from_db() from mutating list of
 fields.
 }}}

-- 
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/0107018c017c5154-a7578013-757b-4244-93b2-577b69cdfe54-00%40eu-central-1.amazonses.com.


Re: [Django] #34925: refresh_from_db() will not iterate through all of the fields listed in the 'fields' parameter.

2023-11-24 Thread Django
#34925: refresh_from_db() will not iterate through all of the fields listed in 
the
'fields' parameter.
-+-
 Reporter:  Andrew Cordery   |Owner:  Trontelj
 Type:  Bug  |   Status:  assigned
Component:  Database layer   |  Version:  5.0
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018c015d342b-737b0860-7ffb-4aab-9fcb-0ceffe156bbf-00%40eu-central-1.amazonses.com.


Re: [Django] #34968: MultiPartParser silent large header fields size failures

2023-11-24 Thread Django
#34968: MultiPartParser silent large header fields size failures
-+-
 Reporter:  Standa Opichal   |Owner:  Standa
 Type:   |  Opichal
  Cleanup/optimization   |   Status:  closed
Component:  HTTP handling|  Version:  4.2
 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:"1c6e8ec4ed6d9c374161eda965160e4782c7d71e" 1c6e8ec]:
 {{{
 #!CommitTicketReference repository=""
 revision="1c6e8ec4ed6d9c374161eda965160e4782c7d71e"
 Fixed #34968 -- Made multipart parsing of headers raise an error on too
 long headers.

 This also allow customizing the maximum size of headers via
 MAX_TOTAL_HEADER_SIZE.
 }}}

-- 
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/0107018c012ac350-bf6bbe65-2f19-4458-bb0f-c8eed95f6eae-00%40eu-central-1.amazonses.com.


Re: [Django] #25582: Add a way to build URLs with query strings

2023-11-24 Thread Django
#25582: Add a way to build URLs with query strings
+---
 Reporter:  Thomas Güttler  |Owner:  Daniel Rios
 Type:  New feature |   Status:  assigned
Component:  Core (URLs) |  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 Sage Abdullah):

 * cc: Sage Abdullah (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/0107018c01270cbc-e26a6651-53bb-49a6-b828-d39c862f1599-00%40eu-central-1.amazonses.com.


Re: [Django] #34988: Makemigrations shouldn't prompt for default values for non-nullable fields of other apps.

2023-11-24 Thread Django
#34988: Makemigrations shouldn't prompt for default values for non-nullable 
fields
of other apps.
--+
 Reporter:  Sarah Boyce   |Owner:  nobody
 Type:  Cleanup/optimization  |   Status:  new
Component:  Migrations|  Version:  dev
 Severity:  Normal|   Resolution:
 Keywords:  makemigrations| 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):

 * type:  Uncategorized => Cleanup/optimization


-- 
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/0107018c010f02fd-1bb76e6d-41e7-404a-b2d8-2d7e52802dce-00%40eu-central-1.amazonses.com.


Re: [Django] #34983: Deprecate django.utils.itercompat.is_iterable().

2023-11-24 Thread Django
#34983: Deprecate django.utils.itercompat.is_iterable().
-+-
 Reporter:  Nick Pope|Owner:  Nick Pope
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Utilities|  Version:  dev
 Severity:  Normal   |   Resolution:  fixed
 Keywords:  itercompat,  | Triage Stage:  Ready for
  is_iterable|  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by GitHub ):

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


Comment:

 In [changeset:"5e28cd3f2cfc31bf947a747256bc036f8f64888a" 5e28cd3f]:
 {{{
 #!CommitTicketReference repository=""
 revision="5e28cd3f2cfc31bf947a747256bc036f8f64888a"
 Fixed #34983 -- Deprecated django.utils.itercompat.is_iterable().
 }}}

-- 
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/0107018c01029622-41ee2739-7071-487a-b35c-70f494c09814-00%40eu-central-1.amazonses.com.


Re: [Django] #34983: Deprecate django.utils.itercompat.is_iterable().

2023-11-24 Thread Django
#34983: Deprecate django.utils.itercompat.is_iterable().
-+-
 Reporter:  Nick Pope|Owner:  Nick Pope
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  Utilities|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:  itercompat,  | Triage Stage:  Ready for
  is_iterable|  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Mariusz Felisiak):

 * 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018c00b57464-39342522-b4dd-4360-9a4d-f72939d4cc05-00%40eu-central-1.amazonses.com.


Re: [Django] #34983: Deprecate django.utils.itercompat.is_iterable().

2023-11-24 Thread Django
#34983: Deprecate django.utils.itercompat.is_iterable().
-+-
 Reporter:  Nick Pope|Owner:  Nick Pope
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  Utilities|  Version:  dev
 Severity:  Normal   |   Resolution:
 Keywords:  itercompat,  | Triage Stage:  Accepted
  is_iterable|
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Nick Pope):

 * needs_better_patch:  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/0107018c00ad8bf1-ad081bdc-b7b9-4b39-b01a-a24ec93a369a-00%40eu-central-1.amazonses.com.


Re: [Django] #34968: MultiPartParser silent large header fields size failures

2023-11-24 Thread Django
#34968: MultiPartParser silent large header fields size failures
-+-
 Reporter:  Standa Opichal   |Owner:  Standa
 Type:   |  Opichal
  Cleanup/optimization   |   Status:  assigned
Component:  HTTP handling|  Version:  4.2
 Severity:  Normal   |   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 Mariusz Felisiak):

 * 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018c00950489-f5474d7e-e4da-4ece-b4c2-d45d91840212-00%40eu-central-1.amazonses.com.