From 27afd302c687528ff1dc3156961e409862c6eca2 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 4 Jan 2014 22:49:35 +0100 Subject: [PATCH] Fixed #21675 -- Added app configs for contrib apps. --- django/contrib/admin/apps.py | 8 ++++++++ django/contrib/admindocs/apps.py | 8 ++++++++ django/contrib/auth/apps.py | 8 ++++++++ django/contrib/comments/apps.py | 8 ++++++++ django/contrib/contenttypes/apps.py | 8 ++++++++ django/contrib/flatpages/apps.py | 8 ++++++++ django/contrib/formtools/apps.py | 8 ++++++++ django/contrib/gis/apps.py | 8 ++++++++ django/contrib/humanize/apps.py | 8 ++++++++ django/contrib/messages/apps.py | 8 ++++++++ django/contrib/redirects/apps.py | 8 ++++++++ django/contrib/sessions/apps.py | 8 ++++++++ django/contrib/sitemaps/apps.py | 8 ++++++++ django/contrib/sites/apps.py | 8 ++++++++ django/contrib/staticfiles/apps.py | 8 ++++++++ django/contrib/syndication/apps.py | 8 ++++++++ django/contrib/webdesign/apps.py | 8 ++++++++ 17 files changed, 136 insertions(+) create mode 100644 django/contrib/admin/apps.py create mode 100644 django/contrib/admindocs/apps.py create mode 100644 django/contrib/auth/apps.py create mode 100644 django/contrib/comments/apps.py create mode 100644 django/contrib/contenttypes/apps.py create mode 100644 django/contrib/flatpages/apps.py create mode 100644 django/contrib/formtools/apps.py create mode 100644 django/contrib/gis/apps.py create mode 100644 django/contrib/humanize/apps.py create mode 100644 django/contrib/messages/apps.py create mode 100644 django/contrib/redirects/apps.py create mode 100644 django/contrib/sessions/apps.py create mode 100644 django/contrib/sitemaps/apps.py create mode 100644 django/contrib/sites/apps.py create mode 100644 django/contrib/staticfiles/apps.py create mode 100644 django/contrib/syndication/apps.py create mode 100644 django/contrib/webdesign/apps.py diff --git a/django/contrib/admin/apps.py b/django/contrib/admin/apps.py new file mode 100644 index 0000000000..980ff0c369 --- /dev/null +++ b/django/contrib/admin/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class AdminConfig(AppConfig): + name = 'django.contrib.admin' + verbose_name = _("administration") diff --git a/django/contrib/admindocs/apps.py b/django/contrib/admindocs/apps.py new file mode 100644 index 0000000000..ddc23051f4 --- /dev/null +++ b/django/contrib/admindocs/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class AdminDocsConfig(AppConfig): + name = 'django.contrib.admindocs' + verbose_name = _("administrative documentation") diff --git a/django/contrib/auth/apps.py b/django/contrib/auth/apps.py new file mode 100644 index 0000000000..e44ad1a0c7 --- /dev/null +++ b/django/contrib/auth/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class AuthConfig(AppConfig): + name = 'django.contrib.auth' + verbose_name = _("authentication and authorization") diff --git a/django/contrib/comments/apps.py b/django/contrib/comments/apps.py new file mode 100644 index 0000000000..d6164dd697 --- /dev/null +++ b/django/contrib/comments/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class CommentsConfig(AppConfig): + name = 'django.contrib.comments' + verbose_name = _("comments") diff --git a/django/contrib/contenttypes/apps.py b/django/contrib/contenttypes/apps.py new file mode 100644 index 0000000000..0e55e8d66d --- /dev/null +++ b/django/contrib/contenttypes/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class ContentTypesConfig(AppConfig): + name = 'django.contrib.contenttypes' + verbose_name = _("content types") diff --git a/django/contrib/flatpages/apps.py b/django/contrib/flatpages/apps.py new file mode 100644 index 0000000000..67be36ebc5 --- /dev/null +++ b/django/contrib/flatpages/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class FlatPagesConfig(AppConfig): + name = 'django.contrib.flatpages' + verbose_name = _("flat pages") diff --git a/django/contrib/formtools/apps.py b/django/contrib/formtools/apps.py new file mode 100644 index 0000000000..335b685bad --- /dev/null +++ b/django/contrib/formtools/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class FormToolsConfig(AppConfig): + name = 'django.contrib.formtools' + verbose_name = _("form tools") diff --git a/django/contrib/gis/apps.py b/django/contrib/gis/apps.py new file mode 100644 index 0000000000..225efb8bb5 --- /dev/null +++ b/django/contrib/gis/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class GISConfig(AppConfig): + name = 'django.contrib.gis' + verbose_name = _("GIS") diff --git a/django/contrib/humanize/apps.py b/django/contrib/humanize/apps.py new file mode 100644 index 0000000000..e52a5aa044 --- /dev/null +++ b/django/contrib/humanize/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class HumanizeConfig(AppConfig): + name = 'django.contrib.humanize' + verbose_name = _("humanize") diff --git a/django/contrib/messages/apps.py b/django/contrib/messages/apps.py new file mode 100644 index 0000000000..f8b07e9cb6 --- /dev/null +++ b/django/contrib/messages/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class MessagesConfig(AppConfig): + name = 'django.contrib.messages' + verbose_name = _("messages") diff --git a/django/contrib/redirects/apps.py b/django/contrib/redirects/apps.py new file mode 100644 index 0000000000..b4f8c168d8 --- /dev/null +++ b/django/contrib/redirects/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class RedirectsConfig(AppConfig): + name = 'django.contrib.redirects' + verbose_name = _("redirects") diff --git a/django/contrib/sessions/apps.py b/django/contrib/sessions/apps.py new file mode 100644 index 0000000000..8b5093e7c9 --- /dev/null +++ b/django/contrib/sessions/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class SessionsConfig(AppConfig): + name = 'django.contrib.sessions' + verbose_name = _("sessions") diff --git a/django/contrib/sitemaps/apps.py b/django/contrib/sitemaps/apps.py new file mode 100644 index 0000000000..8237f0f188 --- /dev/null +++ b/django/contrib/sitemaps/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class SiteMapsConfig(AppConfig): + name = 'django.contrib.sitemaps' + verbose_name = _("site maps") diff --git a/django/contrib/sites/apps.py b/django/contrib/sites/apps.py new file mode 100644 index 0000000000..ea81102da0 --- /dev/null +++ b/django/contrib/sites/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class SitesConfig(AppConfig): + name = 'django.contrib.sites' + verbose_name = _("sites") diff --git a/django/contrib/staticfiles/apps.py b/django/contrib/staticfiles/apps.py new file mode 100644 index 0000000000..abb99c3cea --- /dev/null +++ b/django/contrib/staticfiles/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class StaticFilesConfig(AppConfig): + name = 'django.contrib.staticfiles' + verbose_name = _("static files") diff --git a/django/contrib/syndication/apps.py b/django/contrib/syndication/apps.py new file mode 100644 index 0000000000..a63adb3e1b --- /dev/null +++ b/django/contrib/syndication/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class SyndicationConfig(AppConfig): + name = 'django.contrib.syndication' + verbose_name = _("syndication") diff --git a/django/contrib/webdesign/apps.py b/django/contrib/webdesign/apps.py new file mode 100644 index 0000000000..87047edaf0 --- /dev/null +++ b/django/contrib/webdesign/apps.py @@ -0,0 +1,8 @@ +from django.apps import AppConfig + +from django.utils.translation import ugettext_lazy as _ + + +class WebDesignConfig(AppConfig): + name = 'django.contrib.webdesign' + verbose_name = _("web design")