Skip to content

Commit

Permalink
Update EmptyResultSet import for django 3.1 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
stianjensen authored and auvipy committed Jun 3, 2020
1 parent e7cfec9 commit 8001a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_framework_extensions/key_constructor/bits.py
@@ -1,6 +1,6 @@
from django.utils.translation import get_language
from django.db.models.query import EmptyQuerySet
from django.db.models.sql.datastructures import EmptyResultSet
from django.core.exceptions import EmptyResultSet

from django.utils.encoding import force_str

Expand Down

1 comment on commit 8001a44

@huangchanghuai
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your reply

Please sign in to comment.