Fixed #21675 -- Added app configs for contrib apps.
This commit is contained in:
parent
021b0b0029
commit
27afd302c6
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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")
|
|
@ -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