summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-08Remove check_migrations from the runserver command and use the new checks ↵mlavin
framework to check for unapplied migrations. Don't check for migrations if the DATABASES setting is empty.
2014-02-08Removed extra backquote in field docsClaude Paroz
2014-02-08Allowed more easily subclassing of BlockNode tags.Mitar
2014-02-08Fixed #21237 -- Added Australian English (en_AU) to locale confTom Fifield
Adds Australian English (en_AU) to locale conf, which differs from American English in date formatting and spelling, and continues to diverge from British English in spelling (and first-day-of-week according to the current en_GB locale format.py). The transifex language project to match this patch has been requested.
2014-02-08Added tests for LocalMemCache deadlocks. refs #20613 and refs #18541.Tim Graham
Thanks Zach Smith for the patch.
2014-02-08Fixed #21417 -- Expanded TEMPLATE_STRING_IF_INVALID in blocktransClaude Paroz
Thanks keturn for the reporti, Chris Medrela for details and Tim Graham for the review. Refs #19915.
2014-02-08Fixed #16192 -- Made unique error messages in ModelForm customizable.Loic Bistuer
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.
2014-02-07Fixed #21518 -- Made override_settings(ROOT_URLCONF) clear the resolver cache.Chris Wilson
Thanks Aymeric Augustin and Simon Charette for reviews.
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.