Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions appmap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@
# not using flask
pass

try:
from . import django
except ImportError:
# not using django
pass
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems ok to me, python isn't as fragile re import order as ruby can be.


def enabled():
return Env.current.enabled