From 4a1f09a0202c27fdaa7818cbbd3cc76b607783dd Mon Sep 17 00:00:00 2001 From: gowtham1729 Date: Wed, 13 Dec 2023 20:10:54 +0900 Subject: [PATCH] fix: lint --- applications/backend/django_server/news/filters.py | 3 ++- applications/backend/django_server/news/views.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/backend/django_server/news/filters.py b/applications/backend/django_server/news/filters.py index 1cd2e56..0fcef96 100644 --- a/applications/backend/django_server/news/filters.py +++ b/applications/backend/django_server/news/filters.py @@ -1,4 +1,5 @@ import django_filters + from .models import News @@ -7,4 +8,4 @@ class NewsFilter(django_filters.FilterSet): class Meta: model = News - fields = ["category", "symbol", "src", "need_attention", "date"] \ No newline at end of file + fields = ["category", "symbol", "src", "need_attention", "date"] diff --git a/applications/backend/django_server/news/views.py b/applications/backend/django_server/news/views.py index 2837620..de73824 100644 --- a/applications/backend/django_server/news/views.py +++ b/applications/backend/django_server/news/views.py @@ -1,5 +1,4 @@ from django.utils import timezone - from rest_framework import viewsets from .models import Analysis, News, Ticker