| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
formset rows
Move the addition of delete links to the initialisation code instead of
to the add event handler to ensure that all rows that should have a
delete link end up with one (not just the rows that are dynamically
added).
|
|
|
|
|
|
| |
Also regenerated the affected translation template.
Refs #20540.
|
|
|
|
|
| |
Thanks d.willy.c.c@ for the suggestion and Melevir and Areski Belaid for work
on the patch.
|
|
|
|
| |
relation is not allowed.
|
|
|
|
| |
django.utils.ipv6._unpack_ipv4
|
| |
|
|
|
|
|
|
| |
contrib.admindocs
Thanks lborgav for the initial patch.
|
|
|
|
|
|
|
| |
UnreadablePostError
Thanks KyleMac for the report, André Cruz for the initial patch and
Hiroki Kiyohara for the tests.
|
|
|
|
| |
block.super
|
|
|
|
|
|
|
|
|
|
|
| |
It's useful to be able to list all the (flattened) keys of a
ContextList, to help you figure out why the variable that's supposed
to be there is not.
No .values() or .items() added as the definition for those aren't clear.
The patch is Chris Wilson's patch from pull request 1065 with some
modifications by committer.
|
| |
|
|
|
|
|
|
| |
InlineModelAdmin.get_formset no longer bypass get_fieldsets
Thanks msopacua for the report.
|
|\
| |
| | |
Fixed #20531 -- Don't hard-code class names when calling static methods
|
| |
| |
| |
| |
| |
| |
| | |
normalize_email should be called on the instance, not the class. This
has the same effect normally but is more helpful to subclassers. When
methods are called directly on the class, subclasses can't override
them.
|
| | |
|
| |
| |
| |
| | |
Thanks dave@ for the suggestion and Rohan Jain for the patch.
|
|\ \
| | |
| | | |
Clearer explanation when exception has no message
|
| | |
| | |
| | |
| | |
| | | |
"No exception supplied" is misleading; actually there is an exception,
but there's no message string.
|
| | |
| | |
| | |
| | | |
Thanks Carl for the suggestion and David Cramer for the patch.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Model._do_update.
Thanks Gavin Wahl.
|
| | |
| | |
| | |
| | | |
Thanks weipin for the report and Baptiste Mispelon for the patch.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Correctly calculate the ``aggregate_start`` offset from loaded fields,
if any are deferred, instead of ``self.query.select`` which includes all
fields on the model.
Also made some PEP 8 fixes.
|
| | |
| | |
| | |
| | |
| | |
| | | |
StreamingHttpResponses
Thanks Edwin.
|
| | |
| | |
| | |
| | |
| | | |
Thanks mbertheau for the report and Ash Christopher for the
initial patch.
|
| | |
| | |
| | |
| | |
| | | |
Thanks jcumbo@ for the report and adamzap
and nott for the patch.
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
GenericIPAddressField
GenericIPAddressField must not allow blank for NOT NULL fields
Thanks Erik Romijn.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
of the deprecated test code.
The ``DocTestRunner`` and ``OutputChecker`` were formerly in
``django.test.testcases``, now they are in ``django.test.simple``. This avoids
triggering the ``django.test._doctest`` deprecation message with any import
from ``django.test``. Since these utility classes are undocumented internal
API, they can be moved without a separate deprecation process.
Also removed the deprecation warnings specific to these classes, as they are
now covered by the module-level warning in ``django.test.simple``.
Thanks Anssi for the report.
Refs #17365.
|
| |
| |
| |
| | |
Thanks Aymeric Augustin for reporting
|
| |
| |
| |
| |
| |
| | |
__isnull
Thanks Benjie Chen.
|
| |
| |
| |
| |
| |
| | |
django.test.SimpleTestCase.assertFormsetError
Thank-you Martin Green for the patch.
|
| |
| |
| |
| | |
timezones under Oracle
|
| |
| |
| |
| |
| |
| |
| | |
QuerySet.get_or_create
Thanks wilfred@, poirier, and charettes for work
on the patch.
|
| |
| |
| |
| |
| | |
Thanks simon@ for the suggestion and JordanPowell
for the initial patch.
|
| |
| |
| |
| | |
MySQL should work now, too.
|
| |
| |
| |
| |
| |
| | |
alignment on the admin.
Thanks master' for the report and Niels van Dijk for the fix
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The SubqueryConstraint defined relabeled_clone(), but that was never
called. Instead there is now clone() and relabel_aliases() methods for
SubqueryConstraint.
A related problem was that SubqueryConstraint didn't correctly use
quote_name_unless_alias() of the outer query. This resulted in failures
when running under PostgreSQL.
|
|\ \
| | |
| | | |
Fixed #20443 -- Import errors in settings cause confusing error messages
|
| | |
| | |
| | |
| | | |
confusing error messages
|
| | |
| | |
| | |
| | | |
conditional expressions.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SuspiciousOperation.
SuspiciousOperations have been differentiated into subclasses, and
are now logged to a 'django.security.*' logger. SuspiciousOperations
that reach django.core.handlers.base.BaseHandler will now return a 400
instead of a 500.
Thanks to tiwoc for the report, and Carl Meyer and Donald Stufft
for review.
|
| |
| |
| |
| |
| |
| | |
paginator's Page
Thanks Joshua Fialkoff for the report.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
without "for"
Thanks Denis Martinez for the report and initial patch, and
Sergey Kolosov for bringing the patch up to date.
|
| |
| |
| |
| | |
Updated core/admin/admindocs/comments translation catalogs.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Using two separate translation strings instead of gettext plural when
there is no reference to the number in the translated string. This
prevents some translations like Russian and Latvian to use the singular
form for 11 or 21.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
BrokenLinkEmailsMiddleware
Thanks Ram Rachum for the report and the initial patch, and Simon
Charette for the review.
|
| |
| |
| |
| | |
* LocaleMiddleware stores language into session if it is not present there.
|