mirror of
https://github.com/django-components/django-components.git
synced 2025-07-16 04:54:59 +00:00
Sort imports to isort is happy.
This commit is contained in:
parent
9f9ff83273
commit
34098c375a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue