| Age | Commit message (Collapse) | Author |
|
Python 3.5 will change the default value of convert_charrefs, so 3.4
gives warnings if it's not present. This is slightly technical as 2.7
doesn't have the kwarg. Thankfully, we already have a bunch of
workarounds for different versions.
|
|
Thanks dfunckt for the report.
|
|
|
|
Since the app registry is always populated before the first request is
processed, the situation described in #18251 for the old app cache
cannot happen any more.
Refs #18251, #21628.
|
|
Fixed #21452 again.
Forward-port of 18d75e07 from stable/1.6.x.
|
|
|
|
Also ensured the transaction state is clean on Oracle while I was there.
This change cannot be backported to 1.6 because it's
backwards-incompatible for custom database backends.
|
|
|
|
Signals
|
|
|
|
When settings.DATABASES['default']['AUTOCOMMIT'] = False, the connection
wasn't in autocommit mode but Django pretended it was.
Thanks Anssi for analysing this issue.
Refs #17062.
|
|
This test could change settings.DATABASES['default']['TIME_ZONE'] and
didn't restore the previous value.
|
|
|
|
Windows cannot use a time zone other than the default time zone.
Thanks manfre for the report.
|
|
Thanks awilliams at cironline.org for the report.
|
|
Thanks Tim Graham for the review.
|
|
Validating STATIC_ROOT in StaticFilesStorage.__init__ turned out to be
problematic - especially with tests - because the storage refuses to work even
if there are no actual interactions with the file system, which is backward
incompatible.
Originally the validation happened in the StaticFilesStorage.path method, but
that didn't work as expected because the call to FileSystemStorage.__init__
replaced the empty value by a valid path. The new approach is to move back the
check to the StaticFilesStorage.path method, but ensure that the location
attribute remains None after the call to super.
Refs #21581.
|
|
Thanks orcein at gmail.com for the report.
|
|
|
|
Refs #21719, #21680.
|
|
|
|
|
|
Copied attributes into the decorated method and special case __name__
copy as this will not be present on a Class object. Added regression
test to decorator suite.
|
|
Originating WSGIRequests are now attached to the ``wsgi_request`` attribute of
the ``HttpResponse`` returned by the testing client.
Thanks rvdrijst for the suggestion.
|
|
Make use of `weakref.finalize` and `weakref.WeakMethod` on python 3.4.
Simplified the removal of receivers, the old function looked overly
complicated.
Many thanks go to Antoine Pitrou for helping me to debug and explain all
the failures I ran into while writing that patch.
|
|
|
|
Fixed #21746 - Fixed test_get_reverse_on_unsaved_object test.
|
|
Test will no longer attempt to insert multiple NULL rows in to a unique
field if the database doesn't support it.
|
|
Fixed #21745 - Feature check UniqueTest.test_unique_null
|
|
|
|
|
|
|
|
|
|
Fixed #21737. Thanks Florian for the report.
Also removed redundant imports in that file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Models are now attached to any application they're defined in. Since
not_installed was inside app_loading, these models were mistakenly
attached to app_loading. The test that used them passed accidentally
when run after EggLoadingTest because that class' tearDown() method
replaces apps.all_models['app_loading'] by a copy of itself, while
it should remain the same as apps.app_configs['app_loading'].models.
|
|
Surprisingly, this commit doesn't change any behavior at all. When a
model is defined with the same name as another model in the same app,
the definition of the first class is bound to the name of the class
regardless of the definition of the second class.
|
|
It used to generate languages 'e' and 'n'.
|
|
Thanks rafalp for the report.
|
|
|
|
docs/intro/contributing.txt.
|
|
|
|
|
|
This fixes (at least according to tests on the ci itself)
admin_widgets.tests.RelatedFieldWidgetSeleniumFirefoxTests.test_foreign_key_using_to_field
(http://ci.djangoproject.com/job/Django/database=mysql_gis,python=python2.7/3792/testReport/junit/admin_widgets.tests/RelatedFieldWidgetSeleniumFirefoxTests/test_foreign_key_using_to_field/)
The cause for this issue seems to be that wait_page_loaded was executed before click fired
and as such no profile got saved (again just an educated guess, but with this fix I can no
longer reproduce it -- fingers crossed).
|