typo in configuration docs (#789)

This commit is contained in:
Vlad Dmitrievich 2020-01-09 17:11:28 +02:00 committed by Tom Christie
parent 7bcb07786a
commit 5c43dde0ec
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ type is useful.
CommaSeparatedStrings(['127.0.0.1', 'localhost'])
>>> print(list(settings.ALLOWED_HOSTS))
['127.0.0.1', 'localhost']
>>> print(len(settings.ALLOWED_HOSTS[0]))
>>> print(len(settings.ALLOWED_HOSTS))
2
>>> print(settings.ALLOWED_HOSTS[0])
'127.0.0.1'