Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...


Warning
titleWelcome!

DEPRECATED AND MOVED TO EDUCATOR PROJECT :: /wiki/spaces/EDUCATOR/pages/251528559 ::

Logging

  • Formatting of messages in log should be done using '%s' instead of str.format() for example 
    log.exception(
    'Request sending to Software Secure failed for user %s, setting status to must_retry',
    self.user
    )

Import Statements Ordering

...

This link provides the recommendations for breaking down code lines. If you have long lines, try to refactor it. 

http://edx.readthedocs.io/projects/edx-developer-guide/en/latest/style_guides/python_guidelines.html#breaking-long-lines

...