mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Made it possible to change an application's label in its configuration.
Fixed #21683.
This commit is contained in:
parent
5dfec4e23b
commit
c40209dcc0
8 changed files with 83 additions and 31 deletions
|
@ -23,3 +23,8 @@ class NotAConfig(object):
|
|||
|
||||
class NoSuchApp(AppConfig):
|
||||
name = 'there is no such app'
|
||||
|
||||
|
||||
class RelabeledAppsConfig(AppConfig):
|
||||
name = 'apps'
|
||||
label = 'relabeled'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue