Sort imports to isort is happy.

This commit is contained in:
Emil Stenström 2020-11-02 15:08:26 +01:00
parent 9f9ff83273
commit 34098c375a
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ except ImportError:
try: try:
from django.template.base import TokenType from django.template.base import TokenType
except ImportError: except ImportError:
from django.template.base import TOKEN_TEXT, TOKEN_VAR, TOKEN_BLOCK from django.template.base import TOKEN_BLOCK, TOKEN_TEXT, TOKEN_VAR
class TokenType: class TokenType:
TEXT = TOKEN_TEXT TEXT = TOKEN_TEXT

View file

@ -10,7 +10,7 @@ from django_components.component import registry
try: try:
from django.template.base import TokenType from django.template.base import TokenType
except ImportError: except ImportError:
from django.template.base import TOKEN_TEXT, TOKEN_VAR, TOKEN_BLOCK from django.template.base import TOKEN_BLOCK, TOKEN_TEXT, TOKEN_VAR
class TokenType: class TokenType:
TEXT = TOKEN_TEXT TEXT = TOKEN_TEXT