Ticket #19875: 19875.diff
File 19875.diff, 542 bytes (added by , 11 years ago) |
---|
-
docs/topics/settings.txt
diff --git a/docs/topics/settings.txt b/docs/topics/settings.txt index fa26297..70943a2 100644
a b Here are a couple of example settings:: 17 17 DEFAULT_FROM_EMAIL = 'webmaster@example.com' 18 18 TEMPLATE_DIRS = ('/home/templates/mike', '/home/templates/john') 19 19 20 .. note:: 21 If you set DEBUG to False, you should set the setting ALLOWED_HOSTS too. 22 20 23 Because a settings file is a Python module, the following apply: 21 24 22 25 * It doesn't allow for Python syntax errors.