Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/docs/ref/applications.txt
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #16734 -- Set script prefix even outside of requestsClaude Paroz2015-10-291-1/+7
| | | | Thanks Tim Graham for the review.
* Recommended against default_app_config.Aymeric Augustin2015-09-221-0/+8
| | | | | | | | Most likely this is a losing fight -- people seem to love this small convention -- but at least the reasons for avoiding it will be documented. Refs #25356.
* Refs #25381 -- Clarified that AppConfig model methods ↵Tim Graham2015-09-111-3/+4
| | | | search only the current app.
* Fixed #25356 -- Removed default_app_config from startapp ↵Tim Graham2015-09-071-1/+3
| | | | | | template. Also discouraged its use outside the intended use case.
* Fixed typos and updated spelling wordlist.Floris den Hengst2015-03-071-1/+1
|
* Removed versionadded/changed notes for 1.7.Tim Graham2015-02-021-2/+0
|
* Fixed typo in docs/ref/applications.txt.Peter Inglesby2014-12-061-1/+1
|
* Checked more precisely whether the app registry is ready.Aymeric Augustin2014-07-121-4/+6
| | | | | Accounted for the three stages of population: app configs, models, ready() methods of app configs.
* Fixed #8033 -- Explained app registry error during ↵Claude Paroz2014-06-231-3/+3
| | | | | | translation setup Thanks Tim Graham and Aymeric Augustin for the review.
* Fixed #22688 -- Documented ready() may be called more ↵Claude Paroz2014-05-241-0/+9
| | | | than once
* Documented django.setup().Aymeric Augustin2014-04-261-3/+64
| | | | Thanks Eric Holscher and Tim Graham for the review.
* Updated doc links to point to Python 3 documentationClaude Paroz2014-04-261-7/+7
|
* Fixed a confusing heading in applications docs.Aymeric Augustin2014-04-251-5/+5
| | | | Refs #22422.
* Fixed #22422 -- Moved information about the application ↵Víðir Valberg Guðmundsson2014-04-251-0/+42
| | | | loading process to refs/applications.txt.
* Changed paths in docs that referred to Python 2.Aymeric Augustin2014-04-201-1/+1
|
* Fixed an example to match the code.Aymeric Augustin2014-03-091-1/+1
|
* Fixed spelling mistakes in docs.Tim Graham2014-03-011-1/+1
|
* Fixed #22028 -- Documented that database signals aren't ↵Tim Graham2014-02-281-0/+4
| | | | | | emitted for apps that laack a models module. Thanks un33k for the suggestion and donjpacheco for the draft patch.
* Fixed #22002 -- Documented avoiding database interaction ↵Zbigniew Siciarz2014-02-151-0/+13
| | | | | | in AppConfig.ready(). Thanks Marc Tamlyn for the suggestion.
* Updated docs that misreported django.apps.apps.ready as ↵Simon Meers2014-02-141-2/+3
| | | | being a method.
* Added a note about a possible name clash.Aymeric Augustin2014-02-021-0/+9
| | | | Thanks Russell for the advice.
* Fixed #21874 -- Require Django applications to have a ↵Carl Meyer2014-01-271-2/+0
| | | | | | | | | | | | | | | | filesystem path. 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.
* Fixed #21702 -- get_model('app_label.ModelName').Aymeric Augustin2014-01-261-2/+7
| | | | Also added tests for get_model.
* Docs correction: apps loaded from eggs do not have ↵Carl Meyer2014-01-261-2/+1
| | | | appconfig.path None.
* Fixed #17304 -- Allow single-path and configured-path ↵Carl Meyer2014-01-261-3/+35
| | | | | | | | | | namespace packages as 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.
* Fixed #21829 -- Added default AppConfigs.Aymeric Augustin2014-01-251-7/+28
| | | | | Thanks Russell for the report, Marc for the initial patch, Carl for the final review, and everyone who contributed to the design discussion.
* Deprecated importing a model before loading its application.Aymeric Augustin2014-01-101-0/+7
| | | | Refs #21719, #21680.
* Fixed #21718 -- Renamed has_app to is_installed.Aymeric Augustin2014-01-061-1/+1
|
* Changed convention for modules storing AppConfigs.Aymeric Augustin2014-01-021-4/+4
| | | | The app/apps dichotomy was more confusing than valuable.
* Renamed AppConfig.setup to ready.Aymeric Augustin2013-12-311-3/+3
| | | | | | Thanks Jannis and Marc for the feedback. Fixed #21717.
* Made it possible to change an application's label in its ↵Aymeric Augustin2013-12-311-10/+19
| | | | | | configuration. Fixed #21683.
* Removed the only_with_models_module argument of ↵Aymeric Augustin2013-12-301-8/+2
| | | | | | | | | get_model[s]. Now that the refactorings are complete, it isn't particularly useful any more, nor very well named. Let's keep the API as simple as possible. Fixed #21689.
* Added AppConfig.setup() to run setup code.Aymeric Augustin2013-12-301-0/+6
|
* Added AppConfig.get_models().Aymeric Augustin2013-12-291-0/+4
|
* Changed get_model to raise an exception on errors.Aymeric Augustin2013-12-281-2/+2
| | | | | | | | | | | | Returning None on errors required unpythonic error checking and was inconsistent with get_app_config. get_model was a private API until the previous commit, but given that it was certainly used in third party software, the change is explained in the release notes. Applied the same change to get_registered_model, which is a new private API introduced during the recent refactoring.
* Simplified Apps.get_model and added AppConfig.get_model.Aymeric Augustin2013-12-281-0/+15
| | | | Documented them as public APIs.
* Made the AppConfig API marginally more consistent.Aymeric Augustin2013-12-261-1/+1
| | | | Eliminated the app_ prefix that was more confusing than useful.
* Swapped app registry and app config API docs.Aymeric Augustin2013-12-251-44/+44
| | | | | | Thanks David Larlet for the suggestion. Also fixed some Sphinx warnings and improved ReST markup.
* Added release notes for app loading changes.Aymeric Augustin2013-12-241-2/+2
|
* Documented the Apps and AppConfig APIs.Aymeric Augustin2013-12-241-0/+191