summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-12Add further workarounds for HTMLParser with Python 3.4.Marc Tamlyn
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.
2014-01-12Fixed #21770 -- Updated autocomplete for app-loading.Aymeric Augustin
Thanks dfunckt for the report.
2014-01-12Fixed #21477 -- Renamed db to using in pre/post_migrate signals.Aymeric Augustin
2014-01-12Used a regular lock for app registry population.Aymeric Augustin
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.
2014-01-12Fixed a test that was failing with PostGIS.Aymeric Augustin
Fixed #21452 again. Forward-port of 18d75e07 from stable/1.6.x.
2014-01-12Restored a test broken by overzealous PEP8 cleanupAymeric Augustin
2014-01-12Fixed #21453 -- Enabled autocommit before calling init_connection_state.Aymeric Augustin
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.
2014-01-12Fixed flake8 issues.Simon Charette
2014-01-12Merge pull request #2163 from apollo13/signalsFlorian Apolloner
Signals
2014-01-12Added license info for the weakref backportsFlorian Apolloner
2014-01-12Fixed #21452 -- Non-autocommit connections to PostgreSQL.Aymeric Augustin
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.
2014-01-12Fixed a test isolation issue. Refs #17062.Aymeric Augustin
This test could change settings.DATABASES['default']['TIME_ZONE'] and didn't restore the previous value.
2014-01-12Fixed #21413 -- resolve_columns fields misalignmentAnssi Kääriäinen
2014-01-12Fixed #21756 -- Skipped two timezone-related tests on Windows.Aymeric Augustin
Windows cannot use a time zone other than the default time zone. Thanks manfre for the report.
2014-01-11Fixed #21547 -- Updated GeoDjango tutorial with PostGIS 2 outputClaude Paroz
Thanks awilliams at cironline.org for the report.
2014-01-11Fixed #8898 -- Obsoleted SplitDateTimeWidget usage with DateTimeFieldClaude Paroz
Thanks Tim Graham for the review.
2014-01-11Fixed #21750 -- Fixed regression introduced by 4befb30.Loic Bistuer
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.
2014-01-11Fixed #21752 -- Prevented custom widget step attribute to be overwrittenClaude Paroz
Thanks orcein at gmail.com for the report.
2014-01-10Removed a man page for a command that was removedAlex Gaynor
2014-01-10Deprecated importing a model before loading its application.Aymeric Augustin
Refs #21719, #21680.
2014-01-10Fixed docstring typo in django/forms/forms.py.Marc Sibson
2014-01-10Fixed typo in docstrings of MonthArchiveViews.Michael Blatherwick
2014-01-10Fixed #21513 -- Added method_decorator support for argumented decoratordpwrussell
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.
2014-01-09Fixed #12571 -- Attached originating WSGIRequest to test client responses.Unai Zalakain
Originating WSGIRequests are now attached to the ``wsgi_request`` attribute of the ``HttpResponse`` returned by the testing client. Thanks rvdrijst for the suggestion.
2014-01-09Fixed removal of signal receivers in Python 3.4Florian Apolloner
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.
2014-01-08Make test stronger to hopefully fix odd Jenkins failureAndrew Godwin
2014-01-08Merge pull request #2151 from manfre/ticket-21746Anssi Kääriäinen
Fixed #21746 - Fixed test_get_reverse_on_unsaved_object test.
2014-01-08Fixed #21746 - Fixed test_get_reverse_on_unsaved_object test.Michael Manfre
Test will no longer attempt to insert multiple NULL rows in to a unique field if the database doesn't support it.
2014-01-08Merge pull request #2150 from manfre/ticket-21745Anssi Kääriäinen
Fixed #21745 - Feature check UniqueTest.test_unique_null
2014-01-08Fixed #21745 - Feature check UniqueTest.test_unique_nullMichael Manfre
2014-01-08Fix wording of auth superuser post-migrate handlerAndrew Godwin
2014-01-08Fixed #21142: Dependency failures on unmigrated apps.Andrew Godwin
2014-01-08Changed parent class calls to super in Field subclassesmaurycyp
2014-01-06Avoided catching ImproperlyConfigured on django.setup().Aymeric Augustin
Fixed #21737. Thanks Florian for the report. Also removed redundant imports in that file.
2014-01-06Fixed #21718 -- Renamed has_app to is_installed.Aymeric Augustin
2014-01-05Added catalogs for apps that didn't have any translations.Aymeric Augustin
2014-01-05Fixed #21675 -- Added app configs for contrib apps.Aymeric Augustin
2014-01-05Added an app-loading feature to the release notes.Aymeric Augustin
2014-01-05Fixed #21711 -- Enforced unicity of model names.Aymeric Augustin
2014-01-05Renamed a couple models to prevent duplicate names.Aymeric Augustin
2014-01-05Fixed app registry cleanup in app-loading tests.Aymeric Augustin
2014-01-05Fixed test for models in non-installed apps.Aymeric Augustin
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.
2014-01-05Removed useless model definitions.Aymeric Augustin
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.
2014-01-04Fixed `python scripts/manage_translations.py update_catalogs`.Aymeric Augustin
It used to generate languages 'e' and 'n'.
2014-01-04Fixed #21730 -- Removed superfluous db_index in custom auth docsClaude Paroz
Thanks rafalp for the report.
2014-01-03Fixed a sentence in the session security docs; thanks claudep.Tim Graham
2014-01-03Fixed #21728 -- Corrected an inadvertent path change in ↵Tianyi Wang
docs/intro/contributing.txt.
2014-01-03Suppressed ResourceWarning in files testsClaude Paroz
2014-01-03Added build to flake8.exclude.Florian Apolloner
2014-01-03Fixed selenium failure.Florian Apolloner
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).