f9698c4391
The purpose of this construct is to test if the django.contrib.sites application is installed. But in Django 1.9 it will be forbidden to import the Site model when the django.contrib.sites application isn't installed. No model besides Site used this pattern. Refs #21719, #21923. |
||
---|---|---|
.. | ||
locale | ||
__init__.py | ||
admin.py | ||
apps.py | ||
checks.py | ||
fields.py | ||
forms.py | ||
generic.py | ||
management.py | ||
models.py | ||
tests.py | ||
views.py |