Просмотр исходного кода

#728: cleaned imports in misago.threads.models

Rafał Pitoń 8 лет назад
Родитель
Сommit
003dc6cf34
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      misago/threads/models/__init__.py

+ 1 - 2
misago/threads/models/__init__.py

@@ -1,8 +1,7 @@
-# flake8: noqa
 from .post import Post
 from .postedit import PostEdit
 from .postlike import PostLike
-from .thread import *
+from .thread import Thread
 from .threadparticipant import ThreadParticipant
 from .subscription import Subscription
 from .attachmenttype import AttachmentType