Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed #16734 -- Set script prefix even outside of requests | Claude Paroz | 2015-10-29 | 1 | -1/+7 |
| | | | | Thanks Tim Graham for the review. | ||||
* | Recommended against default_app_config. | Aymeric Augustin | 2015-09-22 | 1 | -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 Graham | 2015-09-11 | 1 | -3/+4 |
| | | | | search only the current app. | ||||
* | Fixed #25356 -- Removed default_app_config from startapp ↵ | Tim Graham | 2015-09-07 | 1 | -1/+3 |
| | | | | | | template. Also discouraged its use outside the intended use case. | ||||
* | Fixed typos and updated spelling wordlist. | Floris den Hengst | 2015-03-07 | 1 | -1/+1 |
| | |||||
* | Removed versionadded/changed notes for 1.7. | Tim Graham | 2015-02-02 | 1 | -2/+0 |
| | |||||
* | Fixed typo in docs/ref/applications.txt. | Peter Inglesby | 2014-12-06 | 1 | -1/+1 |
| | |||||
* | Checked more precisely whether the app registry is ready. | Aymeric Augustin | 2014-07-12 | 1 | -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 Paroz | 2014-06-23 | 1 | -3/+3 |
| | | | | | | translation setup Thanks Tim Graham and Aymeric Augustin for the review. | ||||
* | Fixed #22688 -- Documented ready() may be called more ↵ | Claude Paroz | 2014-05-24 | 1 | -0/+9 |
| | | | | than once | ||||
* | Documented django.setup(). | Aymeric Augustin | 2014-04-26 | 1 | -3/+64 |
| | | | | Thanks Eric Holscher and Tim Graham for the review. | ||||
* | Updated doc links to point to Python 3 documentation | Claude Paroz | 2014-04-26 | 1 | -7/+7 |
| | |||||
* | Fixed a confusing heading in applications docs. | Aymeric Augustin | 2014-04-25 | 1 | -5/+5 |
| | | | | Refs #22422. | ||||
* | Fixed #22422 -- Moved information about the application ↵ | Víðir Valberg Guðmundsson | 2014-04-25 | 1 | -0/+42 |
| | | | | loading process to refs/applications.txt. | ||||
* | Changed paths in docs that referred to Python 2. | Aymeric Augustin | 2014-04-20 | 1 | -1/+1 |
| | |||||
* | Fixed an example to match the code. | Aymeric Augustin | 2014-03-09 | 1 | -1/+1 |
| | |||||
* | Fixed spelling mistakes in docs. | Tim Graham | 2014-03-01 | 1 | -1/+1 |
| | |||||
* | Fixed #22028 -- Documented that database signals aren't ↵ | Tim Graham | 2014-02-28 | 1 | -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 Siciarz | 2014-02-15 | 1 | -0/+13 |
| | | | | | | in AppConfig.ready(). Thanks Marc Tamlyn for the suggestion. | ||||
* | Updated docs that misreported django.apps.apps.ready as ↵ | Simon Meers | 2014-02-14 | 1 | -2/+3 |
| | | | | being a method. | ||||
* | Added a note about a possible name clash. | Aymeric Augustin | 2014-02-02 | 1 | -0/+9 |
| | | | | Thanks Russell for the advice. | ||||
* | Fixed #21874 -- Require Django applications to have a ↵ | Carl Meyer | 2014-01-27 | 1 | -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 Augustin | 2014-01-26 | 1 | -2/+7 |
| | | | | Also added tests for get_model. | ||||
* | Docs correction: apps loaded from eggs do not have ↵ | Carl Meyer | 2014-01-26 | 1 | -2/+1 |
| | | | | appconfig.path None. | ||||
* | Fixed #17304 -- Allow single-path and configured-path ↵ | Carl Meyer | 2014-01-26 | 1 | -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 Augustin | 2014-01-25 | 1 | -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 Augustin | 2014-01-10 | 1 | -0/+7 |
| | | | | Refs #21719, #21680. | ||||
* | Fixed #21718 -- Renamed has_app to is_installed. | Aymeric Augustin | 2014-01-06 | 1 | -1/+1 |
| | |||||
* | Changed convention for modules storing AppConfigs. | Aymeric Augustin | 2014-01-02 | 1 | -4/+4 |
| | | | | The app/apps dichotomy was more confusing than valuable. | ||||
* | Renamed AppConfig.setup to ready. | Aymeric Augustin | 2013-12-31 | 1 | -3/+3 |
| | | | | | | Thanks Jannis and Marc for the feedback. Fixed #21717. | ||||
* | Made it possible to change an application's label in its ↵ | Aymeric Augustin | 2013-12-31 | 1 | -10/+19 |
| | | | | | | configuration. Fixed #21683. | ||||
* | Removed the only_with_models_module argument of ↵ | Aymeric Augustin | 2013-12-30 | 1 | -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 Augustin | 2013-12-30 | 1 | -0/+6 |
| | |||||
* | Added AppConfig.get_models(). | Aymeric Augustin | 2013-12-29 | 1 | -0/+4 |
| | |||||
* | Changed get_model to raise an exception on errors. | Aymeric Augustin | 2013-12-28 | 1 | -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 Augustin | 2013-12-28 | 1 | -0/+15 |
| | | | | Documented them as public APIs. | ||||
* | Made the AppConfig API marginally more consistent. | Aymeric Augustin | 2013-12-26 | 1 | -1/+1 |
| | | | | Eliminated the app_ prefix that was more confusing than useful. | ||||
* | Swapped app registry and app config API docs. | Aymeric Augustin | 2013-12-25 | 1 | -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 Augustin | 2013-12-24 | 1 | -2/+2 |
| | |||||
* | Documented the Apps and AppConfig APIs. | Aymeric Augustin | 2013-12-24 | 1 | -0/+191 |