19 else "production", 20 "root": BASE_DIR, 21} 22import rollbar23 24rollbar.init(**ROLLBAR) 25
All module level imports should be at the top of the file. This means that there should be no statements in between module level imports.