Skip to content

Commit c4eaf48

Browse files
committed
description fixes [skip ci]
1 parent f72e0d5 commit c4eaf48

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ class FileModel(models.Model):
138138
```python
139139
# myapp/loaders.py
140140
from data_wizard import loaders
141+
141142
class 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+
155158
class WebSource(models.Model):
156159
url = models.URLField()
157160
```
158161

159-
```myapp/loaders.py
162+
```python
163+
# myapp/loaders.py
160164
from data_wizard import loaders
161165

162166
class UrlLoader(loaders.BaseLoader):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)