Skip to content

Commit

Permalink
Backward compatibility for collections.abc.Mapping
Browse files Browse the repository at this point in the history
Per request of @chrisdev
  • Loading branch information
wkschwartz committed Apr 16, 2018
1 parent 19453d0 commit 932852d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion django_pandas/io.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from collections.abc import Mapping
try:
from collections.abc import Mapping
except ImportError:
Mapping = dict

import pandas as pd
from .utils import update_with_verbose, get_related_model
Expand Down

0 comments on commit 932852d

Please sign in to comment.