Skip to content

Commit

Permalink
fixup -- use DRF flavor of PermissionDenied
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtylerwalls committed Oct 11, 2022
1 parent b73e7b9 commit 61615c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/django/api/views/reference_image.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from django.core.exceptions import PermissionDenied

from rest_framework import generics
from rest_framework.exceptions import PermissionDenied
from rest_framework.permissions import IsAuthenticated

from ..models import Boundary, ReferenceImage, User, Utility
Expand Down

0 comments on commit 61615c9

Please sign in to comment.