summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-06Bumped version number for 1.7a21.7a2Jacob Kaplan-Moss
2014-02-06Updated 1.6.2 release notes for release (and linkified tickets).Jacob Kaplan-Moss
2014-02-06Fixed #17713 -- Renamed BaseDatabaseFeatures.allows_primary_key_0 to ↵Vajrasky Kok
allows_auto_pk_0. MySQL does allow primary key with value 0. It only forbids autoincrement primary key with value 0. Thanks Claude Paroz for the report.
2014-02-06Fixed #17005 -- Added CurrentSiteMiddleware to set the current site on each ↵Christopher Medrela
request. Thanks jordan at aace.org for the suggestion.
2014-02-06Fixed #21731 -- Made javascript_quote escapes '</'.Vajrasky Kok
2014-02-05Added missing items to 1.6.2 release notes.Tim Graham
2014-02-05Extended the release notes for chainable Manager/QuerySet methods.Loic Bistuer
Refs #20625.
2014-02-05Removed import which is now unusedAlex Gaynor
2014-02-05Added previous commit to 1.6.2 release notes.Baptiste Mispelon
2014-02-05Revert "Fixed #20296 -- Allowed SafeData and EscapeData to be lazy"Baptiste Mispelon
This reverts commit 2ee447fb5f8974b432d3dd421af9a242215aea44. That commit introduced a regression (#21882) and didn't really do what it was supposed to: while it did delay the evaluation of lazy objects passed to mark_safe(), they weren't actually marked as such so they could end up being escaped twice. Refs #21882.
2014-02-05Fixed ImportError when running contrib.gis tests without libgeos installed.Baptiste Mispelon
2014-02-05Fixed gendered examples in the docs.Loic Bistuer
2014-02-05Simplified signal code.Florian Apolloner
Refs #21952
2014-02-05Fixed #21952 -- signals deadlock due to locking + weakref interactionAnssi Kääriäinen
2014-02-05Fix pep8 violation in migration template.Marc Tamlyn
2014-02-04Removed two imports which are now unusedAlex Gaynor
2014-02-04Fixed #21929 - Fixed test regression on Windows.Carl Meyer
Thanks Michael Manfre for the report.
2014-02-04Removed the this_is_the_login_form hackClaude Paroz
Refs #21911. Now that we have a more traditional login form, we don't need any more a special field telling us we are dealing with the login form.
2014-02-04Fixed #21911 -- Made admin views redirect to login when neededClaude Paroz
Historically, the Django admin used to pass through the request from an unauthorized access to the login view directly. Now we are using a proper redirection, which is also preventing inadvertantly changing data when POSTing login data to an admin view when user is already authorized. Thanks Marc Tamlyn and Tim Graham for the reviews.
2014-02-04Made staff_member_required redirect to loginClaude Paroz
Refs #21911.
2014-02-04Fixed #21748 -- join promotion for negated AND conditionsAnssi Kääriäinen
Made sure Django treats case .filter(NOT (a AND b)) the same way as .filter((NOT a OR NOT b)) for join promotion.
2014-02-04Made some PEP8 fixes in docs/ref/forms/widgets.txtTim Graham
Thanks Siecje.
2014-02-03Moved a GoogleMap testClaude Paroz
2014-02-03Fixed #21934 -- Added unicode support in GoogleMap classDavid Fischer
2014-02-03Reordered deprecation timeline and added back old info; refs #21920.Tim Graham
2014-02-02Fixed typo in 3ffeb931.Aymeric Augustin
2014-02-02Make mysql's CursorWrapper a contextmanager.Michael Manfre
2014-02-02Merge pull request #2230 from manfre/patch-2Alex Gaynor
Fix regress added to migrations.test_operations.test_alter_field_pk_fk
2014-02-02Fix regress added to migrations.test_operations.test_alter_field_pk_fkMichael Manfre
2014-02-02Removed an unused import which snuck in.Alex Gaynor
2014-02-02Used the proxied call to staticfiles_storage.urlThomas Grainger
2014-02-02Fixed #21930 -- Only import add_srs_entry if GDAL is installedClaude Paroz
Fixed regression introduced by fabc678f93. Thanks Michael Manfre for the report.
2014-02-02Merge pull request #2154 from manfre/close-cursorsAymeric Augustin
Fixed #21751 -- Explicitly closed cursors.
2014-02-02Ensure cursors are closed when no longer needed.Michael Manfre
This commit touchs various parts of the code base and test framework. Any found usage of opening a cursor for the sake of initializing a connection has been replaced with 'ensure_connection()'.
2014-02-02Made SQLCompiler.execute_sql(result_type) more explicit.Michael Manfre
Updated SQLUpdateCompiler.execute_sql to match the behavior described in the docstring; the 'first non-empty query' will now include all queries, not just the main and first related update. Added CURSOR and NO_RESULTS result_type constants to make the usages more self documenting and allow execute_sql to explicitly close the cursor when it is no longer needed.
2014-02-02Added a note about a possible name clash.Aymeric Augustin
Thanks Russell for the advice.
2014-02-02Fixed typo.Aymeric Augustin
2014-02-01Avoided importing models from django.contrib.admin.Aymeric Augustin
Fixed #21923. Refs #21719.
2014-02-01Suppressed the `if Site._meta.installed` pattern.Aymeric Augustin
The purpose of this construct is to test if the django.contrib.sites application is installed. But in Django 1.9 it will be forbidden to import the Site model when the django.contrib.sites application isn't installed. No model besides Site used this pattern. Refs #21719, #21923.
2014-02-01Silenced a spurious warning.Aymeric Augustin
Thanks Timo for the report. Regression from 2f65b8e1. Refs #21794.
2014-01-31Updated some tests to use the check framework and silenced a ↵Tim Graham
PendingDeprecationWarning.
2014-01-30Fixed #21907 -- Fixed add_srs_entry for Spatialite >= 4Claude Paroz
Thanks dfunckt for the report.
2014-01-30Added new srs test and various cleaningClaude Paroz
2014-01-30Made Oracle introspect FloatFields correctlyShai Berger
Broke InspectDBTestCase.test_field_types in two: - a test_number_field_types, which now passes on Oracle too - a test_field_types, for all non-numeric fields, which is still expected to fail Also made some pep8 fixes in the tests file. Refs #19884 Thanks Tim Graham for review.
2014-01-29Merge pull request #2224 from Ian-Foote/patch-1Alex Gaynor
Fix typo CRSF -> CSRF
2014-01-29Fix typo CRSF -> CSRFIan Foote
2014-01-29Made Oracle introspect boolean fieldsShai Berger
Fixed failing test schema.tests.SchemaTests.test_add_field_temp_default_boolean Refs #19884
2014-01-28Added tests for m2m queries with custom pk on the end modelsAnssi Kääriäinen
It seems this case was fixed somewhere between 1.5.x and 1.6.x. I added tests as I wasn't able to find any tests for these cases. Refs #21879
2014-01-28Fixed #21883 -- Added six.moves.xrange importAnssi Kääriäinen
When moving code around from sql.where to lookups six.moves.xrange import was forgotten. The xrange import is needed on Python 3.
2014-01-28Add an extra warning about custom save methods in migrations docs.Andrew Godwin