mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Added AppConfig.get_models().
This commit is contained in:
parent
98b52ae201
commit
7b88a96553
6 changed files with 40 additions and 12 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue