- 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 7 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.
-
Arne Brodowski yazdı
-
Arne Brodowski yazdı
During the admin check for list_editable _check_list_editable_item should return an empty list if all checks pass. Additionally the Testcase test_readonly_and_editable was changed to test what the name implies instead of duplicating the logic of test_readonly.
-
Tim Graham yazdı
Thanks tragiclifestories for the report.
-
James Turley yazdı
-
Andrew Godwin yazdı
-
Anssi Kääriäinen yazdı
-
- 23 Ock, 2014 3 kayıt (commit)
-
-
Marc Tamlyn yazdı
Maths is hard.
-
Marc Tamlyn yazdı
We fork at beta. This branch will be recreated when the first beta is created. It has been merged in to maintain the version number bump and tag.
-
Tim Graham yazdı
We should branch after the first beta.
-