Skip to content

Commit

Permalink
remove unused imports from harvest.api
Browse files Browse the repository at this point in the history
Signed-off-by: Jayati Shrivastava <gaurijove@gmail.com>
  • Loading branch information
victorphoenix3 committed Mar 29, 2022
1 parent f6a2a8c commit 359bbdd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
17 changes: 12 additions & 5 deletions saskatoon/harvest/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,20 @@
from django.urls import reverse, reverse_lazy
from rest_framework import viewsets
from rest_framework.response import Response

from rest_framework import viewsets
# from django.utils.decorators import method_decorator
from django_filters import rest_framework as filters
from .filters import ( HarvestFilter, PropertyFilter, EquipmentFilter,
OrganizationFilter, CommunityFilter)
from .forms import ( RequestForm, RFPManageForm, CommentForm, HarvestYieldForm )

from harvest.filters import ( HarvestFilter, PropertyFilter, CommunityFilter,
OrganizationFilter, EquipmentFilter )
from harvest.forms import ( RequestForm, CommentForm, RFPManageForm,
HarvestYieldForm )

from member.models import AuthUser, Organization
from .models import Equipment, Harvest, HarvestYield, Property, RequestForParticipation, Comment
from .serializers import ( HarvestSerializer, PropertySerializer, EquipmentSerializer,
from harvest.models import ( Harvest, Property, HarvestYield, Comment,
Equipment, RequestForParticipation)
from harvest.serializers import ( HarvestSerializer, PropertySerializer, EquipmentSerializer,
CommunitySerializer, BeneficiarySerializer, RequestForParticipationSerializer )
from .utils import get_similar_properties

Expand Down
2 changes: 1 addition & 1 deletion saskatoon/harvest/serializers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from rest_framework import serializers
from .models import Harvest, Property, Equipment, EquipmentType, RequestForParticipation
from harvest.models import Harvest, Property, Equipment, EquipmentType, RequestForParticipation
from member.models import Actor, Neighborhood, AuthUser, Person, Organization, City, State, Country
from django.core.serializers import serialize
import json
Expand Down

0 comments on commit 359bbdd

Please sign in to comment.