diff --git a/import_export/widgets.py b/import_export/widgets.py
index <HASH>..<HASH> 100644
--- a/import_export/widgets.py
+++ b/import_export/widgets.py
@@ -288,6 +288,9 @@ class ForeignKeyWidget(Widget):
     :class:`~import_export.widgets.ForeignKeyWidget` to lookup related objects
     using ``Author.name`` instead of ``Author.pk``::
 
+        from import_export import fields, resources
+        from import_export.widgets import ForeignKeyWidget
+        
         class BookResource(resources.ModelResource):
             author = fields.Field(
                 column_name='author',
Edit docblock for ForeignKeyWidget

Adds import statements to the example in the ForeignKeyWidget docblock.