django1/django/contrib
Aymeric Augustin 8662654d6d Removed module-level functions for the app cache.
Since the original ones in django.db.models.loading were kept only for
backwards compatibility, there's no need to recreate them. However, many
internals of Django still relied on them.

They were also imported in django.db.models. They never appear in the
documentation, except a quick mention of get_models and get_app in the
1.2 release notes to document an edge case in GIS. I don't think that
makes them a public API.

This commit doesn't change the overall amount of global state but
clarifies that it's tied to the app_cache object instead of hiding it
behind half a dozen functions.
2013-12-17 10:17:44 +01:00
..
admin Removed module-level functions for the app cache. 2013-12-17 10:17:44 +01:00
admindocs Removed module-level functions for the app cache. 2013-12-17 10:17:44 +01:00
auth Removed module-level functions for the app cache. 2013-12-17 10:17:44 +01:00
comments Removed module-level functions for the app cache. 2013-12-17 10:17:44 +01:00
contenttypes Removed module-level functions for the app cache. 2013-12-17 10:17:44 +01:00
flatpages Fixed E127 pep8 warnings. 2013-12-14 11:59:15 -05:00
formtools Removed 'return' in __init__ 2013-12-05 07:09:36 -05:00
gis Removed module-level functions for the app cache. 2013-12-17 10:17:44 +01:00
humanize Renamed first argument of class method to cls 2013-12-07 20:13:53 -05:00
messages Fixed E127 pep8 warnings. 2013-12-14 11:59:15 -05:00
redirects Fixed #21388 -- Corrected language code for Frisian 2013-11-11 13:34:01 +01:00
sessions Fixed E127 pep8 warnings. 2013-12-14 11:59:15 -05:00
sitemaps Fixed E125 pep8 warnings 2013-11-28 08:50:11 -05:00
sites Moved import at proper place in contrib.sites 2013-11-16 11:13:04 +01:00
staticfiles Fixed #21543 -- Removed base_dir attribute in StaticFilesHandler. 2013-12-01 18:03:59 -05:00
syndication Fixed flake8 E251 violations 2013-11-03 03:22:11 -06:00
webdesign More attacking E302 violators 2013-11-02 13:12:09 -07:00
__init__.py Created django.contrib and moved comments into it 2005-07-14 18:20:03 +00:00