| Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
|
|
Regression in cfff2af02be40106d4759cc6f8bfa476ce82421c.
|
|
Thanks Alex Gaynor for contributing to the patch.
|
|
|
|
values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection().
Regression in a0c03c62a8ac586e5be5b21393c925afa581efaf.
Thanks Tim Graham and Carlton Gibson for reviews.
|
|
ForeignKey attname.
|
|
Follow up to 003334f8af29e2023cf7ad7d080aa9ab26a7c528.
|
|
|
|
unique field.
Stopped dropping and recreating foreign key constraints on other fields
in the same table as the one which is actually being altered in an
AlterField operation.
Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0.
|
|
|