twoscoops / two-scoops-of-django-1.6

Tracking thoughts and feature requests for Two Scoops of Django 1.6
51 stars 7 forks source link

Page 301 Example 24.1 #89

Closed bosswissam closed 9 years ago

bosswissam commented 9 years ago

For loggers, the variable exc_info should be set to a non-False value according to Python 2.7. However, in the example, it was set to what would be an undefined variable. Later in example 24.4 we see a correct usage. The difference between the two examples could be slightly confusing, not to mention the code in example 24.1 wouldn't just work.

pydanny commented 9 years ago

:ship: