| Age | Commit message (Collapse) | Author |
|
|
|
This makes testing certain features easier.
Thanks to AeroNotix for the original patch.
|
|
Fixed #22030 -- Don't assume that all fields have a swappable_setting at...
|
|
With this pull request, request #878 should considered closed.
Thanks to nvie for the patch.
|
|
That method was introduced in 9db4271bd11ac23a5a5652bbcdf8fb6d4b997651.
Refs #21765.
|
|
|
|
d97bf2e9c8971764690caaf81a0914bc368d6b02.
Refs #21765.
Thanks to kezabelle for the quick report and to onjin
for providing the patch.
|
|
Thanks to nedbatchelder for the report.
|
|
Commit 79558c78 cleaned up the (undocumented) interface of Resolver404
exception, which breaks compatibility with code messing with .args[0]
directly. Revert the cleanup part and simply leave the fix itself.
|
|
Thanks to mondone for fruitful colaboration.
|
|
Thanks brycenesbitt for the report.
|
|
|
|
When django.core.urlresolvers.resolve was called from a view, failed
and the exception was propagated and rendered by technical_404_response,
the URL mentioned on the page was the current URL instead of the URL
passed to resolve().
Fixed by using the path attribute from the Resolver404 exception instead
of request.path_info. Also cleaned up the exceptions to use standard
named parameters instead of stuffing a dict in args[0]
|
|
Thanks tunixman for the report and Baptiste Mispelon and
Shai Berger for reviews.
|
|
Flatten a level of sublists before checking for duplicate fields.
When given sublists such as:
```python
class FooAdmin(admin.ModelAdmin):
fields = ('one', ('one', 'two'))
```
The previous code did not correctly detect the duplicated 'one' field.
Thanks to jwa for the report.
|
|
Now AddField actions appear in operations list before AlterUniqueTogether
actions.
Thanks to SmileyChris for the report.
|
|
admin_order_field.
Thanks Klemens Mantzos for the report and initial patch.
|
|
encoded responses.
Thanks leahculver for the suggestion and Erik Romijn,
Simon Charette, and Marc Tamlyn for the reviews.
|
|
This fixes redirecting to relative URLs with django.shortcuts.redirect.
|
|
|
|
Thanks esevece for the suggestion and Nick Sandford and Martin Warne
for the inital work on the patch.
|
|
7e941ba67ceab8a74ba50509d13ed4298f8305cd.
|
|
|
|
Before 4befb30 the detection was broken because we used isinstance
against a LazyObject rather than against a Storage class. That commit
fixed it by looking directly at the object wrapped by LazyObject.
This could however be a problem to anyone who subclasses the
collectstatic management Command and directly supplies a Storage class.
Refs #21581.
|
|
When invoked as follows:
$ python manage.py dumpdata blogapp blogapp.Tag
Django would throw a TypeError. This commit fixes the problem and provides
a test.
|
|
ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now
be a callable that returns either a ``Q`` object or a dict.
Thanks michael at actrix.gen.nz for the original suggestion.
|
|
Thanks Anssi Kääriäinen for the suggestion.
|
|
Thanks Keryn Knight for the report.
|
|
|
|
|
|
Attempting to add() and remove() an object related by a 'through' model
now raises more descriptive AttributeErrors, in line with set and
create().
|
|
Hopefully fixes a test failure on Jenkins.
|
|
Report and original patch from jrief.
|
|
Thanks to John Giannelos for the initial patch.
|
|
relative paths.
Added searched_locations in finders module. Added verbosity flag level 2 on 'findstatic'
command that will output the directories on which it searched the relative paths.
Reported by ccurvey. Initial patch by Jonas Svensson and Vajrasky Kok.
|
|
in Windows NT 6.
Original patch by Vajrasky Kok. Reviewed by Florian Apolloner, Aymeric Augustin.
|
|
|
|
Thanks lagovas.lagovas at gmail.com for the report.
|
|
When a method decorator was used in conjunction with a decorator
implemented as a descriptor, method_decorator did not correctly respect
the method binding.
Thanks for Graham Dumpleton for the report and initial patch.
|
|
|
|
|
|
|
|
Fixed #21856: Allow Empty DATABASES Setting
|
|
Used available_attrs in method_decorator
|
|
Thanks rmoe for the report and the patch.
|
|
import_string().
Thanks Aymeric Augustin for the suggestion and review.
|
|
|
|
Thanks Zach Smith for the patch.
|
|
Thanks keturn for the reporti, Chris Medrela for details and
Tim Graham for the review.
Refs #19915.
|
|
Overriding the error messages now works for both unique fields, unique_together
and unique_for_date.
This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS
since previously only fields' errors were customizable.
Refs #20199.
Thanks leahculver for the suggestion.
|