File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -138,6 +138,7 @@ class FileModel(models.Model):
138138``` python
139139# myapp/loaders.py
140140from data_wizard import loaders
141+
141142class FileLoader (loaders .FileLoader ):
142143 file_attr = ' spreadsheet'
143144```
@@ -152,11 +153,14 @@ You can also customize the loader to load data from a [custom wq.io class]. For
152153
153154``` python
154155# myapp/models.py
156+ from django.db import models
157+
155158class WebSource (models .Model ):
156159 url = models.URLField()
157160```
158161
159- ``` myapp/loaders.py
162+ ``` python
163+ # myapp/loaders.py
160164from data_wizard import loaders
161165
162166class UrlLoader (loaders .BaseLoader ):
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ def convert_images():
7575 author_email = 'andrew@wq.io' ,
7676 url = 'https://wq.io/django-data-wizard' ,
7777 license = 'MIT' ,
78- description = LONG_DESCRIPTION ,
78+ description = LONG_DESCRIPTION . strip () ,
7979 long_description = parse_markdown_readme (),
8080 packages = [
8181 'data_wizard' ,
You can’t perform that action at this time.
0 commit comments