[Django] #29393: Infinite loop in ExceptionReporter.get_traceback_frames

2018-05-09 Thread Django
/django/django/blob/d79cf1e/django/views/debug.py#L397 while exc_value] loop then never terminates. -- Ticket URL: <https://code.djangoproject.com/ticket/29393> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message

Re: [Django] #29393: Infinite loop in ExceptionReporter.get_traceback_frames

2018-05-09 Thread Django
tps://code.djangoproject.com/ticket/29393#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

Re: [Django] #29364: CommonMiddleware.get_full_path_with_slash should raise exception for POST / PUT / PATCH requests even if settings.DEBUG = False

2018-05-09 Thread Django
djust URL pattern to make trailing slash optional. * (... and so on...) -- Ticket URL: <https://code.djangoproject.com/ticket/29364#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are

Re: [Django] #29389: Make Paginator reject non-integer page numbers of type float

2018-05-09 Thread Django
pickings: 0 |UI/UX: 0 --+--- Comment (by Nicolas Noé): [https://github.com/django/django/pull/9935 PR] -- Ticket URL: <https://code.djangoproject.com/ticket/29389#comment:2> Django

Re: [Django] #29389: Make Paginator reject non-integer page numbers of type float

2018-05-09 Thread Django
pickings: 0 |UI/UX: 0 --+--- Changes (by Nicolas Noé): * has_patch: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/29389#comment:3> Django <https://code.djangoproject.c

Re: [Django] #29393: Infinite loop in ExceptionReporter.get_traceback_frames

2018-05-09 Thread Django
: 0 Easy pickings: 0|UI/UX: 0 -+-- Comment (by Tim Graham): Can you please give code to reproduce the issue? -- Ticket URL: <https://code.djangoproject.com/ticket/29393#comment:2>

Re: [Django] #29393: Infinite loop in ExceptionReporter.get_traceback_frames

2018-05-09 Thread Django
RuntimeError as exc: raise exc.__cause__ }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29393#comment:3> 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] #29391: Postgres array lookups need to call get_db_prep_value to adapt values to their db representation (FieldGetDbPrepValueMixin)

2018-05-09 Thread Django
wed => Accepted -- Ticket URL: <https://code.djangoproject.com/ticket/29391#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" gro

Re: [Django] #29386: Meta Inheritance for default_permissions

2018-05-09 Thread Django
se from its parent. `default_permissions` is not amongst the listed exceptions, so there is no reason to expect it would be inherited. -- Ticket URL: <https://code.djangoproject.com/ticket/29386#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists

Re: [Django] #29386: Meta Inheritance for default_permissions

2018-05-09 Thread Django
: Uncategorized => Database layer (models, ORM) -- Ticket URL: <https://code.djangoproject.com/ticket/29386#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

Re: [Django] #29393: Infinite loop in ExceptionReporter.get_traceback_frames() (was: Infinite loop in ExceptionReporter.get_traceback_frames)

2018-05-09 Thread Django
Easy pickings: 0|UI/UX: 0 -+ Changes (by Tim Graham): * stage: Unreviewed => Accepted -- Ticket URL: <https://code.djangoproject.com/ticket/29393#comment:4> Djan

Re: [Django] #29385: Make ModelDetailView show model properties

2018-05-09 Thread Django
t: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, send an em

Re: [Django] #29390: trans_null.ngettext() should consider values of -1 as singular

2018-05-09 Thread Django
at all convinced that `-1` is definitely singular. (Like "maybe" but I can't say either is wrong.) * As [https://github.com/django/django/pull/9932#pullrequestreview-118467505 Simon commented on the PR] it breaks BC, and (per above) it's marginal at best, so not worth i

Re: [Django] #29389: Make Paginator reject non-integer page numbers of type float

2018-05-09 Thread Django
uot;" revision="2134e7d4391c2279f6cfddadc2a0c1195cec16e4" Refs #29389 -- Added Paginator test for float page number. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29389#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --

Re: [Django] #29389: Make Paginator reject non-integer page numbers of type float

2018-05-09 Thread Django
c" c629d4e9]: {{{ #!CommitTicketReference repository="" revision="c629d4e9562e7b04b39ca5224af6fd08a3cb14bc" Fixed #29389 -- Made Paginator reject non-integer page numbers of type float. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29389#comment:5> Django

Re: [Django] #29386: Meta Inheritance for default_permissions

2018-05-09 Thread Django
} So this should be covered by the Meta Inheritance documentation ([https://docs.djangoproject.com/en/2.0/topics/db/models/#meta- inheritance]). This section specifically says: > If the child wants to extend the parent’s Meta class, it can subclass it... Django does make one adjustment

Re: [Django] #29386: Meta Inheritance for default_permissions

2018-05-09 Thread Django
enough? It follows "All the Meta options have already been applied to the parent class and applying them again would normally only lead to contradictory behavior". What else do you want it to say? -- Ticket URL: <https://code.djangoproject.com/ticket/29386#comment:5> Dja

Re: [Django] #29386: Meta Inheritance for default_permissions

2018-05-09 Thread Django
et/29386#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" group. To unsubscribe from this group and stop receiving emails from

Re: [Django] #29386: Meta Inheritance for default_permissions

2018-05-09 Thread Django
his still seems to be expected behaviour. I'm going to close this as such. If you have a concrete suggestion for the docs—there's always the possibility of improvement—we'd be very happy to review a PR referencing this issue. -- Ticket URL: <https://code.djangoproject.co

Re: [Django] #26600: map says a queryset is not iterable

2018-05-09 Thread Django
yield x 15 MemoryError: }}} -- Ticket URL: <https://code.djangoproject.com/ticket/26600#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

Re: [Django] #26600: map says a queryset is not iterable

2018-05-09 Thread Django
new * resolution: needsinfo => Comment: I'm going to reopen so we review the reproduce. -- Ticket URL: <https://code.djangoproject.com/ticket/26600#comment:7> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this

Re: [Django] #29363: Use unittest assertWarns methods instead of warnings.catch_warnings/simplefilter/assertions in the test suite.

2018-05-09 Thread Django
5754ce7" Fixed #29363 -- Added SimpleTestCase.assertWarnsMessage(). }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29363#comment:5> 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] #29386: Meta Inheritance for default_permissions

2018-05-09 Thread Django
). A reasonably informative error message would eliminate the need to even go to the documentation. -- Ticket URL: <https://code.djangoproject.com/ticket/29386#comment:8> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received

Re: [Django] #26600: map says a queryset is not iterable

2018-05-09 Thread Django
.djangoproject.com/ticket/26600#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

Re: [Django] #26600: map says a queryset is not iterable

2018-05-09 Thread Django
to workaround the error on Py2k: * force the queryset into a list when using `map` * use `imap` (from `itertools`) instead of `map` -- Ticket URL: <https://code.djangoproject.com/ticket/26600#comment:9> Django <https://code.djangoproject.com/> The Web framework for perfect

Re: [Django] #29386: Meta Inheritance for default_permissions

2018-05-09 Thread Django
Ref #29386 -- ...` and @carltongibson me on GitHub. I'll have a look. -- Ticket URL: <https://code.djangoproject.com/ticket/29386#comment:9> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you a

Re: [Django] #28462: ModelAdmin.list_editable unusably slow and memory intensive with large datasets

2018-05-09 Thread Django
now, pending the extra testing outlined on the ticket. * Please uncheck when that's ready * @carltongibson me on GitHub if you want/need me to input/help. Thanks for your effort! -- Ticket URL: <https://code.djangoproject.com/ticket/28462#comment:10> Django <https://code.djangopro

Re: [Django] #28687: Add a 'Not Empty' option to admin's related filter

2018-05-10 Thread Django
1 -- Ticket URL: <https://code.djangoproject.com/ticket/28687#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" group.

[Django] #29394: Broken urls.py instructions in tutorial 1

2018-05-10 Thread Django
ors: (see attachment) NameError: name 'include' is not defined This helps: https://stackoverflow.com/questions/34471102/python-nameerror- name-include-is-not-defined/34471121#34471121 Python-version: 3.5.2 django-version: 2.0.5 OS: Ubuntu 16.03 -- Ticket URL: <https://co

Re: [Django] #29394: Broken urls.py instructions in tutorial 1

2018-05-10 Thread Django
|UI/UX: 0 ---+-- Changes (by Jln Wntr): * Attachment "dump.txt" added. console dump -- Ticket URL: <https://code.djangoproject.com/ticket/29394> Django <https://code.djangoproject.com/

[Django] #29395: Assigning correctly formatted time string to TimeField field works, but leaves the field value a string (and not datetime.time as when retrieved)

2018-05-10 Thread Django
s for TimeField fields, while retrieved objects have datetime.time values. The docs clearly state that TimeField field in Django is represented as datetime.time object in python. For example: models.py {{{ from django.db import models class A(models.Model): time = models.TimeField() }

Re: [Django] #29394: Broken urls.py instructions in tutorial 1

2018-05-10 Thread Django
27;, admin.site.urls), ] }}} The part you're missing there is: {{{ from django.urls import include, path }}} Note that it imports `include`, which is exactly the solution from the StackOverflow thread. -- Ticket URL: <https://code.djangoproject.com/ticket/29394#comment:1> D

Re: [Django] #21408: Fallback to timesince produces erroneous translations in naturaltime

2018-05-10 Thread Django
-+- Changes (by Carlton Gibson): * needs_better_patch: 1 => 0 * stage: Accepted => Ready for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/21408#comment:11> Django <https://code.djangoproject.com/> The Web framework for p

Re: [Django] #29395: Assigning correctly formatted time string to TimeField field works, but leaves the field value a string (and not datetime.time as when retrieved)

2018-05-10 Thread Django
-+- Changes (by Tim Graham): * status: new => closed * resolution: => duplicate Comment: Duplicate of #27825 (the consensus is to document the limitation). -- Ticket URL: <https://code.djangoproject.com/ticket/29395#comment:

[Django] #29396: Using date__year comparisons together with OuterRef causes an IndexError

2018-05-10 Thread Django
... File "/usr/lib/python3/dist-packages/django/db/models/lookups.py", line 90, in process_rhs sql, params = compiler.compile(value) File "/usr/lib/python3/dist-packages/django/db/models/sql/compiler.py", line 391, in compile sql, params = node.as_sql(self,

Re: [Django] #29396: Using date__year comparisons together with OuterRef causes an IndexError

2018-05-10 Thread Django
): * Attachment "test-project.tar.gz" added. Test project to reproduce the bug -- Ticket URL: <https://code.djangoproject.com/ticket/29396> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you

Re: [Django] #29396: Using date__year comparisons together with OuterRef causes an IndexError

2018-05-10 Thread Django
): I should add that it happens only with `gte`/`lte` comparisons. If I replace `date__year__gte` with `date__year__exact`, then the code works as expected. -- Ticket URL: <https://code.djangoproject.com/ticket/29396#comment:1> Django <https://code.djangoproject.com/> The Web f

Re: [Django] #21408: Fallback to timesince produces erroneous translations in naturaltime

2018-05-10 Thread Django
e1fcdfe98ca85081c9eb8acb7aa1f6d" Fixed #21408 — German Translation for “3 days ago” The problem: “3 days ago” should translate to “vor 3 Tagen” in German, while “3 days” translates to “3 Tage”. #21408 describes that django always translated to “Tage”, even when the dative “Tagen” was

[Django] #29397: Username validation should be handled at the model level on object creation.

2018-05-10 Thread Django
UI/UX: 0 | -+ I have a rather large django system that conglomerates users from a bunch of systems into a single platform. In order to prevent duplicate usernames, I am constructing usernames like: |. I am

Re: [Django] #29397: Username validation should be handled at the model level on object creation.

2018-05-10 Thread Django
improvement: 0 Easy pickings: 0 |UI/UX: 0 ---+-- Comment (by Tim Graham): It's not clear to me where the problem is and why Django is at fault. Can you investigate a bit further or explain what chan

Re: [Django] #29396: Using date__year comparisons together with OuterRef causes an IndexError

2018-05-10 Thread Django
age: Unreviewed => Accepted Comment: Reproduced on master at 9c4ea63e878c053600c284e32d5f32d27a59b63a. -- Ticket URL: <https://code.djangoproject.com/ticket/29396#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You rec

Re: [Django] #27629: Inconsistent check of allow_relation in ForwardManyToOneDescriptor.__set__

2018-05-10 Thread Django
53b86caaf01687342984f372428beb8" Fixed #27629 -- Added router.allow_relation() calls for assignments between unsaved model instances. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/27629#comment:10> Django <https://code.djangoproject.com/> The Web framework for perfe

Re: [Django] #17379: Don't deactivate translations by default in management commands

2018-05-11 Thread Django
X: 0 -+- Changes (by Claude Paroz): * needs_better_patch: 0 => 1 -- Ticket URL: <https://code.djangoproject.com/ticket/17379#comment:21> Django <https://code.djangoproject.com/> The Web framework for perfectionists with

Re: [Django] #29397: Username validation should be handled at the model level on object creation.

2018-05-11 Thread Django
ket/29397#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

[Django] #29398: Cascade deletion doesn't invoke .delete() on the cascaded objects

2018-05-11 Thread Django
ay, so I thought I would mention it. I generally don't like signals (too much magic) but is that the preferred method for handling deletion special cases? -- Ticket URL: <https://code.djangoproject.com/ticket/29398> Django <https://code.djangoproject.com/> The Web framewor

Re: [Django] #29398: Cascade deletion doesn't invoke .delete() on the cascaded objects

2018-05-11 Thread Django
mention it. I generally don't like signals (too much magic) but is that the preferred method for handling deletion special cases? -- -- Ticket URL: <https://code.djangoproject.com/ticket/29398#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfecti

Re: [Django] #17379: Don't deactivate translations by default in management commands

2018-05-11 Thread Django
X: 0 -+- Changes (by Claude Paroz): * needs_better_patch: 1 => 0 * needs_tests: 1 => 0 -- Ticket URL: <https://code.djangoproject.com/ticket/17379#comment:22> Django <https://code.djangoproject.com/> The Web framework

Re: [Django] #29398: Cascade deletion doesn't invoke .delete() on the cascaded objects

2018-05-11 Thread Django
me today, so I thought I would mention it. I generally don't like signals (too much magic) but is that the preferred method for handling deletion special cases? -- -- Ticket URL: <https://code.djangoproject.com/ticket/29398#comment:2> Django <https://code.djangoproject.com/> The Web

Re: [Django] #23718: TEST_MIRROR setting doesn't work as expected (and has no tests)

2018-05-11 Thread Django
=> 1 -- Ticket URL: <https://code.djangoproject.com/ticket/23718#comment:21> 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] #29398: Clarify that cascade deletion doesn't invoke .delete() on the cascaded objects (was: Cascade deletion doesn't invoke .delete() on the cascaded objects)

2018-05-11 Thread Django
reviewed => Accepted * type: Uncategorized => Cleanup/optimization Comment: The documentation for `on_delete` [https://docs.djangoproject.com/en/stable/ref/models/fields/#django.db.models.CASCADE CASCADE] says, "Cascade deletes. Django emulates the behavior of the SQL constrain

Re: [Django] #29297: Exception ignored in: . at 0x111aafe08>

2018-05-11 Thread Django
t; new * resolution: needsinfo => Comment: I'm seeing the same issue with Django 2.0.5. Unfortunately, I'm not able to identify a precise cause, but it *might* be load related. Here is a scenario in which I see it: 1. I have a moderately complex Django app (using amongst other thing

Re: [Django] #29297: Exception ignored in: . at 0x111aafe08>

2018-05-11 Thread Django
new => closed * resolution: => needsinfo Comment: Hello Shaheed, Unfortunately I'm afraid there isn't much we can do as nothing seems to indicate Django is the culprit. We'd need a simplified and reproducible test case to figure out whether or not it's something th

[Django] #29399: Template rendering errors are incorrectly blamed on base template

2018-05-11 Thread Django
on the previous line.) You can run the attached project which reproduces the issue (run server and open to /). -- Ticket URL: <https://code.djangoproject.com/ticket/29399> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received

Re: [Django] #29399: Template rendering errors are incorrectly blamed on base template

2018-05-11 Thread Django
improvement: 0 Easy pickings: 0|UI/UX: 0 -+-- Changes (by oTree-org): * Attachment "missing_template_vars.zip" added. -- Ticket URL: <https://code.djangoproject.com/ticket/29399&g

Re: [Django] #29399: Template rendering errors are incorrectly blamed on base template

2018-05-11 Thread Django
, it conceals problems in the *parent* template. -- Ticket URL: <https://code.djangoproject.com/ticket/29399#comment:1> 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] #29399: Template rendering errors are incorrectly blamed on base template

2018-05-11 Thread Django
either case (whether using `context` or `context.render_context`). -- Ticket URL: <https://code.djangoproject.com/ticket/29399#comment:2> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subsc

[Django] #29400: mark_safe does not work as a decorator for filters and tags (regression)

2018-05-12 Thread Django
pickings: 0 UI/UX: 0| ---+ With Django 1.11, I had the following pattern frequently in my code: {{{ @register.filter @mark_safe def myfilter(value): ... }}} Smilarly for tags. This has worked

Re: [Django] #29400: mark_safe does not work as a decorator for filters and tags (regression)

2018-05-12 Thread Django
-- Ticket URL: <https://code.djangoproject.com/ticket/29400> 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] #29399: Template rendering errors are incorrectly blamed on base template

2018-05-12 Thread Django
et URL: <https://code.djangoproject.com/ticket/29399#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 t

Re: [Django] #17379: Don't deactivate translations by default in management commands

2018-05-12 Thread Django
X: 0 -+- Changes (by Tim Graham): * type: Bug => Cleanup/optimization * stage: Accepted => Ready for checkin -- Ticket URL: <https://code.djangoproject.com/ticket/17379#comment:23> Django <https://code.djangop

Re: [Django] #29400: mark_safe() doesn't work as a decorator for template filters and tags (was: mark_safe does not work as a decorator for filters and tags (regression))

2018-05-12 Thread Django
ocker * stage: Unreviewed => Accepted Comment: Bisected to 620e9dd31a2146d70de740f96a8cb9a6db054fc7. -- Ticket URL: <https://code.djangoproject.com/ticket/29400#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You

Re: [Django] #17379: Don't deactivate translations by default in management commands

2018-05-13 Thread Django
pository="" revision="d65b0f72de8d35617fe0554ddabc950c7f323eef" Fixed #17379 -- Removed management commands deactivation of the locale. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/17379#comment:24> Django <https://code.djangoproject.com/> The Web framework

[Django] #29401: Update admin's jQuery to 3.3.1

2018-05-13 Thread Django
t: 0 | Easy pickings: 0 UI/UX: 0 | -+ The last update was to 3.2.1 in 6deaddcca367d0143c815aaa42342021baa3b41e (https://github.com/django/django/pull/9485). -- Ticket URL: &

Re: [Django] #29401: Update admin's jQuery to 3.3.1

2018-05-13 Thread Django
akuya Noguchi): * has_patch: 0 => 1 Comment: [https://github.com/django/django/pull/9946 PR#9946] -- Ticket URL: <https://code.djangoproject.com/ticket/29401#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You r

Re: [Django] #29142: QuerySet crashes when OuterRef is combined with an operator

2018-05-13 Thread Django
-+- Changes (by nirmalraghavan): * status: closed => new * resolution: fixed => Comment: Issue still exists in django 2.0.5. Performing arithmetic operation on OuterRef returns the following. **'ResolvedOuterRef' object has no attribute 'relabeled_clo

Re: [Django] #29142: QuerySet crashes when OuterRef is combined with an operator

2018-05-13 Thread Django
s supported versions policy]. -- Ticket URL: <https://code.djangoproject.com/ticket/29142#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 &qu

Re: [Django] #29401: Update admin's jQuery to 3.3.1

2018-05-13 Thread Django
#29401 -- Updated admin's jQuery to 3.3.1. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29401#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] #29402: parse_header function in http/multipartparser.py unescapes in wrong order

2018-05-13 Thread Django
changing the replace functions: {{{ value = value.replace(b'\\"', b'"').replace(b'', b'\\') }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29402> Django <https://code.djangoproject.com/> The Web framework for perfe

[Django] #29403: TooBig error in memcached

2018-05-13 Thread Django
ror occurs in ''django/core/cache/backends/memcached.py'' on line 86: {{{ val = self._cache.get(key) if val is None: return default return val def set(self, key, value, timeout=DEFAULT_TIMEOUT, version=None): key = self

Re: [Django] #29403: TooBig error in memcached

2018-05-13 Thread Django
#x27;: True, 'remove_failed': 4 } } } }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29403#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you

Re: [Django] #29131: Make the error message for ArrayField more user and translation-friendly

2018-05-13 Thread Django
; 31ce1f74]: {{{ #!CommitTicketReference repository="" revision="31ce1f74334add625a4ed82b531d769828237882" Refs #29131 -- Fixed space handling in ArrayField's item_invalid message. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29131#comment:4> Django

Re: [Django] #29131: Make the error message for ArrayField more user and translation-friendly

2018-05-13 Thread Django
Ticket URL: <https://code.djangoproject.com/ticket/29131#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 unsubscr

Re: [Django] #29402: parse_header function in http/multipartparser.py unescapes in wrong order

2018-05-13 Thread Django
angoproject.com/ticket/29402#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 recei

Re: [Django] #29403: Make PyLibMCCache backend handle TooBig exception from pylibmc (was: TooBig error in memcached)

2018-05-13 Thread Django
| Patch needs improvement: 0 Easy pickings: 0|UI/UX: 0 -+ Changes (by Tim Graham): * stage: Unreviewed => Accepted Comment: There's [https://github.com/django/dja

Re: [Django] #29364: CommonMiddleware.get_full_path_with_slash should raise exception for POST / PUT / PATCH requests even if settings.DEBUG = False

2018-05-13 Thread Django
-+- Changes (by Tim Graham): * status: new => closed * resolution: => wontfix Comment: Sounds fine to me. -- Ticket URL: <https://code.djangoproject.com/ticket/29364#comment:6> Django <https://code.djangoproject.com/> The

Re: [Django] #29299: Add type hints (PEP 484) and variable annotations (PEP 526)

2018-05-14 Thread Django
: Vlastimil Zíma (added) -- Ticket URL: <https://code.djangoproject.com/ticket/29299#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 u

Re: [Django] #29398: Clarify that cascade deletion doesn't invoke .delete() on the cascaded objects

2018-05-14 Thread Django
t; tomlinsj -- Ticket URL: <https://code.djangoproject.com/ticket/29398#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" grou

[Django] #29404: Add --show-sql option to the shell command

2018-05-14 Thread Django
/5835465] It is very helpful feature, why not to try to include this into shell command itself? -- Ticket URL: <https://code.djangoproject.com/ticket/29404> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message bec

Re: [Django] #29392: Command parsing does not handle options that conflict with `--settings`/`--pythonpath`

2018-05-14 Thread Django
=> lefcourn * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/29392#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] #29297: Exception ignored in: . at 0x111aafe08>

2018-05-14 Thread Django
nks. I've Google'd around, and see other references to the contract of th C API being broken. Sadly, I don't see any obvious way to narrow down the cuplrit short of strace. -- Ticket URL: <https://code.djangoproject.com/ticket/29297#comment:5> Django <https://code.

Re: [Django] #29392: Command parsing does not handle options that conflict with `--settings`/`--pythonpath`

2018-05-14 Thread Django
review Carlton. Added a note to the misc backwards incompatibility section. -- Ticket URL: <https://code.djangoproject.com/ticket/29392#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message bec

Re: [Django] #29291: Conditional expressions and ~Q queries

2018-05-14 Thread Django
iewed ...: ')).values_list('score_has_been_reviewed',flat=True) Out[56]: }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29291#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this messag

Re: [Django] #29404: Add --show-sql option to the shell command

2018-05-14 Thread Django
=> closed * resolution: => wontfix Comment: There is a popular package you can use to do that: https://django- extensions.readthedocs.io/en/latest/shell_plus.html You may discuss on the django-developers mailing list if you think it should be in Django core, but you should provide conv

[Django] #29405: Missing dependecies on the contribuiting tutorial

2018-05-14 Thread Django
| -+ I followed the instruction in the "Writing your first patch for Django" page and in order to install the tests requirements I had to install python-dev, zlib and libmemcached. The page mentions neith

[Django] #29406: Add Referrer-Policy header support

2018-05-14 Thread Django
: 0 | -+--- Background information on django-dev list: https://groups.google.com/forum/#!topic/django-developers/DDpkrvFdnvk Other parts of that proposal still need work, but Referrer-Policy seemed to have consensus

[Django] #29407: django.forms field in edit dialog don't display default values

2018-05-14 Thread Django
Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 1 UI/UX: 0 | -+- I created a project with Django 2.0.4 running on Python 3.6.5 with cookiecutter django template. I creat

Re: [Django] #29405: Missing dependecies on the contribuiting tutorial

2018-05-14 Thread Django
l the possibilities for various operating systems. -- Ticket URL: <https://code.djangoproject.com/ticket/29405#comment:1> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the

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

2018-05-14 Thread Django
: <https://code.djangoproject.com/ticket/28919#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 fr

Re: [Django] #28834: Fields cache should attempt to follow ancestor links on lookup failures

2018-05-14 Thread Django
field cached value fallback to related fields descriptor. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/28834#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to

Re: [Django] #29407: django.forms field in edit dialog don't display default values

2018-05-14 Thread Django
nobody => oliver -- Ticket URL: <https://code.djangoproject.com/ticket/29407#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

Re: [Django] #29407: django.forms field in edit dialog don't display default values

2018-05-14 Thread Django
d => new -- Ticket URL: <https://code.djangoproject.com/ticket/29407#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"

Re: [Django] #29407: django.forms field in edit dialog don't display default values

2018-05-14 Thread Django
: (none) => oliver -- Ticket URL: <https://code.djangoproject.com/ticket/29407#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

Re: [Django] #29407: django.forms field in edit dialog don't display default values

2018-05-14 Thread Django
d => new -- Ticket URL: <https://code.djangoproject.com/ticket/29407#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] #16470: Make FileResponse set the Content-Disposition header (was: RFC5987/RFC6266 Support (Content-Disposition headers))

2018-05-14 Thread Django
kin -- Ticket URL: <https://code.djangoproject.com/ticket/16470#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 unsubs

Re: [Django] #29392: Command parsing does not handle options that conflict with `--settings`/`--pythonpath`

2018-05-14 Thread Django
abbreviated forms of --settings and --pythonpath management command options. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29392#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because

Re: [Django] #29400: mark_safe() doesn't work as a decorator for template filters and tags

2018-05-14 Thread Django
/29400#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,

Re: [Django] #29407: django.forms field in edit dialog don't display default values

2018-05-14 Thread Django
; closed * resolution: => invalid Comment: Thanks for the report, but I would suggest you first search help in [https://code.djangoproject.com/wiki/TicketClosingReasons/UseSupportChannels Django support channels] and ensure that Django is at fault before opening a ticket. I'm su

[Django] #29408: ordering by field from related model does not validate if field exists

2018-05-15 Thread Django
is a direct field member of the same class, `makemigrations` does throw an error. Example below tested on Django 2.0.5 {{{ from django.db import models # Create your models here. class Agreement(models.Model): agreement_id = models.AutoField(verbose_name='ID', serialize=False

Re: [Django] #28743: Clarify the term "deployment server" in the documentation

2018-05-15 Thread Django
> Anton Mo Eriksson * status: new => assigned -- Ticket URL: <https://code.djangoproject.com/ticket/28743#comment:4> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Go

Re: [Django] #29408: Add validation of ordering by a field from related model. (was: ordering by field from related model does not validate if field exists)

2018-05-15 Thread Django
: Uncategorized => Database layer (models, ORM) * version: 2.0 => master * type: Uncategorized => Cleanup/optimization * stage: Unreviewed => Accepted Comment: I'm going to accept this provisionally. There's [https://github.com/django/django/blob/2dcc5d629a6439b554

<    1   2   3   4   5   6   7   8   9   10   >