summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-26Added 1.6.2 release note for 542198c1dClaude Paroz
2013-12-25Merge pull request #2114 from levigross/masterAlex Gaynor
Removed redundant line
2013-12-25Removed redundant lineLevi Gross
2013-12-25Swapped app registry and app config API docs.Aymeric Augustin
Thanks David Larlet for the suggestion. Also fixed some Sphinx warnings and improved ReST markup.
2013-12-25Merge pull request #2105 from funkybob/cleanup_get_postAymeric Augustin
Used @cached_property for request.GET and COOKIES
2013-12-25Unified listing of shell commands/codeYaroslav Halchenko
- use code-block:: bash - prefix the command with $
2013-12-25Fixed unittest typoLevi Gross
2013-12-25Added versionadded annotations for redirect middleware attributes.Tim Graham
refs #19321
2013-12-25Fixed #21663 -- Added missing WSGIPythonPath in mod_wsgi config.Tim Graham
Thanks carrie.hazelton at altamiracorp.com for the report.
2013-12-25Fixed #21669 -- Typo in docs/ref/forms/fields.txt.Tim Graham
Thanks alex_koval for the report.
2013-12-24Copy-edited previous commit.Aymeric Augustin
Thanks Tim for the review.
2013-12-24Added release notes for app loading changes.Aymeric Augustin
2013-12-24Added a missing import and removed an unneeded importAlex Gaynor
2013-12-24Merge pull request #2108 from jgastal/masterAlex Gaynor
Typo fix for exception message.
2013-12-24Typo fix for exception message.Jonas Gastal
2013-12-24Updated a few doc paragraphs following the app-loading refactor.Aymeric Augustin
2013-12-24Documented the Apps and AppConfig APIs.Aymeric Augustin
2013-12-24Added more spatial predicates for prepared geometriesClaude Paroz
GEOS 3.3 added crosses, disjoint, overlaps, touches and within predicates on prepared geometries.
2013-12-24Dropped support for GEOS < 3.1Claude Paroz
2013-12-24Fixed #21662 -- Kept parent reference in prepared geometryClaude Paroz
Thanks Robert Scott for the report.
2013-12-24Renamed AppCache to Apps.Aymeric Augustin
Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
2013-12-24Use cached_property for request.GET and request.COOKIESCurtis
2013-12-24Invalidated get_models cache in a few more places.Aymeric Augustin
2013-12-24Replaced ad-hoc caching of get_models with lru_cache.Aymeric Augustin
Invalidate properly the cache whenever all_models or app_configs change. This fixes some isolation issues in the test suite.
2013-12-24Fixed override_settings when set_available_apps raises an exception.Aymeric Augustin
Previously, this would corrupt the settings, because __exit__ isn't called when __enter__raises an exception.
2013-12-23Renamed two tests so they actually run.Aymeric Augustin
2013-12-23Avoided loading repeatedly the same models module.Aymeric Augustin
2013-12-23Imported override_settings from its new location.Aymeric Augustin
2013-12-23Dropped AppCache._empty, _with_app and _without_app.Aymeric Augustin
It's now easier to achieve the same effect with modify_settings or override_settings.
2013-12-23Added modify_settings to alter settings containing lists of values.Aymeric Augustin
2013-12-23Refactored INSTALLED_APPS overrides.Aymeric Augustin
* Introduced [un]set_installed_apps to handle changes to the INSTALLED_APPS setting. * Refactored [un]set_available_apps to share its implementation with [un]set_installed_apps. * Implemented a receiver to clear some app-related caches. * Removed test_missing_app as it is basically impossible to reproduce this situation with public methods of the new app cache.
2013-12-23Used a more translator-friendly format in admin sites.pyClaude Paroz
2013-12-22Fixed #21651 -- Remove recapitalize.Marc Tamlyn
It was not used inside Django, is not tested or documented. Consequently remove without deprecation path. Thanks to @vajrasky for bringing it to our attention.
2013-12-22Fixed a flaky test.Aymeric Augustin
2013-12-22Made apps available for loading traslations in a test.Aymeric Augustin
2013-12-22Moved a test that didn't require Selenium.Aymeric Augustin
2013-12-22Syntax error.Aymeric Augustin
2013-12-22Renamed has_model to get_registered_models.Aymeric Augustin
That matches its return type better.
2013-12-22Changed has_app to return a boolean.Aymeric Augustin
That matches its name ad its purpose better.
2013-12-22Used application verbose names in the admin.Aymeric Augustin
2013-12-22Made AppConfig importable from django.apps.Aymeric Augustin
It is a public API.
2013-12-22Moved apps back in the toplevel django namespace.Aymeric Augustin
Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
2013-12-22Added the ability to supply custom app configs.Aymeric Augustin
2013-12-22Complained on override_settings(INSTALLED_APPS=...).Aymeric Augustin
Currently such overrides aren't reflected in the app cache. It would be possible to handle them. But that doesn't look like a very good API. It makes it complicated to express "add this app" and "remove this app", which are the most common operations on INSTALLED_APPS.
2013-12-22Improved set_available_apps() in several ways.Aymeric Augustin
- Tested consistency the current app_configs instead of INSTALLED_APPS. - Considered applications added with _with_app as available. - Added docstrings.
2013-12-22Expurged INSTALLED_APPS from code and tests.Aymeric Augustin
Except the app cache code and a few specific tests, of course.
2013-12-22Stop testing for inclusion in INSTALLED_APPS.Aymeric Augustin
Removed some exception masking in the comments app that was harmful and couldn't be preserved easily.
2013-12-22Renamed registered_model to has_model.Aymeric Augustin
This avoids possible confusion with register_model. Thanks Marc Tamlyn for the suggestion.
2013-12-22Stopped iterating on INSTALLED_APPS.Aymeric Augustin
Used the app cache's get_app_configs() method instead.
2013-12-22Not all Python modules have a __path__.Aymeric Augustin