summaryrefslogtreecommitdiff
path: root/tests/apps/apps.py
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2013-12-31 16:23:42 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2013-12-31 17:30:58 +0100
commitc40209dcc09f19524fb85251f39a4051491bbec0 (patch)
treef7788f18e608acf0befab73b3391fea4c21a7066 /tests/apps/apps.py
parent5dfec4e23b4a3b81f8ec19bf0cf45147ad6b18e5 (diff)
downloaddjango-c40209dcc09f19524fb85251f39a4051491bbec0.tar.gz
Made it possible to change an application's label in its configuration.
Fixed #21683.
Diffstat (limited to 'tests/apps/apps.py')
-rw-r--r--tests/apps/apps.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/apps/apps.py b/tests/apps/apps.py
index 22c8f3062f..c9d761deb0 100644
--- a/tests/apps/apps.py
+++ b/tests/apps/apps.py
@@ -23,3 +23,8 @@ class NotAConfig(object):
class NoSuchApp(AppConfig):
name = 'there is no such app'
+
+
+class RelabeledAppsConfig(AppConfig):
+ name = 'apps'
+ label = 'relabeled'