Skip to content

Commit f80315c

Browse files
committed
move import
1 parent 0703a7b commit f80315c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

backend/grants/admin.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
from participants.models import Participant
3939
from django.urls import reverse
4040
from django.utils.safestring import mark_safe
41+
from visa.models import InvitationLetterRequest
4142

4243
logger = logging.getLogger(__name__)
4344

@@ -591,8 +592,6 @@ def has_invitation_letter_request_flag(self, obj: Grant) -> bool:
591592
return obj.has_invitation_letter_request
592593

593594
def get_queryset(self, request):
594-
from visa.models import InvitationLetterRequest
595-
596595
qs = (
597596
super()
598597
.get_queryset(request)

0 commit comments

Comments
 (0)