diff options
| author | Tim Graham <timograham@gmail.com> | 2017-01-21 20:02:00 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-21 20:02:00 -0500 |
| commit | d170c63351944fd91b2206d10f89e7ff75b53b76 (patch) | |
| tree | e2be66471ab071fa0ce75097d66650b650c53853 /django/apps | |
| parent | c22212220a7900173358a1f16179dcfc9e03de78 (diff) | |
| download | django-d170c63351944fd91b2206d10f89e7ff75b53b76.tar.gz | |
Refs #23919 -- Removed misc references to Python 2.
Diffstat (limited to 'django/apps')
| -rw-r--r-- | django/apps/config.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/django/apps/config.py b/django/apps/config.py index 78762dd612..1bc684b3ca 100644 --- a/django/apps/config.py +++ b/django/apps/config.py @@ -17,7 +17,7 @@ class AppConfig: self.name = app_name # Root module for the application eg. <module 'django.contrib.admin' - # from 'django/contrib/admin/__init__.pyc'>. + # from 'django/contrib/admin/__init__.py'>. self.module = app_module # Reference to the Apps registry that holds this AppConfig. Set by the @@ -37,13 +37,12 @@ class AppConfig: self.verbose_name = self.label.title() # Filesystem path to the application directory eg. - # u'/usr/lib/python2.7/dist-packages/django/contrib/admin'. Unicode on - # Python 2 and a str on Python 3. + # '/path/to/django/contrib/admin'. if not hasattr(self, 'path'): self.path = self._path_from_module(app_module) # Module containing models eg. <module 'django.contrib.admin.models' - # from 'django/contrib/admin/models.pyc'>. Set by import_models(). + # from 'django/contrib/admin/models.py'>. Set by import_models(). # None if the application doesn't have a models module. self.models_module = None |
