| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
|
| |
template.
Also discouraged its use outside the intended use case.
|
| |
|
|
|
|
| |
that take arguments.
|
|
|
|
|
|
| |
ValidationError raised when constructing the model instance.
Thanks Loïc Bistuer for review and advice.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
unsafe requests over HTTPS.
Added the CSRF_TRUSTED_ORIGINS setting which contains a list of other
domains that are included during the CSRF Referer header verification
for secure (HTTPS) requests.
|
|
|
|
|
|
| |
queries.
Thanks Anssi Kääriäinen for providing the solution.
|
|
|
|
| |
trans %} tags that use template filters.
|
|
|
|
| |
created".
|
|
|
|
| |
DisallowedHost.
|
|
|
|
| |
contrib.admin.
|
| |
|
| |
|
|
|
|
|
|
| |
and an empty QuerySet.
Thanks Marcin Biernat for the initial patch and tests.
|
|
|
|
| |
related_query_name to the admin's delete confirmation page.
|
|
|
|
| |
compatibility checks.
|
|
|
|
| |
QuerySet.iterator() didn't return an iterator.
|
|
|
|
| |
AppConfig.
|
|
|
|
|
|
| |
for backwards compatibility.
Thanks Tom Christie for the report and review.
|
|
|
|
|
|
| |
This is preparation for landing the template-based widget rendering
patch and goes a long way to making these tests more useful for future
development. The old doctest heritage is strong here.
|
| |
|
| |
|
|
|
|
| |
and UserSettingsHolder.
|
|
|
|
|
|
|
|
|
| |
DBCacheTests.test_clear_commits_transaction test.
Was added in 44164c5c308da32a804dfb03ce0bffde2a6b4c56 but the
transaction.commit_unless_managed() line was removed in
ba5138b1c0253fcf390b7509ad7b954117b3be88; thus the test does nothing
but check that clear() runs.
|
|
|
|
| |
migration files
|
|
|
|
|
|
|
| |
incorrect .select_related() use
Using select_related() after .values() or .values_list() is not possible
because .values() or .values_list() already got the values they need.
|
|
|
|
| |
Refs #24704.
|
|
|
|
|
| |
This also fixes a test failure on Python 2 when Django is installed in a
non-ASCII path. This problem cannot happen on Python 3.
|
|
|
|
|
|
| |
* Added helpers to test uncached and cached access.
* Fixed test_project_root_locale: it duplicated test_locale_paths_setting.
* Rewrote test_only_new_files: test more cases.
|
|
|
|
|
|
|
| |
* When some old files contain errors, the second call to
gen_filenames() should return them.
* When some new files contain errors, the first call to
gen_filenames(only_new=True) should return them.
|
|
|
|
|
|
|
|
|
| |
with --files-from
Changed the way makemessages invokes xgettext from one call per
translatable file to one call per locale directory (using --files-from).
This allows to avoid https://savannah.gnu.org/bugs/index.php?35027 and,
as a positive side effect, speeds up localization build.
|
|
|
|
| |
chromedriver 2.18.
|
|
|
|
|
|
|
| |
messages.
Previously, messages of ERROR level or higher were printed to
the console.
|
|
|
|
| |
value that clashes with a model reverse accessor.
|
|
|
|
| |
Fixed a regression introduced in e1427cc609fa6ab247501b101cfb3c0092aba55b when running tests in reverse order.
|
| |
|
|
|
|
|
|
|
|
| |
backends more extensible.
Introduced an AbstractBaseSession model and hooks providing the option
of overriding the model class used by the session store and the session
store class used by the model.
|
|
|
|
| |
GenericForeignKey.
|
|
|
|
|
|
|
|
|
|
| |
Moved the lookup in Field.swappable_setting to Apps, and added
an lru_cache to cache the results.
Refs #24743
Thanks Marten Kenbeek for the initial work on the patch. Thanks Aymeric
Augustin and Tim Graham for the review.
|
|
|
|
|
|
|
| |
equality to prevent infinite migrations
Thanks Sayid Munawar and Tim Graham for the report, investigation and
review.
|
|
|
|
| |
MIGRATION_MODULES setting.
|
|
|
|
| |
collision when using model inheritance.
|
|
|
|
|
|
| |
language override
Thanks David Nelson Adamec for the report and Tim Graham for the review.
|
|
|
|
| |
from reporting 404s when Referer = URL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
using serialized_rollback.
When using a TransactionTestCase with serialized_rollback=True,
after creating the database and running its migrations (along with
emitting the post_migrate signal), the contents of the database
are serialized to _test_serialized_contents.
After the first test case, _fixture_teardown() would flush the
tables but then the post_migrate signal would be emitted and new
rows (with new PKs) would be created in the django_content_type
table. Then in any subsequent test cases in a suite,
_fixture_setup() attempts to deserialize the content of
_test_serialized_contents, but these rows are identical to the
rows already in the database except for their PKs. This causes an
IntegrityError due to the unique constraint in the
django_content_type table.
This change made it so that in the above scenario the post_migrate
signal is not emitted after flushing the tables, since it will be
repopulated during fixture_setup().
|
|
|
|
|
| |
"Area man/woman" is confusing to people not familiar with the
conventions of American journalism (like me).
|
| |
|
| |
|