Extreme nitpick: Use the new pep8 recommendation (not rule) to write the arguments on its own line. So:

```
log.warning(
    'SESSION_COOKIE_SECURE is currently set to True, which '
    ...
)
```

That way you can change the variable to `logger` without pushing it even more to the right.