remove unused imports

This commit is contained in:
Henri Dickson 2024-01-02 18:21:29 -05:00
parent 32200e5868
commit 0f4dc3b19f
3 changed files with 2 additions and 8 deletions

View file

@ -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

View file

@ -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

View file

@ -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")