- 29 Ock, 2014 4 kayıt (commit)
-
-
Shai Berger yazdı
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.
-
Alex Gaynor yazdı
Fix typo CRSF -> CSRF
-
Ian Foote yazdı
-
Shai Berger yazdı
Fixed failing test schema.tests.SchemaTests.test_add_field_temp_default_boolean Refs #19884
-
- 28 Ock, 2014 5 kayıt (commit)
-
-
Anssi Kääriäinen yazdı
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
-
Anssi Kääriäinen yazdı
When moving code around from sql.where to lookups six.moves.xrange import was forgotten. The xrange import is needed on Python 3.
-
Andrew Godwin yazdı
-
Tim Graham yazdı
-
Loic Bistuer yazdı
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.
-
- 27 Ock, 2014 5 kayıt (commit)
-
-
Carl Meyer yazdı
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.
-
Aymeric Augustin yazdı
Fixed #21688. Refs https://github.com/django/django/pull/1147.
-
Aymeric Augustin yazdı
The translation.override context manager cleans up after itself. As a consequence this mixin isn't needed any more in many cases.
-
Aymeric Augustin yazdı
-
Andrew Godwin yazdı
-
- 26 Ock, 2014 15 kayıt (commit)
-
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Tim Graham yazdı
-
Simon Charette yazdı
It contained models, forms and admin objects causing undesirable import side effects. Refs #16368. Thanks to Ramiro, Carl and Loïc for the review.
-
Simon Charette yazdı
-
Wojciech Banaś yazdı
-
Aymeric Augustin yazdı
Thanks Wim for the report.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
Also added tests for get_model.
-
Aymeric Augustin yazdı
-
Aymeric Augustin yazdı
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.
-
Carl Meyer yazdı
Thanks Aymeric for the suggestion.
-
Carl Meyer yazdı
-
Carl Meyer yazdı
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.
-
- 25 Ock, 2014 10 kayıt (commit)
-
-
Aymeric Augustin yazdı
Thanks Sephi for the report.
-
Chris Jerdonek yazdı
Clarified that queries in autocommit mode are committed immediately only if a transaction has not already been started. Added to the main transaction docs that Django's TestCase class implicitly wraps its tests in transactions.
-
Tim Graham yazdı
Added ticket #14007 contributors to AUTHORS
-
Simon Charette yazdı
BooleanFields are stored as TINYINT(1) on MySQL.
-
Mark Sandstrom yazdı
-
Jannis Leidel yazdı
Fixed #21867 -- Removed AppStaticStorage; app paths are now AppConfig's job.
-
Aymeric Augustin yazdı
Thanks Russell for the report, Marc for the initial patch, Carl for the final review, and everyone who contributed to the design discussion.
-
Carl Meyer yazdı
Thanks Aymeric for design discussion.
-
Andrew Godwin yazdı
-
Andrew Godwin yazdı
-
- 24 Ock, 2014 1 kayıt (commit)
-
-
Carl Meyer yazdı
AppStaticStorage only provided one thing over FileSystemStorage, which was taking an app name (import path) and translating it into a filesystem path. This is now something that should be done via app_config.path instead, leaving AppStaticStorage with no reason for existence. It should be safe to remove, as it was undocumented internal API. There was some kind of feature in the AppDirectoriesFinder code related to a "prefix" attribute on the storage class used by AppDirectoriesFinder. Since this feature was undocumented, untested, and of unclear purpose, I removed it as well.
-