Ticket #19875: 19875.diff

File 19875.diff, 542 bytes (added by Fang Jun, 5 years ago)

Made a patch for docs/topics/settings.txt

  • 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:: 
    1717    DEFAULT_FROM_EMAIL = 'webmaster@example.com'
    1818    TEMPLATE_DIRS = ('/home/templates/mike', '/home/templates/john')
     20.. note::
     21    If you set DEBUG to False, you should set the setting ALLOWED_HOSTS too.
    2023Because a settings file is a Python module, the following apply:
    2225* It doesn't allow for Python syntax errors.
Back to Top