Re: [Django] #32016: mail_admins configuration crashes with ImproperlyConfigured.

2020-09-21 Thread Django
le project. -- Ticket URL: <https://code.djangoproject.com/ticket/32016> 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 unsu

Re: [Django] #32030: Make Token Generator more universal

2020-09-21 Thread Django
|UI/UX: 0 --+ Changes (by felixxm): * status: assigned => closed * resolution: => duplicate -- Ticket URL: <https://code.djangoproject.com/ticket/32030#comment:3> D

Re: [Django] #32030: Make Token Generator more universal

2020-09-21 Thread Django
|UI/UX: 0 --+ Changes (by Ilya Chichak): * owner: nobody => Ilya Chichak * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/32030#comment:1> D

[Django] #32030: Make Token Generator more universal

2020-09-21 Thread Django
` will be implementation of `BaseTokenGenerator` where `TOKEN_TIMEOUT` will be `settings.PASSWORD_RESET_TIMEOUT`. So, for all logic, that uses `PasswordResetTokenGenerator` nothing will be changed. -- Ticket URL: <https://code.djangoproject.com/ticket/32030> Django <https://code.djangopr

Re: [Django] #32016: mail_admins handler cannot be configured.

2020-09-21 Thread Django
): Replying to [comment:1 felixxm]: > Thanks for this ticket, however this configuration works for me with Django 3.1. Can you provide a small project that reproduces the issue? (without unrelated handlers, loggers, etc.). It looks like the error is not the `mail_admins` rather that the `SECRET_

Re: [Django] #32027: Long words overflow the .errornote area

2020-09-21 Thread Django
wed => Accepted -- Ticket URL: <https://code.djangoproject.com/ticket/32027#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"

[Django] #32029: The responsive admin layout adds an ugly top margin to the second-to-last option of horizontal radio fields

2020-09-21 Thread Django
| -+- The pull request contains a fix and "before and after" screenshots: [https://github.com/django/django/pull/13433 PR] -- Ticket URL: <https://code.djangoproject.com/ticket/32029> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadli

[Django] #32027: Long words overflow the .errornote area

2020-09-21 Thread Django
| Easy pickings: 0 UI/UX: 1 | +-- The pull request contains a fix and "before and after" screenshots: [https://github.com/django/django/pull/13442 PR] -- Ticket U

Re: [Django] #32027: Long words overflow the .errornote area

2020-09-21 Thread Django
): * owner: nobody => Matthias Kestenholz -- Ticket URL: <https://code.djangoproject.com/ticket/32027#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

Re: [Django] #32024: AttributeError: 'tuple' object has no attribute 'startswith'

2020-09-21 Thread Django
n3/lib/python3.8/runpy.py", line 87, in _run_code > exec(code, run_globals) > File "/proj/app/mysite/manage.py", line 22, in > main() > File "/proj/app/mysite/manage.py", line 18, in main > execute_from_command_line(sys.argv) > File "/pro

Re: [Django] #32026: AttributeError: 'tuple' object has no attribute 'startswith'

2020-09-21 Thread Django
): * status: new => closed * resolution: => duplicate Comment: Duplicate of #32024. -- Ticket URL: <https://code.djangoproject.com/ticket/32026#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this m

[Django] #32026: AttributeError: 'tuple' object has no attribute 'startswith'

2020-09-21 Thread Django
, File "/usr/local/python3/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) File "/proj/app/mysite/manage.py", line 22, in main() File "/proj/app/mysite/manage.py", line 18, in main execute_from_command_line(sys.argv) File

[Django] #32024: AttributeError: 'tuple' object has no attribute 'startswith'

2020-09-21 Thread Django
from_command_line(sys.argv) File "/proj/env/lib/python3.8/site- packages/django/core/management/__init__.py", line 401, in execute_from_command_line utility.execute() File "/proj/env/lib/python3.8/site- packages/django/core/management/__init__.py", line 395, in execu

Re: [Django] #31983: Add a warning if the file system cache location is within the static or media roots

2020-09-21 Thread Django
;https://code.djangoproject.com/ticket/31983#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. To unsubscribe from this

Re: [Django] #32022: Create Pull Request Templates

2020-09-21 Thread Django
|UI/UX: 0 ---+-- Changes (by felixxm): * status: assigned => closed * resolution: => invalid Comment: Closing as "invalid" because it's not an issue in Django itself. Moreover I'm not s

Re: [Django] #32023: HttpRequest.headers doesn't get updated when request.META is updated. (was: request.headers doesn't get updated when request.META is updated)

2020-09-21 Thread Django
change. `HttpRequest.headers` are read-only and immutable by design (see [https://github.com/django/django/pull/10171#issuecomment-440420179 comment]), moreover `META` contains more than only HTTP headers so modifying `META` via `headers` would be misleading. If you need a low- level modific

[Django] #32023: request.headers doesn't get updated when request.META is updated

2020-09-21 Thread Django
UI/UX: 0 | -+ Currently, Django docs recommended using `request.headers` instead of META to access headers, however the behaviour of `request.headers` currently makes it hard to use correctly during tests. Currently

Re: [Django] #31777: Custom collations

2020-09-21 Thread Django
): * stage: Accepted => Ready for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/31777#comment:14> 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] #32013: Field choice attribute returns different objects in forms.

2020-09-20 Thread Django
743d4205d14" Refs #32013 -- Added backward incompatibility note about ModelChoiceIterator changes. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/32013#comment:11> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines.

Re: [Django] #23681: Document how to customize NullBooleanSelect choice names

2020-09-20 Thread Django
;https://code.djangoproject.com/ticket/23681#comment:14> 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

Re: [Django] #27906: assertInHTML('', '') fails

2020-09-20 Thread Django
: Accepted => Ready for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/27906#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 "D

[Django] #32021: Add support to update a JSONField with result from annotation

2020-09-20 Thread Django
, metrics__average_measure_value=avg_total ) }}} -- Ticket URL: <https://code.djangoproject.com/ticket/32021> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Djan

[Django] #32020: wrong multiple count annotate

2020-09-20 Thread Django
;) + Count("picturelang_creator") + Count("tag_creator") + Count("taglang_creator") + Count("translate_creator") + Count("translatelang_creator") + Count("video_creat

Re: [Django] #32018: Themeing support for django.contrib.admin using CSS variables

2020-09-20 Thread Django
planatory comments in the pull request description, too. -- Ticket URL: <https://code.djangoproject.com/ticket/32018#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed

Re: [Django] #27906: assertInHTML('', '') fails

2020-09-19 Thread Django
ply introduce an inner loop to handle this case. I have something working that I will proofread and submit sometime this week. -- Ticket URL: <https://code.djangoproject.com/ticket/27906#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with dead

Re: [Django] #31486: Deprecate passing unsaved objects to related filters.

2020-09-19 Thread Django
): * owner: (none) => Manav Agarwal * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/31486#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscr

Re: [Django] #23681: Document how to customize NullBooleanSelect choice names

2020-09-19 Thread Django
tps://github.com/django/django/pull/13437 PR] -- Ticket URL: <https://code.djangoproject.com/ticket/23681#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

Re: [Django] #32018: Themeing support for django.contrib.admin using CSS variables

2020-09-19 Thread Django
? -- Ticket URL: <https://code.djangoproject.com/ticket/32018#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 "Django updates" grou

Re: [Django] #23681: Document how to customize NullBooleanSelect choice names

2020-09-18 Thread Django
ype: New feature => Cleanup/optimization * easy: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/23681#comment:12> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are sub

Re: [Django] #32018: Themeing support for django.contrib.admin using CSS variables

2020-09-18 Thread Django
! (If you want to!) -- Ticket URL: <https://code.djangoproject.com/ticket/32018#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 "Djan

Re: [Django] #32018: Themeing support for django.contrib.admin using CSS variables

2020-09-18 Thread Django
<https://code.djangoproject.com/ticket/32018#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 gro

Re: [Django] #32018: Themeing support for django.contrib.admin using CSS variables

2020-09-18 Thread Django
lva * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/32018#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 &quo

Re: [Django] #32018: Themeing support for django.contrib.admin using CSS variables

2020-09-18 Thread Django
| Patch needs improvement: 0 Easy pickings: 1|UI/UX: 1 -+ Comment (by Matthias Kestenholz): Great! I prepared a draft pull request here [https://github.com/django/django

Re: [Django] #32018: Themeing support for django.contrib.admin using CSS variables

2020-09-18 Thread Django
ing the way for future accessibility work. -- Ticket URL: <https://code.djangoproject.com/ticket/32018#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

Re: [Django] #32019: Typos DIRS value on TEMPLATES constant settings.py

2020-09-18 Thread Django
=> closed * resolution: => invalid Comment: I don't see anything wrong in this docs. You probably used docs for the different version. The quote is from Django 3.1 and this ticket is assigned to Django 2.2. -- Ticket URL: <https://code.djangoproject.com/ticket/32019#comment:

Re: [Django] #32017: TypeError: check() got an unexpected keyword argument 'databases'

2020-09-18 Thread Django
): * resolution: needsinfo => invalid Comment: Thanks for checking. -- Ticket URL: <https://code.djangoproject.com/ticket/32017#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you

Re: [Django] #32019: Typos DIRS value on TEMPLATES constant settings.py

2020-09-18 Thread Django
(added) -- Ticket URL: <https://code.djangoproject.com/ticket/32019#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" grou

Re: [Django] #32019: Typos DIRS value on TEMPLATES constant settings.py

2020-09-18 Thread Django
(removed) -- Ticket URL: <https://code.djangoproject.com/ticket/32019#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" grou

Re: [Django] #32019: Typos DIRS value on TEMPLATES constant settings.py

2020-09-18 Thread Django
(added) -- Ticket URL: <https://code.djangoproject.com/ticket/32019#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" grou

[Django] #32019: Typos DIRS value on TEMPLATES constant settings.py

2020-09-18 Thread Django
copied the code. [[Image(https://i.ibb.co/CPRQRF5/Capture.png)]] -- Ticket URL: <https://code.djangoproject.com/ticket/32019> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed t

Re: [Django] #32017: TypeError: check() got an unexpected keyword argument 'databases'

2020-09-18 Thread Django
changed in django 3.1 that now sends `databases` as a kwarg, so just changing our method signature to `check(self, **kwargs):` solved the problem. Thanks, and sorry for the incorrect bug report! -- Ticket URL: <https://code.djangoproject.com/ticket/32017#comment:2> Django

Re: [Django] #31259: Add a dark theme to the admin module

2020-09-18 Thread Django
on the other ticket and/or the proposed change? -- Ticket URL: <https://code.djangoproject.com/ticket/31259#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the G

Re: [Django] #21181: collation specific query results ordering

2020-09-18 Thread Django
edish collation. Previously, backends used different keys "swedish-ci" or "swedish_ci". }}} -- Ticket URL: <https://code.djangoproject.com/ticket/21181#comment:23> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You

Re: [Django] #13060: ManagementForm exception in case of bad prefix should be easier to understand

2020-09-18 Thread Django
( _('ManagementForm data is missing or has been tampered with %s' % form._errors), code='missing_management_form', ) }}} Approvals please. -- Ticket URL: <https://code.djangoproject.com/ticket/13060#comment:10> Django

Re: [Django] #32017: TypeError: check() got an unexpected keyword argument 'databases'

2020-09-18 Thread Django
): * status: new => closed * resolution: => needsinfo Comment: Thanks for this ticket however I cannot reproduce this issue. Can you provide a small project? -- Ticket URL: <https://code.djangoproject.com/ticket/32017#comment:1> Django <https://code.djangoproject.com/>

[Django] #32018: Themeing support for django.contrib.admin using CSS variables

2020-09-18 Thread Django
| Easy pickings: 1 UI/UX: 1| ---+ I propose using CSS variables for defining the colors used in the Django administration panel. This should make it possible to replace the colors

[Django] #32017: TypeError: check() got an unexpected keyword argument 'databases'

2020-09-18 Thread Django
| Easy pickings: 0 UI/UX: 0 | + When updating from django 3.0.10 to 3.1.0 (also 3.1.1), I get a new error when running management commands that involve running system

Re: [Django] #32015: psycopg2 jsonb is not loaded with connections.cursor (was: BUG: psycopg2 json is not loaded with connections.cursor)

2020-09-17 Thread Django
ursor. jsonb results from sql queries are not loaded into > python data structures. This causes issues when dumping and loading > again, the json fields do not get loaded on the front. The offending > line of code can be found here > https://github.com/django/django/blob/master/djan

Re: [Django] #32016: mail_admins handler cannot be configured. (was: ValueError: Unable to configure handler 'mail_admins' on custom logging configuration)

2020-09-17 Thread Django
=> closed * resolution: => needsinfo Comment: Thanks for this ticket, however this configuration works for me with Django 3.1. Can you provide a small project that reproduces the issue? (without unrelated handlers, loggers, etc.). -- Ticket URL: <https://code.djangoproject.com/tic

Re: [Django] #32005: Allow disabling of auto-404-redirection in LocaleMiddleware

2020-09-17 Thread Django
in the middleware with a flag of some sort? -- Comment (by Alex Vandiver): Fair enough. The only slight ugliness with subclassing is that one needs to repeat [https://github.com/django/django/blob/master/django/middleware/locale.py#L58-L60 the logic that adds `Content-Lan

[Django] #32016: ValueError: Unable to configure handler 'mail_admins' on custom logging configuration

2020-09-17 Thread Django
| Needs documentation: 0 |Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -+- When upgrading to Django 3.1, the following error appears when

[Django] #32015: BUG: psycopg2 json is not loaded with connections.cursor

2020-09-17 Thread Django
red this regression in the psycopg2 cursor. jsonb results from sql queries are not loaded into python data structures. This causes issues when dumping and loading again, the json fields do not get loaded on the front. The offending line of code can be found here https://github.com/django/django/b

Re: [Django] #31880: QuerySet.aggregate() mixes annotated fields names.

2020-09-17 Thread Django
880#comment:9> 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 it, se

Re: [Django] #31880: QuerySet.aggregate() mixes annotated fields names.

2020-09-17 Thread Django
a fair chance that the first patch missed edge cases. I pushed a new patch: https://github.com/django/django/pull/13431 Happy to hear what you think about this one :) -- Ticket URL: <https://code.djangoproject.com/ticket/31880#comment:8> Django <https://code.djangoproject.c

Re: [Django] #20516: Allow use of prepared statements

2020-09-17 Thread Django
) -- Ticket URL: <https://code.djangoproject.com/ticket/20516#comment:15> 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 unsub

Re: [Django] #32013: Field choice attribute returns different objects in forms.

2020-09-17 Thread Django
ent: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 and stop receiving emails from it, send an

Re: [Django] #28939: Document which ORM methods provide an instance hint to database routers

2020-09-17 Thread Django
with multiple DBs. Backport of 8c0794ba0da2b5d668a7eb1c167e54beb7f40890 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/28939#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message becau

Re: [Django] #28939: Document which ORM methods provide an instance hint to database routers

2020-09-17 Thread Django
. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/28939#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 u

Re: [Django] #32013: Field choice attribute returns different objects in forms.

2020-09-17 Thread Django
ect. The filtering cases are interesting but a `.value` would resolve the more esoteric ones. I did some further manual testing and checking and can confirm everything else seems to work fine. Is Django itself not depending on the first item of the choices tuple being a `ModelChoiceIteratorVa

Re: [Django] #32013: Field choice attribute returns different objects in forms.

2020-09-17 Thread Django
but a `.value` would resolve the more esoteric ones. -- Ticket URL: <https://code.djangoproject.com/ticket/32013#comment:8> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the G

Re: [Django] #32014: When Upgrading Django1.11 to Django latest

2020-09-17 Thread Django
#32014: When Upgrading Django1.11 to Django latest -+- Reporter: Abishek Rajagopal|Owner: nobody Type: Uncategorized| Status: closed Component: Database

Re: [Django] #32013: Field choice attribute returns different objects in forms.

2020-09-17 Thread Django
'll investigate further and check if nothing breaks here. This codebase is over 10 years old and not always written by expert Django developers, so it's not unexpected for anti- patterns to show up. > > Or should we audit the entire codebase to see this new ModelChoiceIteratorValue will br

[Django] #32014: When Upgrading Django1.11 to Django latest

2020-09-17 Thread Django
#32014: When Upgrading Django1.11 to Django latest -+- Reporter: Abishek| Owner: nobody Rajagopal | Type: | Status: new

Re: [Django] #32013: Field choice attribute returns different objects in forms.

2020-09-17 Thread Django
|UI/UX: 0 ---+-- Comment (by felixxm): [https://github.com/django/django/pull/13430 PR with backward incompatibility note]. -- Ticket URL: <https://code.djangoproject.com/ticket/32013#comment:6> Django

Re: [Django] #32013: Field choice attribute returns different objects in forms.

2020-09-17 Thread Django
t the entire codebase to see this new ModelChoiceIteratorValue will break stuff? Yes, you should always audit your code when you bump multiple releases. -- Ticket URL: <https://code.djangoproject.com/ticket/32013#comment:5> Django <https://code.djangoproject.com/> The Web fram

Re: [Django] #32013: Field choice attribute returns different objects in forms.

2020-09-17 Thread Django
on to the docs/release notes can target this issue. -- Ticket URL: <https://code.djangoproject.com/ticket/32013#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the

Re: [Django] #32013: Field choice attribute returns different objects in forms. (was: TypeError: Field 'id' expected a number but got

2020-09-17 Thread Django
|UI/UX: 0 ---+-- -- Ticket URL: <https://code.djangoproject.com/ticket/32013#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this mes

Re: [Django] #32013: TypeError: Field 'id' expected a number but got

2020-09-17 Thread Django
se `k.value`. -- Ticket URL: <https://code.djangoproject.com/ticket/32013#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&q

Re: [Django] #32013: TypeError: Field 'id' expected a number but got

2020-09-17 Thread Django
it's possible to somehow proxy to the `value` attribute when evaluating a `ModelChoiceIteratorValue` in the the context of a database lookup? At the very least this should be listed under the //Backwards incompatible// heading in the Django 3.1 release notes. -- Ticket URL: <ht

[Django] #32013: TypeError: Field 'id' expected a number but got

2020-09-17 Thread Django
| --+ I'm upgrading a project from Django 3.0 to Django 3.1. Running the tests shows 3 unexpected errors. All are the same `TypeError: Field 'id' expected a number but got ` I can trace this back to this code in the `__init__` of a `ModelForm`. {{{ def

Re: [Django] #17664: {% if %} template tag silences exceptions inconsistently

2020-09-17 Thread Django
as suggested by Colin]). `AttributeError`, `KeyError`, and `IndexError` sound like a good starting point. -- Ticket URL: <https://code.djangoproject.com/ticket/17664#comment:29> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --

Re: [Django] #32012: Test runner setup_databases crashes with "TEST": {"MIGRATE": False}.

2020-09-17 Thread Django
tied to migrations? Anyway, the tests work fine (the same 3 failures) with the `MIGRATION_MODULES` override, so it seems like it would be a reasonable alternative solution. -- Ticket URL: <https://code.djangoproject.com/ticket/32012#comment:3> Django <https://code.djangoprojec

Re: [Django] #32012: Test runner setup_databases crashes with "TEST": {"MIGRATE": False}.

2020-09-17 Thread Django
felixxm): Mocking `settings.MIGRATION_MODULES` to `None` for all apps sounds like an easier fix, see draft below: {{{ diff --git a/django/db/backends/base/creation.py b/django/db/backends/base/creation.py index 503f7f56fd..3c0338d359 100644 --- a/django/db/backends/base/creation.py +++ b/dja

Re: [Django] #32012: Test runner setup_databases crashes with "TEST": {"MIGRATE": False}. (was: Test runner setup_databases crashes with "TEST": {"MIGRATE": False})

2020-09-17 Thread Django
ent]. I've totally missed this when reviewing f5ebdfce5c417f9844e86bccc2f12577064d4bad. We can remove the feature from 3.1 if fix is not trivial. -- Ticket URL: <https://code.djangoproject.com/ticket/32012#comment:1> Django <https://code.djangoproject.com/> The Web framework for p

Re: [Django] #32010: Unexpected behaviour of MultiValueDict.getlist in conjunction with map

2020-09-17 Thread Django
to Django. -- Ticket URL: <https://code.djangoproject.com/ticket/32010#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" grou

[Django] #32012: Test runner setup_databases crashes with "TEST": {"MIGRATE": False}

2020-09-17 Thread Django
| Needs documentation: 0 |Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -+- I'm trying to upgrade a project from Django 3.0 to Django 3.1 an

Re: [Django] #28805: Add database functions for regular expressions, e.g. RegexpReplace

2020-09-17 Thread Django
; 1 -- Ticket URL: <https://code.djangoproject.com/ticket/28805#comment:9> 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 un

Re: [Django] #31880: QuerySet.aggregate() mixes annotated fields names.

2020-09-17 Thread Django
=> 0 Comment: To sum up, I think supporting this edge case isn't worth adding extra complexity, we should raise an error. You can always use different aliases. -- Ticket URL: <https://code.djangoproject.com/ticket/31880#comment:7> Django <https://code.djangoproject.com/> Th

Re: [Django] #32010: Unexpected behaviour of MultiValueDict.getlist in conjunction with map

2020-09-17 Thread Django
;) ['5', '4', '3', '2', '1'] >>> mvdict = MultiValueDict({"number": ["54321"]}) >>> mvdict.getlist("number") ['54321'] }}} Note that the public `QueryDict` handles this as required: {{{ >>> from django.http import QueryDict >>> q = Que

Re: [Django] #31916: Combined queryset crash on combined querysets with ordering.

2020-09-17 Thread Django
mbined queryset crash when combining with ordered combined querysets. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/31916#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscri

Re: [Django] #31843: django.db.models.query.Row is not pickleable.

2020-09-16 Thread Django
12ed9a2ef116" Fixed #31843 -- Fixed pickling named values from QuerySet.values_list(). }}} -- Ticket URL: <https://code.djangoproject.com/ticket/31843#comment:8> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this

Re: [Django] #30415: Refactor runtests.py to allow using other test runners.

2020-09-16 Thread Django
ct.com/ticket/30415#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" group. To unsubscribe from this group and stop receiving emai

Re: [Django] #32011: Error when calling add() on ManyRelatedManager with intermediary model

2020-09-16 Thread Django
felixxm]: > `through_defaults` was added in Django 2.2, please use [https://docs.djangoproject.com/en/2.1/ documentation] for the version you're using. Hi @felixxm, I'm very happy if that's the problem at hand. I scaned over the docs for 2.1 and didn't this difference: **3.1** You can also

Re: [Django] #31014: add FromWKB and FromWKT GIS functions

2020-09-16 Thread Django
;https://code.djangoproject.com/ticket/31014#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

Re: [Django] #32011: Error when calling add() on ManyRelatedManager with intermediary model

2020-09-16 Thread Django
sed * resolution: => invalid Comment: `through_defaults` was added in Django 2.2, please use [https://docs.djangoproject.com/en/2.1/ documentation] for the version you're using. -- Ticket URL: <https://code.djangoproject.com/ticket/32011#comment:1> Django <https://code.djangoprojec

Re: [Django] #31973: TypeError loading data in JSONField if DB has native JSON support

2020-09-16 Thread Django
): * resolution: needsinfo => invalid -- Ticket URL: <https://code.djangoproject.com/ticket/31973#comment:16> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google

[Django] #32011: Error when calling add() on ManyRelatedManager with intermediary model

2020-09-16 Thread Django
| Needs documentation: 0 |Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -+- Django is not managing our databases for us, therefor I created

Re: [Django] #31014: add FromWKB and FromWKT GIS functions

2020-09-16 Thread Django
omment: [https://github.com/django/django/pull/12134 PR] I also note that some backends support `ST_GeomFromEWKB` and `ST_GeomFromEWKT`. Perhaps it is worth checking out whether it is worth adding these too? -- Ticket URL: <https://code.djangoproject.com/ticket/31014#comment:3> D

[Django] #32010: Unexpected behaviour of MultiValueDict.getlist in conjunction with map

2020-09-16 Thread Django
ce or that an exception is stringified and taken as a return value. Upon checking if an int exists in the variable, python will then check for the existence of an int in the string. This would explain why the number 1 is found, as it is likely to be found, while the number 54321 isn't. -- Ticket URL

Re: [Django] #31916: Combined queryset crash on combined querysets with ordering.

2020-09-16 Thread Django
): * owner: nobody => Hasan Ramezani * status: new => assigned * has_patch: 0 => 1 Comment: [https://github.com/django/django/pull/13426 PR] -- Ticket URL: <https://code.djangoproject.com/ticket/31916#comment:2> Django <https://code.djangoproject.com/> The Web framewo

Re: [Django] #32009: Deployment issue

2020-09-16 Thread Django
easons/UseSupportChannels. -- Ticket URL: <https://code.djangoproject.com/ticket/32009#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 &quo

Re: [Django] #32004: Improve documentation of request.FILES

2020-09-16 Thread Django
;https://code.djangoproject.com/ticket/32004#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" group. To unsubscribe from this group and stop recei

Re: [Django] #31843: django.db.models.query.Row is not pickleable.

2020-09-16 Thread Django
-+- Changes (by felixxm): * needs_better_patch: 1 => 0 * stage: Accepted => Ready for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/31843#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You rec

Re: [Django] #32004: Improve documentation of request.FILES

2020-09-16 Thread Django
signed -- Ticket URL: <https://code.djangoproject.com/ticket/32004#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

Re: [Django] #22490: get_object within a syndication Feed has no tests

2020-09-16 Thread Django
| Patch needs improvement: 0 Easy pickings: 1|UI/UX: 0 -+- Changes (by felixxm): * easy: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/22490#comment:8&g

[Django] #32009: Deployment issue

2020-09-16 Thread Django
AT THE END WHEN I AM TRYING TO LOAD MY SITE IN BROWSER FACING THE ISSUE OF NGINX UBUNTU ( 502 BAD GATEWAY ERROR )..Can anybody help me with this ?? -- Ticket URL: <https://code.djangoproject.com/ticket/32009> Django <https://code.djangoproject.com/> The Web framework for pe

Re: [Django] #32007: QuerySet.annotate() with WhereNode() crashes with AttributeError.

2020-09-16 Thread Django
3c684b23015fa67cc8 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/32007#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

Re: [Django] #32007: QuerySet.annotate() with WhereNode() crashes with AttributeError.

2020-09-16 Thread Django
:"3a9f192b131f7a9b0fe5783c684b23015fa67cc8" 3a9f192]: {{{ #!CommitTicketReference repository="" revision="3a9f192b131f7a9b0fe5783c684b23015fa67cc8" Refs #32007 -- Skipped test_q_expression_annotation_with_aggregation on Oracle. }}} -- Ticket URL: <https://code.djangoproject.com/tick

Re: [Django] #31973: TypeError loading data in JSONField if DB has native JSON support

2020-09-16 Thread Django
): Adam, thanks for sharing details. -- Ticket URL: <https://code.djangoproject.com/ticket/31973#comment:15> 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] #31843: django.db.models.query.Row is not pickleable.

2020-09-16 Thread Django
-+- Changes (by felixxm): * needs_better_patch: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/31843#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to th

  1   2   3   4   5   6   7   8   9   10   >