Fixed #21718 -- Renamed has_app to is_installed.

This commit is contained in:
Aymeric Augustin 2014-01-06 22:48:41 +01:00
parent b57c48d012
commit 6a320cc14a
10 changed files with 15 additions and 15 deletions

View file

@ -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'.