Skip to content

Commit

Permalink
remove star imports
Browse files Browse the repository at this point in the history
fixes: #68

Signed-off-by: Jayati Shrivastava <gaurijove@gmail.com>
  • Loading branch information
victorphoenix3 committed Mar 26, 2022
1 parent b021cd7 commit 68e54a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions saskatoon/harvest/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,21 @@
from rest_framework.response import Response
from django.shortcuts import render, redirect

from harvest.filters import *
from rest_framework import viewsets, permissions
# from django.utils.decorators import method_decorator
from django.contrib.auth.decorators import login_required
from django.views.generic import TemplateView, CreateView, UpdateView
from django_filters import rest_framework as filters

from harvest.forms import *
from harvest.filters import ( HarvestFilter, PropertyFilter, CommunityFilter,
OrganizationFilter, EquipmentFilter )
from harvest.forms import ( RequestForm, CommentForm, RFPManageForm, PropertyForm,
PublicPropertyForm, HarvestForm, HarvestYieldForm, EquipmentForm )

from member.models import AuthUser, Organization, Actor, Person, City
from .models import Harvest, Property, Equipment, TreeType, RequestForParticipation
from .serializers import ( HarvestSerializer, PropertySerializer, EquipmentSerializer,
from harvest.models import ( Harvest, Property, HarvestYield, Comment, Equipment,
TreeType, RequestForParticipation)
from harvest.serializers import ( HarvestSerializer, PropertySerializer, EquipmentSerializer,
CommunitySerializer, BeneficiarySerializer, RequestForParticipationSerializer )
from rest_framework.permissions import IsAuthenticated
from django.contrib.auth.mixins import LoginRequiredMixin
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 68e54a6

Please sign in to comment.