| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
|
| |
| |
| |
| |
| | |
Regression was introduced in 6a6bb168b. Thanks Bas Peschier for the
report.
|
| | |
|
| |
| |
| |
| | |
Thanks to av@rdf.ru and flarno11@yahoo.de for the report.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
`GenericForeignKey`.
Allows a `GenericForeignKey` to reference proxy models. The default
for `for_concrete_model` is `True` to keep backwards compatibility.
Also added the analog `for_concrete_model` kwarg to
`generic_inlineformset_factory` to provide an API at the form level.
|
| |
| |
| |
| | |
Refs #20474.
|
| |
| |
| |
| | |
Refs #20474.
|
| | |
|
| |
| |
| |
| | |
between Python versions
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Don't try to be smart about building a good-looking help string
because it evaluates translations too early, simply use the same old
strategy as before. Thanks Donald Stufft for the report.
Also, actually fix the case reported by the OP by special-casing
CheckboxSelectMultiple.
Added tests.
Refs #9321.
|
| | |
|
|\ \
| | |
| | | |
Fixed #20478 – Added support for HTTP PATCH method in generic views.
|
| | |
| | |
| | |
| | | |
generic views.
|
| | |
| | |
| | |
| | | |
gettext 0.15 has been released in July 2006.
|
|/ /
| |
| |
| |
| |
| | |
The regex method used until now for the strip_tags utility is fast,
but subject to flaws and security issues. Consensus and good
practice lead use to use a slower but safer method.
|
| |
| |
| |
| |
| |
| |
| | |
When an exception other than IntegrityError was raised, get_or_create
could fail and leave the database connection in an unusable state.
Thanks UloPe for the report.
|
|\ \
| | |
| | | |
Fixed #18709 -- Check if initial_value is a callable
|
| | |
| | |
| | |
| | |
| | | |
In _get_changed_data, check if initial_value is a callable and call it
if it is.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Oracle
Used formatted date instead of datetime object for the end of the
year range, as the datetime object loses fractions-of-seconds when
inserted into the db.
|
| | |
| | |
| | |
| | | |
Removed the explicit casting of strings to dates
|
|/ / |
|
| |
| |
| |
| | |
iteration
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
loaded
Report more details about template files in loader postmortem.
|
| | |
|
| |
| |
| |
| | |
properties in the admin.
|
|\ \
| | |
| | | |
Fixed #20472: response.content should be bytes on both Python 2 and 3
|
| | |
| | |
| | |
| | | |
Python 2 and 3
|
|/ / |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
model ManyToManyField fields.
This is backward incompatible for custom form field/widgets that rely
on the hard-coded 'Hold down "Control", or "Command" on a Mac, to select
more than one.' sentence.
Application that use standard model form fields and widgets aren't
affected but need to start handling these help texts by themselves
before Django 1.8.
For more details, see the related release notes and deprecation timeline
sections added with this commit.
|
| |
| |
| |
| | |
error
|
| |
| |
| |
| | |
validating max_num.
|
| |
| |
| |
| |
| |
| |
| |
| | |
infinitely
A regression caused by d5b93d3281fe93cbef5de84a52 made .get() error
reporting recurse infinitely on certain rare conditions. Fixed this by
not trying to print the given lookup kwargs.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
abstract model
When a GenericRelation was defined on abstract model, queries on childs
of the abstract model didn't work. The problem was in the way fields and
in particular field.rel was copied from models to their children.
The regression was likely caused by #19385. Thanks to Gavin Wahl for
spotting the regression.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
aaugustin/better-api-to-disable-atomic-requests
Changed API to disable ATOMIC_REQUESTS per view.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A decorator is easier to apply to CBVs. Backwards compatibility isn't an
issue here, except for people running on a recent clone of master.
Fixed a few minor problems in the transactions docs while I was there.
|
|/ /
| |
| |
| |
| | |
Thanks to guettli for the initial ticket and patch, with additional work
from mehmetakyuz and Kevin Brolly.
|
| | |
|
|\ \
| | |
| | | |
Fix for test failure introduced by 980ae2a.
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
search methods.
This adds a get_search_results method that users can override to
provide custom search strategies.
Thanks to Daniele Procida for help with the docs.
|
| |
| |
| |
| | |
Fatal Error On File Backend Only
|
| |
| |
| |
| | |
Thanks Shai Berger for the report.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
now resolved.
This commit also adds tests for the redirect feature of most auth views.
It also cleans up the tests, most notably using @override_settings instead
of ad-hoc setUp/tearDown methods.
Thanks to caumons for the report.
Conflicts:
docs/releases/1.6.txt
|
|\ \
| | |
| | | |
Fixed #20442: NoneType error when fetching a stale ContentType with get_for_id
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
with get_for_id
When a stale ContentType is fetched, the _add_to_cache() function
didn't detect that `model_class()` returns `None` (which it does by
design). However, the `app_label` + `model` fields can be used instead
to as local cache key. Third party apps can detect stale models by
checking whether `model_class()` returns `None`.
Ticket: https://code.djangoproject.com/ticket/20442
|
|\ \ \
| | | |
| | | | |
Fixed #11442 -- Postgresql backend casts all inet types to text
|
| | | |
| | | |
| | | |
| | | | |
to text
|