Skip to content

Instantly share code, notes, and snippets.

@Diggsey
Last active May 16, 2017 14:26
Show Gist options
  • Save Diggsey/0a07b11db874d7748511b7bc15d8fdec to your computer and use it in GitHub Desktop.
Save Diggsey/0a07b11db874d7748511b7bc15d8fdec to your computer and use it in GitHub Desktop.
# models/a.py
from models.b import B
class A(B):
pass
# models/b.py
from models import a
class B:
pass
# models/c.py
from models.b import B
class C(B):
pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment