mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Fixed #21675 -- Added app configs for contrib apps.
This commit is contained in:
parent
021b0b0029
commit
27afd302c6
8
django/contrib/admin/apps.py
Normal file
8
django/contrib/admin/apps.py
Normal file
@ -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")
|
8
django/contrib/admindocs/apps.py
Normal file
8
django/contrib/admindocs/apps.py
Normal file
@ -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")
|
8
django/contrib/auth/apps.py
Normal file
8
django/contrib/auth/apps.py
Normal file
@ -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")
|
8
django/contrib/comments/apps.py
Normal file
8
django/contrib/comments/apps.py
Normal file
@ -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")
|
8
django/contrib/contenttypes/apps.py
Normal file
8
django/contrib/contenttypes/apps.py
Normal file
@ -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")
|
8
django/contrib/flatpages/apps.py
Normal file
8
django/contrib/flatpages/apps.py
Normal file
@ -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")
|
8
django/contrib/formtools/apps.py
Normal file
8
django/contrib/formtools/apps.py
Normal file
@ -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")
|
8
django/contrib/gis/apps.py
Normal file
8
django/contrib/gis/apps.py
Normal file
@ -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")
|
8
django/contrib/humanize/apps.py
Normal file
8
django/contrib/humanize/apps.py
Normal file
@ -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")
|
8
django/contrib/messages/apps.py
Normal file
8
django/contrib/messages/apps.py
Normal file
@ -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")
|
8
django/contrib/redirects/apps.py
Normal file
8
django/contrib/redirects/apps.py
Normal file
@ -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")
|
8
django/contrib/sessions/apps.py
Normal file
8
django/contrib/sessions/apps.py
Normal file
@ -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")
|
8
django/contrib/sitemaps/apps.py
Normal file
8
django/contrib/sitemaps/apps.py
Normal file
@ -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")
|
8
django/contrib/sites/apps.py
Normal file
8
django/contrib/sites/apps.py
Normal file
@ -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")
|
8
django/contrib/staticfiles/apps.py
Normal file
8
django/contrib/staticfiles/apps.py
Normal file
@ -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")
|
8
django/contrib/syndication/apps.py
Normal file
8
django/contrib/syndication/apps.py
Normal file
@ -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")
|
8
django/contrib/webdesign/apps.py
Normal file
8
django/contrib/webdesign/apps.py
Normal file
@ -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")
|
Loading…
Reference in New Issue
Block a user