summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2014-01-28Fixed #21849 -- Included the count of silenced system checks in output.Tim Graham
2014-01-28Fixed #21853 -- Fixed Manager.__module__ to properly return ↵Loic Bistuer
'django.db.models.manager'. The combination of BaseManager.from_queryset() and RenameMethodsBase results in Manager.__module__ having the wrong value. This can be an issue when trying to pickle the Manager class.
2014-01-27Fixed #21874 -- Require Django applications to have a filesystem path.Carl Meyer
Wherever possible this filesystem path is derived automatically from the app module's ``__path__`` and ``__file__`` attributes (this avoids any backwards-compatibility problems). AppConfig allows specifying an app's filesystem location explicitly, which overrides all autodetection based on ``__path__`` and ``__file__``. This permits Django to support any type of module as an app (namespace packages, fake modules, modules loaded by other hypothetical non-filesystem module loaders), as long as the app is configured with an explicit filesystem path. Thanks Aymeric for review and discussion.
2014-01-27Removed TransRealMixin.Aymeric Augustin
Fixed #21688. Refs https://github.com/django/django/pull/1147.
2014-01-27Removed superfluous uses of TransRealMixin.Aymeric Augustin
The translation.override context manager cleans up after itself. As a consequence this mixin isn't needed any more in many cases.
2014-01-27Minor cleanup.Aymeric Augustin
2014-01-27Fixed #21872: Not detecting dependencies from M2M fieldsAndrew Godwin
2014-01-26Added release note stubs for 1.5.6 and 1.4.11.Tim Graham
2014-01-26Added missing items to 1.6.2 release notes.Tim Graham
2014-01-26Fixed #21823 -- Upgraded six to 1.5.2Tim Graham
2014-01-26Fixed #19774 -- Deprecated the contenttypes.generic module.Simon Charette
It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
2014-01-26Fixed some missing/extraneous new line warnings.Simon Charette
2014-01-26Fixed #21866 -- Replaced "COMMIT" in managmement command SQL with backend hook.Wojciech Banaś
2014-01-26Fixed #21880 -- Added missing items to django.utils.timezone.__all__.Aymeric Augustin
Thanks Wim for the report.
2014-01-26Fixed #21877 -- Renamed django.apps.base to config.Aymeric Augustin
2014-01-26Took advantage of the new get_model API. Refs #21702.Aymeric Augustin
2014-01-26Fixed #21702 -- get_model('app_label.ModelName').Aymeric Augustin
Also added tests for get_model.
2014-01-26Fixed typo. Refs #21836.Aymeric Augustin
2014-01-26Moved RequestSite and get_current_site.Aymeric Augustin
Following the app-loading refactor, these objects must live outside of django.contrib.sites.models because they must be available without importing the django.contrib.sites.models module when django.contrib.sites isn't installed. Refs #21680. Thanks Carl and Loic for reporting this issue.
2014-01-25Moved sys.path-extending decorator to django.test.utils and used throughout ↵Carl Meyer
test suite. Thanks Aymeric for the suggestion.
2014-01-25Docs correction: apps loaded from eggs do not have appconfig.path None.Carl Meyer
2014-01-25Fixed #17304 -- Allow single-path and configured-path namespace packages as ↵Carl Meyer
apps. Also document the conditions under which a namespace package may or may not be a Django app, and raise a clearer error message in those cases where it may not be. Thanks Aymeric for review and consultation.