mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
dev: remove unused imports
This commit is contained in:
parent
4e88854d46
commit
4165111ce1
@ -1,7 +1,5 @@
|
|||||||
from rest_framework import serializers
|
from rest_framework import serializers
|
||||||
|
|
||||||
from plane.settings.storage import S3PrivateBucketStorage
|
|
||||||
|
|
||||||
|
|
||||||
class BaseSerializer(serializers.ModelSerializer):
|
class BaseSerializer(serializers.ModelSerializer):
|
||||||
id = serializers.PrimaryKeyRelatedField(read_only=True)
|
id = serializers.PrimaryKeyRelatedField(read_only=True)
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
# Python imports
|
# Python imports
|
||||||
import boto3
|
import boto3
|
||||||
import json
|
|
||||||
from botocore.exceptions import ClientError
|
from botocore.exceptions import ClientError
|
||||||
|
from django.conf import settings
|
||||||
|
|
||||||
# Django imports
|
# Django imports
|
||||||
from django.core.management import BaseCommand
|
from django.core.management import BaseCommand
|
||||||
from django.conf import settings
|
|
||||||
|
|
||||||
|
|
||||||
class Command(BaseCommand):
|
class Command(BaseCommand):
|
||||||
@ -21,9 +20,7 @@ class Command(BaseCommand):
|
|||||||
)
|
)
|
||||||
except ClientError as e:
|
except ClientError as e:
|
||||||
self.stdout.write(
|
self.stdout.write(
|
||||||
self.style.ERROR(
|
self.style.ERROR(f"Error removing public access policy: {e}")
|
||||||
f"Error removing public access policy: {e}"
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
# Generated by Django 4.2.7 on 2024-01-31 13:34
|
# Generated by Django 4.2.7 on 2024-01-31 13:34
|
||||||
import uuid
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
import django.db.models
|
import django.db.models
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
# Generated by Django 4.2.7 on 2024-02-02 07:23
|
# Generated by Django 4.2.7 on 2024-02-02 07:23
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
import django.db.models.deletion
|
|
||||||
|
|
||||||
# Third party imports
|
# Third party imports
|
||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
# Generated by Django 4.2.7 on 2024-02-05 06:42
|
# Generated by Django 4.2.7 on 2024-02-05 06:42
|
||||||
|
|
||||||
from django.db import migrations, models
|
from django.db import migrations
|
||||||
import django.db.models.deletion
|
|
||||||
|
|
||||||
|
|
||||||
def create_attachment_assets(apps, schema_editor):
|
def create_attachment_assets(apps, schema_editor):
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
from uuid import uuid4
|
from uuid import uuid4
|
||||||
|
|
||||||
# Django imports
|
# Django imports
|
||||||
from django.contrib.postgres.fields import ArrayField
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from django.db.models.signals import post_save
|
from django.db.models.signals import post_save
|
||||||
|
@ -22,7 +22,6 @@ from plane.db.models import (
|
|||||||
CycleIssue,
|
CycleIssue,
|
||||||
ModuleIssue,
|
ModuleIssue,
|
||||||
IssueLink,
|
IssueLink,
|
||||||
FileAsset,
|
|
||||||
IssueReaction,
|
IssueReaction,
|
||||||
CommentReaction,
|
CommentReaction,
|
||||||
IssueVote,
|
IssueVote,
|
||||||
|
Loading…
Reference in New Issue
Block a user