mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed #24774 -- Made contrib.site's Site.domain field unique
This commit is contained in:
parent
4c2197db32
commit
70e3e2e08e
6 changed files with 36 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue