Skip to content

Commit

Permalink
#42: fix it in django as well
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Aug 8, 2017
1 parent 56f539c commit c9855e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyexcel_io/database/importers/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,6 @@ def create_sheet(self, sheet_name):
sheet_writer = DjangoModelWriter(
self.__importer, model,
batch_size=self._keywords.get('batch_size', None))
else:
raise Exception("No django model found!")
return sheet_writer

0 comments on commit c9855e0

Please sign in to comment.