diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/sites.txt | 5 | ||||
| -rw-r--r-- | docs/releases/1.9.txt | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/contrib/sites.txt b/docs/ref/contrib/sites.txt index 8c71ca0572..4928c92119 100644 --- a/docs/ref/contrib/sites.txt +++ b/docs/ref/contrib/sites.txt @@ -23,6 +23,11 @@ The sites framework is mainly based on a simple model: The domain name associated with the Web site. + .. versionchanged:: 1.9 + + The ``domain`` field was set to be + :attr:`~django.db.models.Field.unique`. + .. attribute:: name A human-readable "verbose" name for the Web site. diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index 473e64f95d..c2ceb5f5db 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -447,6 +447,9 @@ Miscellaneous * Support for PostGIS 1.5 has been dropped. +* The ``django.contrib.sites.models.Site.domain`` field was changed to be + :attr:`~django.db.models.Field.unique`. + .. _deprecated-features-1.9: Features deprecated in 1.9 |
