| Age | Commit message (Collapse) | Author |
|
Co-authored-by: Petr Dlouhy <petr.dlouhy@email.cz>
Co-authored-by: Olivier Dalang <olivier.dalang@gmail.com>
|
|
|
|
Thanks Simon Charette, Jon Dufresne, and Tim Graham for the reviews.
|
|
--pythonpath management command options.
|
|
|
|
|
|
Follow up to 1b7d524cfa7b7834af26c99407af66be6813938d.
|
|
Follow up to ac59ec8f1a34ea0e82bdb3c77422694e8016e0a7.
|
|
|
|
The implementations have unintentionally diverged.
|
|
unsaved model instances.
|
|
Thanks Tim Graham for the review.
|
|
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 correct. The same applies to months (“Monate”/“Monaten”) and years (“Jahre”/“Jahren”).
The solution:
Let `timesince` caller provide the string dict to use for the time-related strings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks Tim Graham for the review.
|
|
nonexistent top-level package.
|
|
* Added logging of 500 responses for instantiated responses.
* Added logging of all 4xx and 5xx responses.
|
|
|
|
primary_key field.
|
|
|
|
|
|
Thanks Tim Graham and Mariusz Felisiak for the reviews.
|
|
|
|
QuerySet.bulk_create().
|
|
|
|
|
|
settings.DEBUG is False
|
|
|
|
verbosity.
|
|
COUNT is more expensive than EXISTS; use the latter when possible.
|
|
Instead of loading all QuerySet results in memory, count the number of
entries. This adds an extra query when list() or tuple() is called on the
choices (because both call __len__() then __iter__()) but uses less
memory since the QuerySet results won't be cached. In most cases, the
choices will only be iterated on, meaning that __len__() won't be called
and only one query will be executed.
|
|
|
|
Thanks Tim Graham for the fix.
|
|
choices.
|
|
|
|
|
|
|
|
|
|
|
|
redirect_authenticated_user.
|
|
Obsolete since numpy 1.12.0.
|
|
|
|
|
|
accessed and not set.
|
|
|