Skip to content

Commit 340da54

Browse files
committed
Use Widget not widgets.Widget
1 parent 4c78aa3 commit 340da54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

import_export/widgets.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def render(self, value):
176176
return value.pk
177177

178178

179-
class ForeignNaturalKeyWidget(widgets.Widget):
179+
class ForeignNaturalKeyWidget(Widget):
180180
"""
181181
Widget for ``ForeignKey`` which allows specifying a field on
182182
the relationships model, rather than the primary key.

0 commit comments

Comments
 (0)