0
0
mirror of https://github.com/django/django.git synced 2024-11-21 19:09:18 +01:00

Fixed #23790 -- Warned about renaming AppConfig.label in docs/ref/applications.txt.

This commit is contained in:
Andrew Miller 2024-06-28 15:10:50 +01:00 committed by nessita
parent 289f48c71b
commit aa74c4083e
2 changed files with 9 additions and 0 deletions

View File

@ -87,6 +87,7 @@ answer newbie questions, and generally made Django that much better:
Andrew Clark <amclark7@gmail.com>
Andrew Durdin <adurdin@gmail.com>
Andrew Godwin <andrew@aeracode.org>
Andrew Miller <info+django@akmiller.co.uk>
Andrew Pinkham <http://AndrewsForge.com>
Andrews Medina <andrewsmedina@gmail.com>
Andrew Northall <andrew@northall.me.uk>

View File

@ -186,6 +186,14 @@ Configurable attributes
It must be unique across a Django project.
.. warning::
Changing this attribute after migrations have been applied for an
application will result in breaking changes to a project or, in the
case of a reusable app, any existing installs of that app. This is
because ``AppConfig.label`` is used in database tables and migration
files when referencing an app in the dependencies list.
.. attribute:: AppConfig.verbose_name
Human-readable name for the application, e.g. "Administration".