summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-31Renamed AppConfig.setup to ready.Aymeric Augustin
Thanks Jannis and Marc for the feedback. Fixed #21717.
2013-12-31Enforced unicity of app labels.Aymeric Augustin
Fixed #21679.
2013-12-31Made it possible to change an application's label in its configuration.Aymeric Augustin
Fixed #21683.
2013-12-31Checked unicity of app config names when populating the app registry.Aymeric Augustin
This check will miss duplicates until the check for duplicate labels is added. Refs #21679.
2013-12-31Removed an obsolete unicity check.Aymeric Augustin
It doesn't account for app configs. Refs #21679.
2013-12-31Fixed #21716 -- Only passed arguments supported by ogrinspectClaude Paroz
Thanks Marco Badan for the report.
2013-12-31Small style cleanup.Aymeric Augustin
2013-12-31Fixed #19395 -- Added a simple example logging config.Tim Graham
Thanks ken.nelson at maclaren.com.
2013-12-31Fleshed out release notes for app loading.Aymeric Augustin
Fixed #21715.
2013-12-31Turned django.db.models.app_cache_ready back into a method.Aymeric Augustin
Thanks Anssi for noticing this mistake in a refactoring.
2013-12-31Fixed #21701 -- Improved testing doc titles and added testing/tools.txt.Tim Graham
Thanks cjerdonek for the suggestion.
2013-12-31Oops.Aymeric Augustin
2013-12-31Made DeprecationDisplayTest more robustClaude Paroz
2013-12-31Called django.setup() explicitly in management commands.Aymeric Augustin
This avoids duplicating code.
2013-12-31Changed setup.py to use find_packages.Florian Apolloner
2013-12-31Finished renaming syndication to syndication_testsClaude Paroz
2013-12-31only attempt to create the postgis extension when it does not already existThomas Schreiber
2013-12-31Renamed syndication testsClaude Paroz
To resolve the conflict between application names.
2013-12-31Added release notes for today's app-loading improvements.Aymeric Augustin
2013-12-30Removed the only_with_models_module argument of get_model[s].Aymeric Augustin
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.
2013-12-30Fixed a broken link in docs/intro/tutorial01.txt.Tim Graham
2013-12-30Merge pull request #2126 from apollo13/email_bytesFlorian Apolloner
Many thanks to @bitdancer and @aaugustin for answering my stupid questions about (mail)encodings and pointing me in the right direction.
2013-12-30Fixed #21708 -- Added some headings to separate unrelated topics.Tim Graham
Thanks ashley at ashleymills.com for the suggestion.
2013-12-30Decode mails using the message encoding.Florian Apolloner
2013-12-30Changed console and filebackend to use msg.as_bytes to output the data as it ↵Florian Apolloner
would get send via smtp.
2013-12-30Fixed #21710 -- Documented User.get_short_name()Tim Graham
Thanks Keryn Knight for the report.
2013-12-30Merged Apps.populate_apps() and populate_models().Aymeric Augustin
After the recent series of refactorings, there's no reason to keep two distinct methods. Refs #21681.
2013-12-30Removed postponing in Apps.populate_models.Aymeric Augustin
To the best of my understanding, since populate_models() is now called as soon as Django starts, it cannot be called while a models module is being imported, and that removes the need for postponing. (If hell breaks loose we'll revert this commit.) Refs #21681.
2013-12-30Stopped populating the app registry as a side effect.Aymeric Augustin
Since it triggers imports, it shouldn't be done lightly. This commit adds a public API for doing it explicitly, django.setup(), and does it automatically when using manage.py and wsgi.py.
2013-12-30Populated Apps instances immediately by default.Aymeric Augustin
2013-12-30Updated advice on connecting signals at startup.Aymeric Augustin
2013-12-30Added AppConfig.setup() to run setup code.Aymeric Augustin
2013-12-30Populated the app registry earlier at startup.Aymeric Augustin
Refs #1796, #21676.
2013-12-30Avoided leaking state on exceptions in populate_models().Aymeric Augustin
2013-12-30Pointed intersphinx links to Python's default version.Aymeric Augustin
Currently it's 3.3.
2013-12-30Assumed Python 3 throughout docs/intro.Aymeric Augustin
Various small fixes while I was proof-reading.
2013-12-29Converted links to HTTPS and linked to stable docs.Aymeric Augustin
2013-12-29Stopped calling get_models() for a side effect.Aymeric Augustin
2013-12-29Deprecated the app argument of apps.get_models.Aymeric Augustin
Use app_config.get_models() instead.
2013-12-29Changed get_validation_errors to use an app config.Aymeric Augustin
2013-12-29Changed get_migratable_models to use an app config.Aymeric Augustin
2013-12-29Changed sql_* to use an app config instead of a models module.Aymeric Augustin
2013-12-29Used Apps.clear_cache() in tests that alter the app registry.Aymeric Augustin
2013-12-29Fixed stupid error in 21f22f95.Aymeric Augustin
2013-12-29Removed unused import.Aymeric Augustin
2013-12-29Removed obsolete docstring.Aymeric Augustin
2013-12-29Added Apps.clear_cache().Aymeric Augustin
This avoid leaking implementation details to tests that swap models.
2013-12-29Fixed a typo.Aymeric Augustin
Thanks Simon.
2013-12-29Added AppConfig.get_models().Aymeric Augustin
2013-12-29Cleared global templatetags module cache.Florian Apolloner
TOOOOO MUCH GLOBAL STATE (you didn't see that).