mirror of https://github.com/encode/starlette.git
typo in configuration docs (#789)
This commit is contained in:
parent
7bcb07786a
commit
5c43dde0ec
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue