Ver Fonte

Fixed #14397 -- Corrected some typos in the logging configuration example. Thanks to hunterford for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13988 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Russell Keith-Magee há 14 anos atrás
pai
commit
57aeb54279
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      docs/topics/logging.txt

+ 2 - 2
docs/topics/logging.txt

@@ -266,7 +266,7 @@ complex logging setup, configured using :meth:`logging.dictConfig`::
             },
             'mail_admins': {
                 'level': 'ERROR',
-                'class': 'django.utils.log.AdminEmailHandler'
+                'class': 'django.utils.log.AdminEmailHandler',
                 'filters': ['special']
             }
         },
@@ -282,7 +282,7 @@ complex logging setup, configured using :meth:`logging.dictConfig`::
                 'propagate': False,
             },
             'myproject.custom': {
-                'handlers: ['console', 'mail_admins'],
+                'handlers': ['console', 'mail_admins'],
                 'level': 'INFO',
                 'filters': ['special']
             }