| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
migrations.
|
|
Thanks Corey Farwell for the report and Tim Graham for the review.
Thanks also to Inada Naoki for creating and maintaining mysqlclient.
|
|
|
|
Thanks Bjarkias for the report.
|
|
|
|
Basically a4737bf6ae reapplied.
|
|
|
|
Thanks gavinwahl for the report.
|
|
django.contrib.admin.helpers.InlineAdminForm.original_content_type_id
|
|
Thanks Naddiseo for the report, Andrew Godwin for guidance,
and Shai Berger for review.
|
|
Thanks dfunckt and Tim Graham.
|
|
Previously a RuntimeError was raised every time two models clashed
in the app registry. This prevented reloading a module in a REPL;
while it's not recommended to do so, we decided not to forbid this
use-case by turning the error into a warning.
Thanks @dfunckt and Sergey Pashinin for the initial patches.
|
|
Thanks prathik for the report.
|
|
This includes the following improvements:
- The type of the style object is now called 'Style' rather than 'dummy'.
- The new make_style() function allows generating a Style object directly
from a config string. Before the only way to get a style object was
through the environ and it also required that the terminal supported
colors which isn't necessarily the case when testing.
- The output of no_style() is now cached with @lru_cache.
- The output of no_style() now has the same set of attributes as the
other Style objects. Previously it allowed anything to pass through
with __getattr__.
|
|
Thanks Tim Graham for the review.
|
|
This helps with testability of management commands.
Thanks to trac username daveoncode for the report and to
Tim Graham and Claude Paroz for the reviews.
|
|
Refs #23685.
|
|
Fixed a regression introduced by 28efafa24c.
Thanks Michal Čihař for the report and initial patch, and
Collin Anderson and Tim Graham for the reviews.
|
|
This commit reverts 67d7da5fb9498b811f0168f5df2308ad4743027f.
The previous fix changed the environment globally, which meant
that any call to `call_command(no_color=True)` prevented further
`call_command` with color.
This fix still relies on the environment because it's currently the only
way to reach WSGIRequestHandler, but it's now limited to the `runserver`
command. This seems an acceptable compromise considering `runserver` runs
indefinitely.
Thanks Tim Graham for the review.
|
|
|
|
|
|
This fixes a regression introduced by 2a31d00933.
Thanks tony-zhu for the report.
|
|
function
|
|
SafeText.
Thanks Baptiste Mispelon for the report.
|
|
Thanks Paul Dejean for the report.
|
|
Thanks Naddiseo for reporting.
|
|
timezone by default
Thanks Aymeric Augustin for review.
|
|
|
|
This reverts commit 8d6e1afe0be0570253a508f43e2ef89ae640984e.
call_command now always set skip_checks to True (tested in
user_commands).
|
|
Thanks Loic Bistuer for the report/review and Tim Graham for the
review.
|
|
execute().
Overriding execute() bypasses the system check framework among other things.
|
|
|
|
|
|
|
|
Thanks Ilya Baryshev for the report and Tim Graham for the review.
|
|
false positives.
|
|
Checked database destruction for ORA-29857, which happens when objects of
some types are left over in an old test database (notably, such objects
are created by the GIS backend). When this happens, we can resolve the
issue by dropping the test-user (if we are allowed to).
An alternative approach, to just switch the order of creation (so that,
if the test user exists and can be dropped, it is always dropped before
the tablespace) was considered; but since the user creation depends on
the tablespace, this would necessitate separating the dropping of the user
from its creation -- a change I am reluctant to make.
Thanks Josh Smeaton and Tim Graham for reviews.
|
|
The "check" name is a reserved word used by Django's check framework,
and cannot be redefined as something else other than a method, or the check
framework will raise an error.
This change amends the django.core.checks.model_check.check_all_models()
function, so that it verifies that a model instance's attribute "check"
is actually a method. This new check is assigned the id "models.E020".
|
|
This also defines QuerySet.__bool__ for consistency though this should not have any consequence as bool(qs) used to fallback on QuerySet.__len__ in Py3.
|
|
Thanks Tim Graham for the review.
|
|
Thanks Loic Bistuer and Simon Charette for the review.
|
|
|
|
Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz
for the review.
|
|
This ensure that ''.join(c) in jslex.py always returns text.
|
|
Thanks Philip Gatt for the report and Tim Graham for the review.
|
|
RFC.
|
|
|