From 70e3e2e08ee1d07343d48b1db9df838db3efb0e2 Mon Sep 17 00:00:00 2001 From: Piotr Jakimiak Date: Thu, 14 May 2015 19:59:36 +0200 Subject: Fixed #24774 -- Made contrib.site's Site.domain field unique --- docs/ref/contrib/sites.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/ref') 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. -- cgit v1.3