Added AppConfig.get_models().

This commit is contained in:
Aymeric Augustin 2013-12-29 20:26:13 +01:00
parent 98b52ae201
commit 7b88a96553
6 changed files with 40 additions and 12 deletions

View file

@ -156,6 +156,10 @@ Read-only attributes
Methods
-------
.. method:: AppConfig.get_models()
Returns an iterable of :class:`~django.db.models.Model` classes.
.. method:: AppConfig.get_model(model_name)
Returns the :class:`~django.db.models.Model` with the given