Commit 1915d3c7a46cff045e4f767ab785e7f1834b91d3
1 parent
3f97f29f08
Exists in
master
import an exception before we try to catch it
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
flashcards/views.py
View file @
1915d3c
... | ... | @@ -6,7 +6,7 @@ |
6 | 6 | from flashcards.api import StandardResultsSetPagination, IsEnrolledInAssociatedSection, IsFlashcardReviewer, \ |
7 | 7 | IsAuthenticatedAndConfirmed |
8 | 8 | from flashcards.models import Section, User, Flashcard, FlashcardHide, UserFlashcard, UserFlashcardQuiz, \ |
9 | - FlashcardAlreadyPulledException | |
9 | + FlashcardAlreadyPulledException, FlashcardNotInDeckException | |
10 | 10 | from flashcards.notifications import notify_new_card |
11 | 11 | from flashcards.serializers import SectionSerializer, UserUpdateSerializer, RegistrationSerializer, UserSerializer, \ |
12 | 12 | PasswordResetSerializer, PasswordResetRequestSerializer, EmailPasswordSerializer, FlashcardSerializer, \ |