mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Refs #23919 -- Removed misc references to Python 2.
This commit is contained in:
@@ -206,12 +206,12 @@ Read-only attributes
|
||||
.. attribute:: AppConfig.module
|
||||
|
||||
Root module for the application, e.g. ``<module 'django.contrib.admin' from
|
||||
'django/contrib/admin/__init__.pyc'>``.
|
||||
'django/contrib/admin/__init__.py'>``.
|
||||
|
||||
.. attribute:: AppConfig.models_module
|
||||
|
||||
Module containing the models, e.g. ``<module 'django.contrib.admin.models'
|
||||
from 'django/contrib/admin/models.pyc'>``.
|
||||
from 'django/contrib/admin/models.py'>``.
|
||||
|
||||
It may be ``None`` if the application doesn't contain a ``models`` module.
|
||||
Note that the database related signals such as
|
||||
|
||||
Reference in New Issue
Block a user