mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-29 02:31:00 +00:00
remove unused imports
This commit is contained in:
parent
32200e5868
commit
0f4dc3b19f
3 changed files with 2 additions and 8 deletions
|
@ -40,7 +40,6 @@ from core.ld import (
|
||||||
from core.snowflake import Snowflake
|
from core.snowflake import Snowflake
|
||||||
from stator.exceptions import TryAgainLater
|
from stator.exceptions import TryAgainLater
|
||||||
from stator.models import State, StateField, StateGraph, StatorModel
|
from stator.models import State, StateField, StateGraph, StatorModel
|
||||||
from users.models import relay
|
|
||||||
from users.models.follow import FollowStates
|
from users.models.follow import FollowStates
|
||||||
from users.models.hashtag_follow import HashtagFollow
|
from users.models.hashtag_follow import HashtagFollow
|
||||||
from users.models.identity import Identity, IdentityStates
|
from users.models.identity import Identity, IdentityStates
|
||||||
|
|
|
@ -1,12 +1,8 @@
|
||||||
import logging
|
import logging
|
||||||
import re
|
import re
|
||||||
from typing import Optional
|
|
||||||
|
|
||||||
import httpx
|
from django.db import models
|
||||||
from django.db import models, transaction
|
|
||||||
|
|
||||||
from core.ld import canonicalise, get_str_or_id
|
|
||||||
from core.snowflake import Snowflake
|
|
||||||
from stator.models import State, StateField, StateGraph, StatorModel
|
from stator.models import State, StateField, StateGraph, StatorModel
|
||||||
from users.models.system_actor import SystemActor
|
from users.models.system_actor import SystemActor
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,9 @@
|
||||||
from django.db import models
|
|
||||||
from django.shortcuts import redirect
|
from django.shortcuts import redirect
|
||||||
from django.utils.decorators import method_decorator
|
from django.utils.decorators import method_decorator
|
||||||
from django.views.generic import ListView
|
from django.views.generic import ListView
|
||||||
|
|
||||||
from users.decorators import admin_required
|
from users.decorators import admin_required
|
||||||
from users.models import Identity, Relay
|
from users.models import Relay
|
||||||
|
|
||||||
|
|
||||||
@method_decorator(admin_required, name="dispatch")
|
@method_decorator(admin_required, name="dispatch")
|
||||||
|
|
Loading…
Reference in a new issue