mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #21718 -- Renamed has_app to is_installed.
This commit is contained in:
parent
b57c48d012
commit
6a320cc14a
10 changed files with 15 additions and 15 deletions
|
@ -203,7 +203,7 @@ Application registry
|
|||
given ``app_label``. Raises :exc:`~exceptions.LookupError` if no such
|
||||
application exists.
|
||||
|
||||
.. method:: apps.has_app(app_name)
|
||||
.. method:: apps.is_installed(app_name)
|
||||
|
||||
Checks whether an application with the given name exists in the registry.
|
||||
``app_name`` is the full name of the app, e.g. 'django.contrib.admin'.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue