[Django] #30491: Make note on exception to UPDATE-v-INSERT logic

2019-05-19 Thread Django
| Easy pickings: 0 UI/UX: 0 | + PR: https://github.com/django/django/pull/11390 The docs for 'How Django knows to UPDATE vs. INSERT' do not make any mention of a potentially

Re: [Django] #30489: Django RasterField deserialization bug with pixeltype flags

2019-05-19 Thread Django
#30489: Django RasterField deserialization bug with pixeltype flags ---+ Reporter: Ivor Bosloper |Owner: nobody Type: Bug| Status: new Component: GIS

[Django] #30490: migrations unique_index on (app, name)

2019-05-19 Thread Django
|Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -+- I've a django based api service. I run it in containers, in kubernetes. When I update my image

Re: [Django] #28831: Document that InlineModelAdmin methods' obj argument is the parent object

2019-05-19 Thread Django
rth Patil * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/28831#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 Group

Re: [Django] #28595: Database "execute hooks" for instrumentation

2019-05-19 Thread Django
z) Johnson): * status: assigned => closed * resolution: => fixed Comment: Thanks Raphael, yes this feature was merged in 2.0, the ticket was just left in limbo as open. Closing now. -- Ticket URL: <https://code.djangoproject.com/ticket/28595#comment:5> Django <https://code.dj

Re: [Django] #24088: text/varchar_pattern_ops on PostgreSQL could be optional

2019-05-19 Thread Django
<https://code.djangoproject.com/ticket/24088#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 fr

Re: [Django] #28595: Database "execute hooks" for instrumentation

2019-05-18 Thread Django
595#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 emails from it,

Re: [Django] #30463: Deprecation message crashes when using a query expression in Model.ordering.

2019-05-18 Thread Django
-- Fixed crash of deprecation message when Meta.ordering contains expressions. Regression in 1b1f64ee5a78cc217fead52cbae23114502cf564. Backport of 04042b2b440f0bf50eb908d52cfe76af430e1738 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30463#comment:10> Django <h

Re: [Django] #30463: Deprecation message crashes when using a query expression in Model.ordering.

2019-05-18 Thread Django
ory="" revision="04042b2b440f0bf50eb908d52cfe76af430e1738" Fixed #30463 -- Fixed crash of deprecation message when Meta.ordering contains expressions. Regression in 1b1f64ee5a78cc217fead52cbae23114502cf564. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30463#comment:9> Django <https

Re: [Django] #30463: Deprecation message crashes when using a query expression in Model.ordering.

2019-05-18 Thread Django
-+- Changes (by felixxm): * needs_better_patch: 1 => 0 * stage: Accepted => Ready for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/30463#comment:8> Django <https://code.djangoproject.com/> The Web framework for perfectioni

Re: [Django] #26192: Cannot order query by constant value on PostgreSQL

2019-05-18 Thread Django
): * has_patch: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/26192#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&qu

Re: [Django] #30489: Django RasterField deserialization bug with pixeltype flags

2019-05-18 Thread Django
#30489: Django RasterField deserialization bug with pixeltype flags ---+ Reporter: Ivor Bosloper |Owner: nobody Type: Bug| Status: new Component: GIS

Re: [Django] #28147: Saving parent object after setting on child leads to unexpected data loss

2019-05-17 Thread Django
ify the issue. I have submitted the PR: [https://github.com/django/django/pull/11383 PR] -- Ticket URL: <https://code.djangoproject.com/ticket/28147#comment:10> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this mess

Re: [Django] #30489: Django RasterField deserialization bug with pixeltype flags

2019-05-17 Thread Django
#30489: Django RasterField deserialization bug with pixeltype flags ---+-- Reporter: Ivor Bosloper |Owner: nobody Type: Bug| Status: new Component: GIS

Re: [Django] #30489: Django RasterField deserialization bug with pixeltype flags

2019-05-17 Thread Django
#30489: Django RasterField deserialization bug with pixeltype flags ---+-- Reporter: Ivor Bosloper |Owner: nobody Type: Bug| Status: new Component: GIS

[Django] #30489: Django RasterField deserialization bug with pixeltype flags

2019-05-17 Thread Django
#30489: Django RasterField deserialization bug with pixeltype flags -+- Reporter: Ivor Bosloper | Owner: nobody Type: Bug| Status: new Component

Re: [Django] #30488: SearchVector lookup is generating redundent Coalesce wrapper.

2019-05-17 Thread Django
ket, and have added both regression test and 2.2.2 release mention in [https://github.com/django/django/pull/11380 PR] -- Ticket URL: <https://code.djangoproject.com/ticket/30488#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with dead

Re: [Django] #30463: Deprecation message crashes when using a query expression in Model.ordering.

2019-05-17 Thread Django
(by Ruchit Vithani): Link to patch : [https://github.com/django/django/pull/11377] -- Ticket URL: <https://code.djangoproject.com/ticket/30463#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message

Re: [Django] #30463: Deprecation message crashes when using a query expression in Model.ordering.

2019-05-17 Thread Django
(by Ruchit Vithani): * needs_better_patch: 0 => 1 * has_patch: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/30463#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because

Re: [Django] #30256: autocomplete_fields cause one or two extra queries for each field wth foreign key or many to many relation

2019-05-17 Thread Django
-+- Changes (by George Tantiras): * status: closed => new * resolution: needsinfo => -- Ticket URL: <https://code.djangoproject.com/ticket/30256#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received th

Re: [Django] #30485: Unexpected behavior for django.utils.http.urlencode

2019-05-17 Thread Django
485#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 unsubscribe from this group and stop receiving emails from it, se

Re: [Django] #30488: SearchVector lookup is generating redundent Coalesce wrapper.

2019-05-17 Thread Django
URL: <https://code.djangoproject.com/ticket/30488#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 fr

Re: [Django] #30479: Autoreloader with StatReloader doesn't track changes in manage.py.

2019-05-17 Thread Django
RL: <https://code.djangoproject.com/ticket/30479#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 fr

Re: [Django] #30488: SearchVector lookup is generating redundent Coalesce wrapper.

2019-05-17 Thread Django
the ticket first. Anyhow here is a pull request https://github.com/django/django/pull/11380 if it can be used. Thanks. -- Ticket URL: <https://code.djangoproject.com/ticket/30488#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlin

Re: [Django] #25633: GeoDjango KyngChaos installation instructions are outdated

2019-05-17 Thread Django
d #25633 -- Updated macOS Spatialite installation instructions. Updated the Spatialite installation instruction to refer to the latest available version from KyngChaos, as Gaia-SINS does not provide MacOS binaries anymore. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/25633#comment:3&

Re: [Django] #25633: GeoDjango KyngChaos installation instructions are outdated

2019-05-17 Thread Django
ed the Spatialite installation instruction to refer to the latest available version from KyngChaos, as Gaia-SINS does not provide MacOS binaries anymore. Backport of ccb7f7c6d237900614290085cca103d9509b89b9 from master }}} -- Ticket URL: <https://code.djangoproject.com/tick

Re: [Django] #26368: Order of &-ing Q objects affects results in edge case

2019-05-17 Thread Django
: 0 Needs tests: 0| Patch needs improvement: 0 Easy pickings: 0|UI/UX: 0 -+- Comment (by Can Sarıgöl): I added a [https://github.com/django/django/pull/1137

Re: [Django] #30488: SearchVector lookup is generating redundent Coalesce wrapper.

2019-05-17 Thread Django
mon Charette * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/30488#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 Group

Re: [Django] #30485: Unexpected behavior for django.utils.http.urlencode

2019-05-17 Thread Django
|UI/UX: 0 --+-- Changes (by Johan Lübcke): * has_patch: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/30485#comment:1> Django <https://code.djangoproject.com/> Th

Re: [Django] #30488: SearchVector lookup is generating redundent Coalesce wrapper. (was: SearchVector lookup is generating redundent Coalesce wrapper)

2019-05-17 Thread Django
wed => Accepted Comment: Thanks for the report. It looks that we resolve expression twice. -- Ticket URL: <https://code.djangoproject.com/ticket/30488#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this m

Re: [Django] #26192: Cannot order query by constant value on PostgreSQL

2019-05-17 Thread Django
: 1 => 0 -- Ticket URL: <https://code.djangoproject.com/ticket/26192#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 "Django updates" g

[Django] #30488: SearchVector lookup is generating redundent Coalesce wrapper

2019-05-17 Thread Django
| Easy pickings: 0 UI/UX: 0 | + In Django 2.2.1, in the SearchVector if we do: {{{ >>> from django.contrib.postgres.search import SearchVector >>> Entr

Re: [Django] #30395: Document ModelForm specifying field class corresponding to model fields with choices.

2019-05-17 Thread Django
b71163f461cec1 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30395#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] #30395: Document ModelForm specifying field class corresponding to model fields with choices.

2019-05-17 Thread Django
limitation of ModelForm.Meta.widgets. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30395#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 "

Re: [Django] #30199: get_or_create documentation encourages unsafe usage

2019-05-17 Thread Django
atomicity warning. Backport of 1686dce06c1f3587e90ea98816eddaa965fd9f45 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30199#comment:8> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscr

Re: [Django] #30199: get_or_create documentation encourages unsafe usage

2019-05-17 Thread Django
justed QuerySet.get_or_create() docs to highlight atomicity warning. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30199#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscri

Re: [Django] #30196: Make FileResponse always set Content-Disposition header.

2019-05-17 Thread Django
b2d602ab4d10c4ca69627bd" Fixed #30196 -- Made FileResponse set Content-Disposition inline if filename is available. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30196#comment:9> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadl

Re: [Django] #30487: Using more than 245 functions in CombinedExpressions causes RecursionError. (was: Using more than 245 functions in CombinedExpressions causes RecursionError)

2019-05-17 Thread Django
n. You can increase a Python's recursion limit locally, e.g. {{{ >>> import sys >>> sys.setrecursionlimit(2000) }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30487#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with

Re: [Django] #29769: Allow querying JSONField with F objects

2019-05-17 Thread Django
: 0 Easy pickings: 0 |UI/UX: 0 + Comment (by GwynBleidD): In Django 2.2 using `F` object with dicts or arrays in JSON field doesn't throw an error, it just cuts off anything after

Re: [Django] #30479: Autoreloader with StatReloader doesn't track changes in manage.py.

2019-05-17 Thread Django
age.py` isn't showing up in the `sys.modules`. I'm not sure I remember any specific manage.py handling in the old implementation, so I'm not sure how it used to work, but I should be able to fix this pretty easily. -- Ticket URL: <https://code.djangoproject.com/ticket/30479#comment:2> D

Re: [Django] #30453: Django's template library tags cant use already decorated things like lru_cache because of getfullargspec

2019-05-17 Thread Django
#30453 -- Fixed crash of simple_tag() and inclusion_tag() when function is wrapped. getfullargspec() doesn't work with wrapped functions. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30453#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionist

[Django] #30487: Using more than 245 functions in CombinedExpressions causes RecursionError

2019-05-17 Thread Django
"/usr/lib/python3.7/code.py", line 90, in runcode exec(code, self.locals) File "", line 5, in File "/home/vagrant/venv/lib/python3.7/site- packages/django/db/models/expressions.py", line 404, in __str__ return "{} {} {}".format(self.lhs, self.co

Re: [Django] #30479: Autoreloader with StatReloader doesn't track changes in manage.py. (was: Auto-reloading with StatReloader may not track changes to the main entrypoint?)

2019-05-17 Thread Django
verity: Normal => Release blocker Old description: > This is a bit convoluted, but here we go. > > Environment (OSX 10.11): > {{{ > $ python -V > Python 3.6.2 > $ pip -V > pip 19.1.1 > $ pip install Django==2.2.1 django-microscope==0.1.1 > Requirement already satisfied

Re: [Django] #30220: Use headless browsers for selenium tests

2019-05-17 Thread Django
upport for headless mode in selenium tests. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30220#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Googl

Re: [Django] #30459: If a StackedInline has fieldsets with the "collapsed" class, the "Show" link doesn't work on inline forms added with the "Add another [inline object]" link

2019-05-17 Thread Django
4a357d519a6ff37516c963181af912f776ea80d" [2.2.x] Fixed #30459 -- Delegated hide/show JS toggle to parent div. Co-authored-by: Carlton Gibson Backport of e286987a27271c8ee7eb6e4d4332b563c4e6094b from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30459#comment

Re: [Django] #30459: If a StackedInline has fieldsets with the "collapsed" class, the "Show" link doesn't work on inline forms added with the "Add another [inline object]" link

2019-05-17 Thread Django
87a]: {{{ #!CommitTicketReference repository="" revision="e286987a27271c8ee7eb6e4d4332b563c4e6094b" Fixed #30459 -- Delegated hide/show JS toggle to parent div. Co-authored-by: Carlton Gibson }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30459#c

Re: [Django] #30480: Discrepancy in `DateTime` field value If the django orm union() is used with the empty array in the filter.

2019-05-16 Thread Django
#30480: Discrepancy in `DateTime` field value If the django orm union() is used with the empty array in the filter. -+- Reporter: Shashank Parekh |Owner: nobody Type: Bug

Re: [Django] #30482: prefetch_related_objects evaluates queryset when checking for invalid prefetch ordering.

2019-05-16 Thread Django
fe2787b2004b7871" Fixed #30482 -- Prevented unnecessary evaluation of lookup.queryset in prefetch_related_objects(). }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30482#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadl

Re: [Django] #30486: Custom aggregate function example needs updating for Django 2.2's `allow_distinct`

2019-05-16 Thread Django
#30486: Custom aggregate function example needs updating for Django 2.2's `allow_distinct` -+- Reporter: Carlton Gibson |Owner: | Vyacheslav V.V

Re: [Django] #30486: Custom aggregate function example needs updating for Django 2.2's `allow_distinct`

2019-05-16 Thread Django
#30486: Custom aggregate function example needs updating for Django 2.2's `allow_distinct` -+- Reporter: Carlton Gibson |Owner: | Vyacheslav V.V

Re: [Django] #30486: Custom aggregate function example needs updating for Django 2.2's `allow_distinct`

2019-05-16 Thread Django
#30486: Custom aggregate function example needs updating for Django 2.2's `allow_distinct` +--- Reporter: Carlton Gibson |Owner: VVyacheslav Type: Bug | Status

Re: [Django] #30475: Use of i18n_patterns and a buggy 404 template trigger internal server error without a backtrace

2019-05-16 Thread Django
t in fact dependent on i18n patterns?) And so on. Thanks. -- Ticket URL: <https://code.djangoproject.com/ticket/30475#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed

Re: [Django] #30481: Document that force_text() allows lone surrogates. (was: force_text() allows lone surrogates)

2019-05-16 Thread Django
| Patch needs improvement: 0 Easy pickings: 0 |UI/UX: 0 --+ -- Ticket URL: <https://code.djangoproject.com/ticket/30481#comment:4> Django <https://code.djangoproject.com/

Re: [Django] #30481: force_text() allows lone surrogates

2019-05-16 Thread Django
30481#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 from it

Re: [Django] #30486: Custom aggregate function example needs updating for Django 2.2's `allow_distinct`

2019-05-16 Thread Django
#30486: Custom aggregate function example needs updating for Django 2.2's `allow_distinct` + Reporter: Carlton Gibson |Owner: nobody Type: Bug | Status: new

[Django] #30486: Custom aggregate function example needs updating for Django 2.2's `allow_distinct`

2019-05-16 Thread Django
#30486: Custom aggregate function example needs updating for Django 2.2's `allow_distinct` --+ Reporter: Carlton Gibson | Owner: nobody Type: Bug | Status: new

Re: [Django] #30484: Using RawSQL with CheckConstraint

2019-05-16 Thread Django
params Field.register_lookup(IsNullEq) }}} And use it for your constraint's condition `Q(total__isnulleq=F('total_last_updated'))`. -- Ticket URL: <https://code.djangoproject.com/ticket/30484#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectioni

Re: [Django] #30483: Switch test requirements from psycopg2-binary package to pscyopg2

2019-05-16 Thread Django
s://code.djangoproject.com/ticket/30483#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 a

Re: [Django] #30481: force_text() allows lone surrogates

2019-05-16 Thread Django
to compose a few sentences to clarify this in the docs. Where does this documentation belong? I was startled when I learned Django can allow invalid-text `str` as input in perfectly ordinary usage; but it turns out it ''must'' because JSON allows them. -- Ticket URL: <https://code.djangoproje

[Django] #30485: Unexpected behavior for django.utils.http.urlencode

2019-05-16 Thread Django
is is a problem when one has objects that has a `__str__` method defined, returning the value one would want to be in the urlencode result, but the object by coincidence is also iterable. -- Ticket URL: <https://code.djangoproject.com/ticket/30485> Django <https://code.djangoproje

Re: [Django] #30484: Using RawSQL with CheckConstraint (was: Feature request: Using RawSQL with CheckConstraint)

2019-05-16 Thread Django
484#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 receiving emails from it, se

Re: [Django] #30481: force_text() allows lone surrogates

2019-05-16 Thread Django
tps://code.djangoproject.com/ticket/30481#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 gr

Re: [Django] #30482: prefetch_related_objects evaluates queryset when checking for invalid prefetch ordering. (was: prefetch_related_objects evaluates lookup.queryset when checking for invalid prefetc

2019-05-15 Thread Django
-+- Changes (by felixxm): * version: 2.2 => master * stage: Unreviewed => Accepted -- Ticket URL: <https://code.djangoproject.com/ticket/30482#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this m

[Django] #30484: Feature request: Using RawSQL with CheckConstraint

2019-05-15 Thread Django
expression: `(total IS NULL) = (total_last_updated IS NULL)`. This doesn't appear to be possible with Q objects. The workaround in this case is to create the check constraint manually with a RunSQL migration. -- Ticket URL: <https://code.djangoproject.com/ticket/30484> Django

Re: [Django] #30480: Discrepancy in `DateTime` field value If the django orm union() is used with the empty array in the filter.

2019-05-15 Thread Django
#30480: Discrepancy in `DateTime` field value If the django orm union() is used with the empty array in the filter. -+- Reporter: Shashank Parekh |Owner: nobody Type: Bug

Re: [Django] #30483: Switch test requirements from psycopg2-binary package to pscyopg2

2019-05-15 Thread Django
;https://code.djangoproject.com/ticket/30483#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 unsubscribe from this group and s

Re: [Django] #30483: Switch test requirements from psycopg2-binary package to pscyopg2

2019-05-15 Thread Django
): * has_patch: 0 => 1 Comment: [https://github.com/django/django/pull/11371 PR] -- Ticket URL: <https://code.djangoproject.com/ticket/30483#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this mess

[Django] #30483: Switch test requirements from psycopg2-binary package to pscyopg2

2019-05-15 Thread Django
ow the advice and use the pscyopg2 package and used stop using the binary package. -- Ticket URL: <https://code.djangoproject.com/ticket/30483> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you ar

Re: [Django] #30482: prefetch_related_objects evaluates lookup.queryset when checking for invalid prefetch ordering

2019-05-15 Thread Django
-+- Changes (by Iain P. Watts): * has_patch: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/30482#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You receiv

Re: [Django] #30482: prefetch_related_objects evaluates lookup.queryset when checking for invalid prefetch ordering

2019-05-15 Thread Django
-+- Comment (by Iain P. Watts): https://github.com/django/django/pull/11369 -- Ticket URL: <https://code.djangoproject.com/ticket/30482#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlin

Re: [Django] #30482: prefetch_related_objects evaluates lookup.queryset when checking for invalid prefetch ordering

2019-05-15 Thread Django
-+- Changes (by Iain P. Watts): * type: Uncategorized => Bug -- Ticket URL: <https://code.djangoproject.com/ticket/30482#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -

[Django] #30482: prefetch_related_objects evaluates lookup.queryset when checking for invalid prefetch ordering

2019-05-15 Thread Django
le), since it is not restricted to `Bars` related to the specific `foo`. In our case this led to the query timing out and the page returning a 504 without the code ever actually reaching the ValueError. -- Ticket URL: <https://code.djangoproject.com/ticket/30482> Django <https://code.djangopr

Re: [Django] #30482: prefetch_related_objects evaluates lookup.queryset when checking for invalid prefetch ordering

2019-05-15 Thread Django
-+- Changes (by Iain P. Watts): * owner: (none) => Iain P. Watts -- Ticket URL: <https://code.djangoproject.com/ticket/30482#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -

Re: [Django] #30480: Discrepancy in `DateTime` field value If the django orm union() is used with the empty array in the filter.

2019-05-15 Thread Django
#30480: Discrepancy in `DateTime` field value If the django orm union() is used with the empty array in the filter. -+- Reporter: Shashank Parekh |Owner: nobody Type: Bug

Re: [Django] #27635: django.utils.crypto should use secrets on Python 3.6+

2019-05-15 Thread Django
: nobody => Nick Pope * status: new => assigned * stage: Someday/Maybe => Accepted Comment: Alternate [https://github.com/django/django/pull/11368 PR] addressing the non-working fallback and optionally stripping it out based on [https://github.com/django/django/pull/11357#iss

Re: [Django] #30459: If a StackedInline has fieldsets with the "collapsed" class, the "Show" link doesn't work on inline forms added with the "Add another [inline object]" link

2019-05-15 Thread Django
|UI/UX: 1 -+- Changes (by Carlton Gibson): * needs_tests: 1 => 0 * stage: Accepted => Ready for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/30459#comment:11> Django

[Django] #30481: force_text() allows lone surrogates

2019-05-15 Thread Django
valid Unicode _code point_ but it does not represent _text_. (Lone surrogates can crop up if someone decodes valid UCS-2 as UTF-16.) I don't think any caller of `force_text()` expects it to ever return a non-textual Unicode string. -- Ticket URL: <https://code.djangoproject.com/ticket/304

Re: [Django] #7732: Oracle Backend with SessionPool

2019-05-15 Thread Django
interested in this. I'm not quite on the point of assigning it, but one of my developers asked me see to return to what is needed to use Oracle DRCP.I tested it using django-oraclepool many years ago to determine whether there was any performance difference, from the client- side, between

Re: [Django] #30480: Discrepancy in `DateTime` field value If the django orm union() is used with the empty array in the filter. (was: Discrepancy in `DateTime` field value If the django orm union() i

2019-05-15 Thread Django
#30480: Discrepancy in `DateTime` field value If the django orm union() is used with the empty array in the filter. -+- Reporter: Shashank Parekh |Owner: nobody Type: Bug

[Django] #30480: Discrepancy in `DateTime` field value If the django orm union() is used with the EmptyQuerySet.

2019-05-15 Thread Django
#30480: Discrepancy in `DateTime` field value If the django orm union() is used with the EmptyQuerySet. -+- Reporter: Shashank | Owner: nobody Parekh

Re: [Django] #30220: Use headless browsers for selenium tests

2019-05-15 Thread Django
): * needs_tests: 1 => 0 * stage: Accepted => Ready for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/30220#comment:6> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscr

Re: [Django] #30316: Link to default logging dictConfig in documentation

2019-05-15 Thread Django
514e2ccd989f8a1647c9d7a00 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30316#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 &

Re: [Django] #30316: Link to default logging dictConfig in documentation

2019-05-15 Thread Django
gging configuration in logging docs. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/30316#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 Gro

[Django] #30479: Auto-reloading with StatReloader may not track changes to the main entrypoint?

2019-05-15 Thread Django
): {{{ $ python -V Python 3.6.2 $ pip -V pip 19.1.1 $ pip install Django==2.2.1 django-microscope==0.1.1 Requirement already satisfied: Django==2.2.1 in ./lib/python3.6/site- packages (2.2.1) Requirement already satisfied: django-microscope==0.1.1 in ./lib/python3.6 /site-packages (0.1.1) Requirement

Re: [Django] #30422: Temporary files do not get deleted on canceled upload request.

2019-05-15 Thread Django
URL: <https://code.djangoproject.com/ticket/30422#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 fr

Re: [Django] #30459: If a StackedInline has fieldsets with the "collapsed" class, the "Show" link doesn't work on inline forms added with the "Add another [inline object]" link

2019-05-15 Thread Django
|UI/UX: 1 -+- Changes (by Carlton Gibson): * status: new => assigned * owner: nobody => Carlton Gibson -- Ticket URL: <https://code.djangoproject.com/ticket/30459#comment:10> Django <https://code.djangoproject.com/> The Web frame

Re: [Django] #30478: Do not require npm installed for JavaScript tests (tox -e javascript)

2019-05-15 Thread Django
t: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 unsubscribe from this group and stop receiving emails from it, send an em

Re: [Django] #30478: Do not require npm installed for JavaScript tests (tox -e javascript)

2019-05-15 Thread Django
esting where we don't need one. (I'm sure the Zen of Python says something about that. ) Installing node is not a big issue IMO. -- Ticket URL: <https://code.djangoproject.com/ticket/30478#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectioni

[Django] #30478: Do not require npm installed for JavaScript tests (tox -e javascript)

2019-05-15 Thread Django
for JavaScript tests by using nodeenv (https://pypi.org/project/nodeenv/) -- Ticket URL: <https://code.djangoproject.com/ticket/30478> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed t

Re: [Django] #27685: Allow autoreloader to use watchman

2019-05-14 Thread Django
oject.com/ticket/27685#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 Groups "Django updates" group. To unsubscribe from this group and stop receiv

Re: [Django] #30477: Filtering on reverse ForeignKey relation uses get_db_prep_value from a wrong field.

2019-05-14 Thread Django
discovered this was with a UUID primary key with a Postgres backend, which might not be ''that'' unusual, but in Django 1.11. However, I had to reproduce it with a different field on master, because `UUIDField.to_python` has become a bit less strict since 1.11, and it doesn't error out on integers

Re: [Django] #30476: Add introspection of "json" (like "jsonb") data type as JSONField on PostgreSQL. (was: Add detection for PostgreSQL json field, aside from the already existing detection for jsonb

2019-05-14 Thread Django
m): * status: new => closed * version: 2.2 => master * resolution: => wontfix Comment: Thanks for the report, however "json" data type would not be fully functional (especially in querying and indexing). -- Ticket URL: <https://code.djangoproject

Re: [Django] #30476: Add detection for PostgreSQL json field, aside from the already existing detection for jsonb field, using inspectdb

2019-05-14 Thread Django
breaks the `__contains` [https://docs.djangoproject.com/en/2.2/ref/contrib/postgres/fields/#std :fieldlookup-hstorefield.contains operator]. -- Ticket URL: <https://code.djangoproject.com/ticket/30476#comment:2> Django <https://code.djangoproject.com/> The Web framework for pe

Re: [Django] #30475: Use of i18n_patterns and a buggy 404 template trigger internal server error without a backtrace

2019-05-14 Thread Django
com/ticket/30475#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 receiving emails

Re: [Django] #30477: Filtering on reverse ForeignKey relation uses get_db_prep_value from a wrong field. (was: Filtering on reverse ForeignKey relation uses get_db_prep_value from a wrong field)

2019-05-14 Thread Django
cb4. -- Ticket URL: <https://code.djangoproject.com/ticket/30477#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 un

Re: [Django] #14365: Make template-rendering signals available also in DEBUG mode

2019-05-14 Thread Django
t mean that this ticket is not valid anymore (e.g. few days ago we closed 11 years old ticket). Ticket is targeted to master. -- Ticket URL: <https://code.djangoproject.com/ticket/14365#comment:10> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines.

Re: [Django] #14365: Make template-rendering signals available also in DEBUG mode

2019-05-14 Thread Django
ened 9 years ago and never revisited after the author realized the patch needed more work. It's flagged with the 1.2 version which is not supported anymore. -- Ticket URL: <https://code.djangoproject.com/ticket/14365#comment:9> Django <https://code.djangoproject.com/> The Web framework

Re: [Django] #30422: Temporary files do not get deleted on canceled upload request.

2019-05-14 Thread Django
Procopio): * owner: nobody => Mattia Procopio * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/30422#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because

Re: [Django] #26368: Order of &-ing Q objects affects results in edge case

2019-05-14 Thread Django
king on this issue. to fix it and understand deeply. as far as I understand:), the problem is [https://github.com/django/django/blob/8aad3321ed6f0b603361767a4fe00d046b5fdd34/django/utils/tree.py#L113 here]. When we add a {{{combine}}} q node and this q contains {{{negated=True}}} clauses, this {{{~Q

[Django] #30477: Filtering on reverse ForeignKey relation uses get_db_prep_value from a wrong field

2019-05-14 Thread Django
/home/konk/env- django/reverse_fk_test_case/reverse_fk_test_case/tests.py", line 12, in test_reverse_filter obj = models.Local.objects.filter(remote=self.remote).get() File "/home/koniiiik/repos/git/django/django/db/models/query.py", line 408, in get num = len(clone)

  1   2   3   4   5   6   7   8   9   10   >