Re: [Django] #22828: Model admins should return copies of its attributes

2024-09-21 Thread Django
: 0 |UI/UX: 0 + Changes (by Karol Alvarado): * cc: Karol Alvarado (added) -- Ticket URL: <https://code.djangoproject.com/ticket/22828#comment:10> Django <https://code.djangoproject.

Re: [Django] #22828: Model admins should return copies of its attributes

2024-09-21 Thread Django
thing that has to be noted because it's confusing. -- Ticket URL: <https://code.djangoproject.com/ticket/22828#comment:9> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the

Re: [Django] #35670: Unclear docs for LoginRequiredMiddleware.get_login_url()

2024-09-21 Thread Django
=> Aditya Chaudhary -- Ticket URL: <https://code.djangoproject.com/ticket/35670#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates&qu

Re: [Django] #34624: RelatedFieldWidgetWrapper links toggling isn’t working for radio widgets

2024-09-21 Thread Django
: 0 Easy pickings: 0 |UI/UX: 1 ---+ Changes (by devday): * owner: (none) => devday * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/34624#comment:12> D

Re: [Django] #35381: Regression on json null value constraints in django 4.2

2024-09-21 Thread Django
#35381: Regression on json null value constraints in django 4.2 -+- Reporter: Olivier Tabone |Owner: devday Type: Bug | Status: assigned

Re: [Django] #21289: Add login rate limiting to contrib.auth

2024-09-21 Thread Django
|UI/UX: 0 --+--- Changes (by Tom Carrick): * owner: nobody => Tom Carrick * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/21289#comment:9> D

Re: [Django] #34898: Adding non-deterministic collations to unique CharFields crashes on PostgreSQL.

2024-09-21 Thread Django
Ülgen Sarıkavak): * cc: Ülgen Sarıkavak (added) -- Ticket URL: <https://code.djangoproject.com/ticket/34898#comment:11> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the G

[Django] #35780: ForeignKey choices in admin have no option to avoid lazy evaluation of model attributes

2024-09-20 Thread Django
://github.com/django/django/blob/main/django/db/models/fields/__init__.py#L1073 It would be great if after the above line a value passed in the field (such as `ForeignKey`) could be used to specify items to pass to `select_related()` or simply to call `select_related()`. Prefetch ability would also

Re: [Django] #35779: ORM to avoid deferring the reference_id of a prefetch

2024-09-20 Thread Django
email")) > ) > }}} > That `User`/`Email` was mostly to exemplify the issue :) -- Ticket URL: <https://code.djangoproject.com/ticket/35779#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this mess

Re: [Django] #35779: ORM to avoid deferring the reference_id of a prefetch

2024-09-20 Thread Django
, consider using .values() or .values_list() to reduce the amount of data furthe User.objects.prefetch_related( Prefetch("email_set", queryset=Email.objects.only("user_id", "email")) ) -- Ticket URL: <https://code.djangoproject.com/ticket/35779#comment:2> Dj

Re: [Django] #35779: ORM to avoid deferring the reference_id of a prefetch

2024-09-20 Thread Django
-+- Changes (by GunSliger7): * owner: (none) => GunSliger7 * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/35779#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You rec

Re: [Django] #35615: Add ability to render request.user in templates when async is used

2024-09-20 Thread Django
) => GunSliger7 -- Ticket URL: <https://code.djangoproject.com/ticket/35615#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group.

Re: [Django] #35670: Unclear docs for LoginRequiredMiddleware.get_login_url()

2024-09-20 Thread Django
still working in this issue ? Or shall I assign this to myself ? -- Ticket URL: <https://code.djangoproject.com/ticket/35670#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed t

Re: [Django] #35675: Reduce impact of parsing crafted templates with repeat tags

2024-09-20 Thread Django
compiled before execution (see the linked code above). Repeat compiling isn't the performance hit here, it's the backtracking in the pattern itself. -- Ticket URL: <https://code.djangoproject.com/ticket/35675#comment:3> Django <https://code.djangoproject.com/> The Web fra

Re: [Django] #35675: Reduce impact of parsing crafted templates with repeat tags

2024-09-20 Thread Django
iding repeated compilation overhead for frequent matches? -- Ticket URL: <https://code.djangoproject.com/ticket/35675#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to

[Django] #35779: ORM to avoid deferring the reference_id of a prefetch

2024-09-20 Thread Django
being thrown into the trash, but also because the iteration was taking some time to happen (very large table), some related objects got deleted in the meantime, and when the ORM tried to `refresh_from_db` to get the related id, it failed with that error. -- Ticket URL: <https://code.djangopr

Re: [Django] #35778: Use native JSONObject on Postgres 16+ with server side bindings

2024-09-20 Thread Django
But I'm happy to be swayed. -- Ticket URL: <https://code.djangoproject.com/ticket/35778#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups &quo

Re: [Django] #35778: Use native JSONObject on Postgres 16+ with server side bindings

2024-09-20 Thread Django
https://github.com/django/django/pull/18549 > > It is possible to use the native JSONObject with server side bindings, > but it requires a little bit of use of `cast`. > > See find it again> > > There are two minor issues: > > 1. Should Postgres 16 *without* server

Re: [Django] #35734: JSONObject crashes with Postgres 16 and server side bindings

2024-09-20 Thread Django
): I've created the separate ticket to track use of the native json object with postgres 16+ and server side bindings: https://code.djangoproject.com/ticket/35778#ticket -- Ticket URL: <https://code.djangoproject.com/ticket/35734#comment:15> Django <https://code.djangoproject.com/>

[Django] #35778: Use native JSONObject on Postgres 16+ with server side bindings

2024-09-20 Thread Django
with server side bindings recently resulted in a crash. The most recent fix is to fallback to the use of jsonb_build_object on postgres 16 when using server side bindings. See https://code.djangoproject.com/ticket/35734 And https://github.com/django/django/pull/18549 It is possible to use the

Re: [Django] #35777: MySQL: cannot add key limited index on TEXT columns

2024-09-20 Thread Django
ix, 'name': self.name} path = "%s.%s" % (self.__class__.__module__, self.__class__.__name__) return path, self.expressions, kwargs def clone(self): return self.__class__(self.column, self.prefix, self.name) }}} -- Ticket URL: <https://code.dj

Re: [Django] #35777: MySQL: cannot add key limited index on TEXT columns

2024-09-20 Thread Django
an option. -- Ticket URL: <https://code.djangoproject.com/ticket/35777#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates"

Re: [Django] #35734: JSONObject crashes with Postgres 16 and server side bindings

2024-09-20 Thread Django
): Replying to [comment:11 Sarah Boyce]: > [https://github.com/django/django/commit/0f53d48115ba0295cefea33512dc146caad39443 Here is an approach] which uses the native `JSONObject` function for server side bindings, casting the keys to text. Adding it here for a record. I can create a separ

Re: [Django] #35734: JSONObject crashes with Postgres 16 and server side bindings (was: Tests fail with Postgres 16 and server side bindings)

2024-09-20 Thread Django
): * summary: Tests fail with Postgres 16 and server side bindings => JSONObject crashes with Postgres 16 and server side bindings -- Ticket URL: <https://code.djangoproject.com/ticket/35734#comment:13> Django <https://code.djangoproject.com/> The Web framework for perfectionists

Re: [Django] #35777: MySQL: cannot add key limited index on TEXT columns

2024-09-20 Thread Django
om/doc/refman/8.4/en/create-index.html#create-index- column-prefixes. So called `Column Prefix Key Parts`. -- Ticket URL: <https://code.djangoproject.com/ticket/35777#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You rec

Re: [Django] #35777: MySQL: cannot add key limited index on TEXT columns

2024-09-20 Thread Django
ach in the OP. That index however is useless. It cannot be used by MySQL for speeding up `startswith` queries. -- Ticket URL: <https://code.djangoproject.com/ticket/35777#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- Yo

Re: [Django] #35777: MySQL: cannot add key limited index on TEXT columns

2024-09-20 Thread Django
using [https://docs.djangoproject.com/en/5.0/ref/models/indexes/#django.db.models.Index.expressions Index.expressions] and [https://docs.djangoproject.com/en/5.0/ref/models /database-functions/#left Left] -- Ticket URL: <https://code.djangoproject.com/ticket/35777#comment:1> D

[Django] #35777: MySQL: cannot add key limited index on TEXT columns

2024-09-20 Thread Django
y downsides: * cannot run tests without running the migrations if i need the index in tests * makes squashing migrations more painful But it seems, this is impossible to achieve with the `Meta.indexes`: {{{ Index(fields=['url(100)'], name='my_limited_prefix_index')

Re: [Django] #35766: Choice iterator breaks when using slices

2024-09-20 Thread Django
"alpha" backporting policy. Therefore, this commit is really a "5.0 feature" and it's my understanding that this does not qualify for a 5.1 backport. -- Ticket URL: <https://code.djangoproject.com/ticket/35766#comment:10> Django <https://code.djangop

Re: [Django] #373: Add support for multi-columns fields.

2024-09-20 Thread Django
LL rather than all. Regression in 1eac690d25dd49088256954d4046813daa37dc95. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/373#comment:192> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Gro

Re: [Django] #35734: Tests fail with Postgres 16 and server side bindings

2024-09-20 Thread Django
): * needs_tests: 1 => 0 -- Ticket URL: <https://code.djangoproject.com/ticket/35734#comment:12> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates&qu

Re: [Django] #35734: Tests fail with Postgres 16 and server side bindings

2024-09-20 Thread Django
://github.com/django/django/pull/18549/commits/0f53d48115ba0295cefea33512dc146caad39443 Here is an approach] which uses the native `JSONObject` function for server side bindings, casting the keys to text. Adding it here for a record. -- Ticket URL: <https://code.djangoproject.com/ticket/35

Re: [Django] #35766: Choice iterator breaks when using slices

2024-09-20 Thread Django
-+- Comment (by Sarah Boyce): [https://github.com/django/django/pull/18604 PR] - have some questions as to whether it is required for the backport -- Ticket URL: <https://code.djangoproject.com/ticket/35766#comment:9> Django <https://code.djangoproject.com/> The Web framework for pe

Re: [Django] #35462: Add support JSONArrayAgg

2024-09-20 Thread Django
): * needs_better_patch: 1 => 0 * needs_docs: 1 => 0 * needs_tests: 1 => 0 -- Ticket URL: <https://code.djangoproject.com/ticket/35462#comment:9> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this me

Re: [Django] #35766: Choice iterator breaks when using slices

2024-09-20 Thread Django
-+- Comment (by Sarah Boyce): Yes you're right - I missed this. I will create a release note a back port shortly -- Ticket URL: <https://code.djangoproject.com/ticket/35766#comment:8> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines.

Re: [Django] #35742: Apply UserAdmin add_form_template according to User model USERNAME_FIELD

2024-09-19 Thread Django
antoliny0919): * needs_better_patch: 1 => 0 -- Ticket URL: <https://code.djangoproject.com/ticket/35742#comment:20> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google

Re: [Django] #35449: SplitArrayField doesn't validate properly with remove_trailing_nulls=True

2024-09-19 Thread Django
run the tests with > > {{{ > python runtests.py postgres_tests.test_array > }}} > > The test passes, does this mean that the bug has been resolved? Nevermind, ignore this -- Ticket URL: <https://code.djangoproject.com/ticket/35449#comment:9> Django <https://code.d

Re: [Django] #35763: Setting the auto increment value of a database model breaks when you add a new field to the model

2024-09-19 Thread Django
he sequence to the next available value, instead of keeping the manually-set value of the sequence. -- Ticket URL: <https://code.djangoproject.com/ticket/35763#comment:9> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You receive

Re: [Django] #35766: Choice iterator breaks when using slices

2024-09-19 Thread Django
-+- Comment (by Claude Paroz): Isn't the related commit 07fa79ef2bb3e8cace7bd87b292c6c85230eed05 ? -- Ticket URL: <https://code.djangoproject.com/ticket/35766#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You rece

Re: [Django] #35772: Document models.Field.contribute_to_class

2024-09-19 Thread Django
m/ticket/35772#comment:4> Django <https://code.djangoproject.com/> 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 email

Re: [Django] #18392: Make MySQL backend default to utf8mb4 encoding

2024-09-19 Thread Django
://forum.djangoproject.com/t/ticket-18392-and-mysql- utf8mb4/34916 forum thread] about this. -- Ticket URL: <https://code.djangoproject.com/ticket/18392#comment:54> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message

Re: [Django] #35776: Drop support for GDAL 3.0

2024-09-19 Thread Django
support for GDAL 3.0. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35776#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Dja

Re: [Django] #35776: Drop support for GDAL 3.0

2024-09-19 Thread Django
ady for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/35776#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates&qu

Re: [Django] #35776: Drop support for GDAL 3.0

2024-09-19 Thread Django
ticket/35776#comment:3> Django <https://code.djangoproject.com/> 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 f

Re: [Django] #35535: Provide new template tag to capture internal block output as a template variable ("simple block tag").

2024-09-19 Thread Django
er top-bottom pass. Once the minor nitpicks are fixed, I need to do a in-depth review in terms of test coverage and functionality. -- Ticket URL: <https://code.djangoproject.com/ticket/35535#comment:21> Django <https://code.djangoproject.com/> The Web framework for perfectionists

Re: [Django] #33230: Test client doesn't set explicitly provided Content-Type when data is empty

2024-09-19 Thread Django
houghts on this. -- Ticket URL: <https://code.djangoproject.com/ticket/33230#comment:8> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" grou

Re: [Django] #35734: Tests fail with Postgres 16 and server side bindings

2024-09-19 Thread Django
s://code.djangoproject.com/ticket/35734#comment:10> Django <https://code.djangoproject.com/> 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

Re: [Django] #35748: Document that Field.formfield() may return None

2024-09-19 Thread Django
226bc1c52a0165164e5b34fef1d336050ca60" Fixed #35748 -- Documented that fields are excluded from a ModelForm when formfield() returns None. Co-authored-by: Sarah Boyce <42296566+sarahbo...@users.noreply.github.com> }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35748#comment:

Re: [Django] #35748: Document that Field.formfield() may return None

2024-09-19 Thread Django
-+- Changes (by Sarah Boyce): * stage: Accepted => Ready for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/35748#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you

Re: [Django] #35772: Document models.Field.contribute_to_class

2024-09-19 Thread Django
ut removing the reference, or leaving it as is, un-referenced? -- Ticket URL: <https://code.djangoproject.com/ticket/35772#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to

Re: [Django] #35763: Setting the auto increment value of a database model breaks when you add a new field to the model

2024-09-19 Thread Django
lly disagree. I change the auto increment value of my table, and Django's migration undoes this. -- Ticket URL: <https://code.djangoproject.com/ticket/35763#comment:8> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received thi

Re: [Django] #35774: Drop support for GEOS 3.8.

2024-09-19 Thread Django
et URL: <https://code.djangoproject.com/ticket/35774#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscr

Re: [Django] #35775: Add support for GEOS 3.13.

2024-09-19 Thread Django
et URL: <https://code.djangoproject.com/ticket/35775#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscr

Re: [Django] #35776: Drop support for GDAL 3.0

2024-09-19 Thread Django
et URL: <https://code.djangoproject.com/ticket/35776#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscr

Re: [Django] #35772: Document models.Field.contribute_to_class

2024-09-19 Thread Django
ould have to be officially documented. Having it in there while maintaining its status as a private part of the API is a bit in the gray area. -- Ticket URL: <https://code.djangoproject.com/ticket/35772#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionis

Re: [Django] #35763: Setting the auto increment value of a database model breaks when you add a new field to the model

2024-09-19 Thread Django
-+- Comment (by Natalia Bidart): Replying to [comment:4 Kevin Renskers]: > It really does feel like a Django bug to me though. It only breaks using SQLite, and only when adding a second migration. Are you saying that further migrati

Re: [Django] #35766: Choice iterator breaks when using slices

2024-09-19 Thread Django
-+- Comment (by Natalia Bidart): Replying to [comment:5 Claude Paroz]: > Sarah, isn't this a regression in the last Django version that warrants a backport? Hey Claude, thanks for keeping an eye on things! But the feature was introduced in 5.0 so it does not qualify for a backport

Re: [Django] #35763: Setting the auto increment value of a database model breaks when you add a new field to the model

2024-09-19 Thread Django
-+- Comment (by Natalia Bidart): Replying to [comment:5 Claude Paroz]: > I suspect that this issue could be related to the fact that SQLite AFAIR doesn't support adding columns, so Django is emulating that by deleting and recrea

Re: [Django] #35776: Drop support for GDAL 3.0

2024-09-19 Thread Django
improvement: 0 Easy pickings: 0 |UI/UX: 0 --+ Changes (by Sarah Boyce): * stage: Unreviewed => Accepted -- Ticket URL: <https://code.djangoproject.com/ticket/35776#comment:1> Djan

Re: [Django] #35775: Add support for GEOS 3.13.

2024-09-19 Thread Django
improvement: 0 Easy pickings: 0 |UI/UX: 0 --+ Changes (by Sarah Boyce): * stage: Unreviewed => Accepted -- Ticket URL: <https://code.djangoproject.com/ticket/35775#comment:1&g

Re: [Django] #35774: Drop support for GEOS 3.8.

2024-09-19 Thread Django
;https://code.djangoproject.com/ticket/35774#comment:1> Django <https://code.djangoproject.com/> 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

Re: [Django] #24686: Support for Moving a model between two Django apps

2024-09-19 Thread Django
#24686: Support for Moving a model between two Django apps ---+ Reporter: Alex Rothberg |Owner: Bhuvnesh Type: New feature| Status: assigned Component: Migrations

[Django] #35776: Drop support for GDAL 3.0

2024-09-19 Thread Django
-- Ticket URL: <https://code.djangoproject.com/ticket/35776> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe fr

[Django] #35775: Add support for GEOS 3.13.

2024-09-19 Thread Django
]. -- Ticket URL: <https://code.djangoproject.com/ticket/35775> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe fr

[Django] #35774: Drop support for GEOS 3.8.

2024-09-19 Thread Django
| Patch needs improvement: 0 Easy pickings: 0|UI/UX: 0 -+- GEOS 3.8 will be more than 5 years old when Django 5.2 is released. https://libgeos.org/usage/download/ -- Ticket URL

Re: [Django] #35742: Apply UserAdmin add_form_template according to User model USERNAME_FIELD

2024-09-19 Thread Django
Boyce): * needs_better_patch: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/35742#comment:19> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google

Re: [Django] #29522: Make Serializers easier to modify.

2024-09-18 Thread Django
est crash if PyYAML isn't installed. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29522#comment:26> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups &

Re: [Django] #35074: Altering spatial_index does not actually create/drop the index

2024-09-18 Thread Django
63808b7d1b115" Fixed #35074 -- Fixed adding/removing indexes when spatial_index is changed on MySQL, PostgreSQL, and Oracle. Co-authored-by: Mário Falcão }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35074#comment:22> Django <https://code.djangoproject.com/> The Web

Re: [Django] #35766: Choice iterator breaks when using slices

2024-09-18 Thread Django
-+- Comment (by Claude Paroz): Sarah, isn't this a regression in the last Django version that warrants a backport? -- Ticket URL: <https://code.djangoproject.com/ticket/35766#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines.

Re: [Django] #35074: Altering spatial_index does not actually create/drop the index

2024-09-18 Thread Django
Sarah Boyce): * stage: Accepted => Ready for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/35074#comment:21> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to th

Re: [Django] #35308: FileNotFoundError escapes from run_formatters()

2024-09-18 Thread Django
-+- Changes (by Jacob Walls): * has_patch: 0 => 1 * owner: Jeetu Singh => Jacob Walls Comment: [https://github.com/django/django/pull/18597 PR] -- Ticket URL: <https://code.djangoproject.com/ticket/35308#comment:8> Django <https://code.djangoproject.com/> The Web framework for p

Re: [Django] #35095: Monetary values in Switzerland discrepancy

2024-09-18 Thread Django
: Neil Pendyala => Aditya Chaudhary -- Ticket URL: <https://code.djangoproject.com/ticket/35095#comment:22> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups

Re: [Django] #13883: SelectBox.js with grouping (optgroup elements)

2024-09-18 Thread Django
still required ? -- Ticket URL: <https://code.djangoproject.com/ticket/13883#comment:33> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django u

Re: [Django] #35770: Improve recommendation for ignoring memcached-incompatible cache key warnings

2024-09-18 Thread Django
following code. This code can be added to the ready() method of an AppConfig class in one of your INSTALLED_APPS, which is a more integrated and commonly used approach:`` -- Ticket URL: <https://code.djangoproject.com/ticket/35770#comment:4> Django <https://code.djangoproject.com/

Re: [Django] #35770: Improve recommendation for ignoring memcached-incompatible cache key warnings

2024-09-18 Thread Django
(by Aditya Chaudhary): * owner: (none) => Aditya Chaudhary * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/35770#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this m

Re: [Django] #18392: Make MySQL backend default to utf8mb4 encoding

2024-09-18 Thread Django
the defaults in django to "utf8mb4", but put prominent notes in the documentation for how users can set the database options to use "utf8mb3"? We could link to a page like [https://dev.mysql.com/doc/refman/9.0/en/charset-unicode-conversion.html this], and then users could sta

Re: [Django] #18392: Make MySQL backend default to utf8mb4 encoding

2024-09-18 Thread Django
) -- Ticket URL: <https://code.djangoproject.com/ticket/18392#comment:52> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To

Re: [Django] #35766: Choice iterator breaks when using slices

2024-09-18 Thread Django
ef3fc2055e4be8b9602ac9" Fixed #35766 -- Handled slices in BaseChoiceIterator. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35766#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message be

Re: [Django] #35766: Choice iterator breaks when using slices

2024-09-18 Thread Django
-+- Changes (by Sarah Boyce): * stage: Accepted => Ready for checkin Comment: PR received approval -- Ticket URL: <https://code.djangoproject.com/ticket/35766#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You receiv

Re: [Django] #33537: Cloning test databases should reraise errors on MySQL.

2024-09-18 Thread Django
): * needs_better_patch: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/33537#comment:13> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Djang

Re: [Django] #35773: Error importing HeaderWriteError from email.errors after upgrading to Django 4.2.16

2024-09-18 Thread Django
#35773: Error importing HeaderWriteError from email.errors after upgrading to Django 4.2.16 --+-- Reporter: Muzaffar Omer |Owner: (none) Type: Bug | Status

Re: [Django] #35667: Switch usage to skip_file_prefixes instead of stacklevel when it makes sense

2024-09-18 Thread Django
Jae Hyuck Sa ): * has_patch: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/35667#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups

Re: [Django] #35772: Document models.Field.contribute_to_class

2024-09-18 Thread Django
delCreation#InstallingTheAttributes Django's Wiki 2006] * [https://lazypython.blogspot.com/2008/11/django-models-digging-little- deeper.html Alex Gaynor's post 2008] * [https://www.b-list.org/weblog/2019/mar/04/class/ James Bennet's post 2019] * [https://jacobian.org/til/django-model-fields-with-a

Re: [Django] #35773: Error importing HeaderWriteError from email.errors after upgrading to Django 4.2.16

2024-09-18 Thread Django
#35773: Error importing HeaderWriteError from email.errors after upgrading to Django 4.2.16 --+-- Reporter: Muzaffar Omer |Owner: (none) Type: Bug | Status

[Django] #35773: Error importing HeaderWriteError from email.errors after upgrading to Django 4.2.16

2024-09-18 Thread Django
#35773: Error importing HeaderWriteError from email.errors after upgrading to Django 4.2.16 --+--- Reporter: Muzaffar Omer | Type: Bug Status: new |Component

Re: [Django] #35676: ExclusionConstraint that includes a ForeignKey fails validation in ModelForm

2024-09-18 Thread Django
ket/35676#comment:7> Django <https://code.djangoproject.com/> 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

[Django] #35772: Document models.Field.contribute_to_class

2024-09-18 Thread Django
/django/django/blob/9ca1f6eff6f19d1ae074d289c6c4209073351805/django/db/models/fields/__init__.py#L957-L958] and in the docs[https://docs.djangoproject.com/en/5.1/ref/models/instances/#django.db.models.Model.get_previous_by_FOO], it is suggested that a user may override `Field.contribute_to_class

Re: [Django] #34624: RelatedFieldWidgetWrapper links toggling isn’t working for radio widgets

2024-09-18 Thread Django
o try to tackle it and put up a PR if there are no objections. Are you still working on the issue ? if not, I'd like to try have a go on it :) -- Ticket URL: <https://code.djangoproject.com/ticket/34624#comment:11> Django <https://code.djangoproject.com/> The Web framewor

Re: [Django] #2750: ManyToManyField ignores 'default' option

2024-09-18 Thread Django
h: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/2750#comment:26> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates&qu

Re: [Django] #35667: Switch usage to skip_file_prefixes instead of stacklevel when it makes sense

2024-09-18 Thread Django
Jae Hyuck Sa ): * owner: (none) => Jae Hyuck Sa * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/35667#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this messa

Re: [Django] #35771: Bugs: models.DateField value has not been assigned correct date value when auto_now_add is set

2024-09-18 Thread Django
-+- Changes (by Sarah Boyce): * resolution: => duplicate * status: new => closed Comment: Duplicate of #32320 -- Ticket URL: <https://code.djangoproject.com/ticket/35771#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with d

Re: [Django] #35771: Bugs: models.DateField value has not been assigned correct date value when auto_now_add is set

2024-09-17 Thread Django
4, 9, 17) """ I figured it out myself and in `pre_save` function of models.DateField class, we should use timezone.now().date() instead of datetime.date.today() "" }}} -- -- Ticket URL: <https://code.djangoproject.com/ticket/35771#comment:1> Django <h

[Django] #35771: Bugs: models.DateField value has not been assigned correct date value when auto_now_add is set

2024-09-17 Thread Django
ield class, we should use timezone.now().date() instead of datetime.date.today() """ -- Ticket URL: <https://code.djangoproject.com/ticket/35771> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this messag

Re: [Django] #35180: PostgreSQL pattern ops indexes are dropped when changing between CharField and TextField

2024-09-17 Thread Django
-+- Changes (by bcail): * cc: bcail (added) Comment: I know this was closed as a duplicate, but could we please look into re- opening it? I've opened a [PR https://github.com/django/django/pull/18593] that tests changing a CharField to a Text

Re: [Django] #35763: Setting the auto increment value of a database model breaks when you add a new field to the model

2024-09-17 Thread Django
-+- Comment (by Claude Paroz): I suspect that this issue could be related to the fact that SQLite AFAIR doesn't support adding columns, so Django is emulating that by deleting and recreating the entire table to add new columns. I

Re: [Django] #12203: ManyToManyField with through model can't be used in admin

2024-09-17 Thread Django
erson): Similar to #9475, I think this "through" restriction is pretty artificial at this point (since #6707 and #9475) and the restriction can probably be removed. Example PR here: https://github.com/django/django/pull/18594 (I don't plan on pushing this through myself but feel

Re: [Django] #35763: Setting the auto increment value of a database model breaks when you add a new field to the model

2024-09-17 Thread Django
eally does feel like a Django bug to me though. It only breaks using SQLite, and only when adding a second migration. The initial adjustment of the auto increment value works just fine using a proper documented query, not via a workaround where we're creating a dummy object. But once I add

Re: [Django] #35763: Setting the auto increment value of a database model breaks when you add a new field to the model

2024-09-17 Thread Django
-+- Changes (by Natalia Bidart): * resolution: => invalid * status: assigned => closed Comment: Hello Kevin, thank you for your report. It's unclear that this qualifies as a bug report for Django. This may be better sui

Re: [Django] #35769: Multiline fields display wrong in tablet/phone sizes

2024-09-17 Thread Django
fix for that already (reverted the revert) in my tree. Then in that case we definitely need a reliable way to reproduce this. This could be a minimal Django test project, or the model and admin definitions that would showcase this issue. Please re-open when you can provide that. Thank you! --

Re: [Django] #35770: Improve recommendation for ignoring memcached-incompatible cache key warnings

2024-09-17 Thread Django
specifically, but seems like there are better way to put code that needs to always run. -- Ticket URL: <https://code.djangoproject.com/ticket/35770#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message bec

  1   2   3   4   5   6   7   8   9   10   >