fixes addtestdata, working on vectorized database search

This commit is contained in:
Sam
2021-02-18 11:54:01 +00:00
parent c9a4513dd8
commit c3a7321c9e
6 changed files with 28 additions and 5 deletions

View File

@@ -66,7 +66,7 @@ By default a `LimitOffsetPagination` pagination is enabled
Examples: `http://127.0.0.1:8000/api/v1/products/?limit=10&offset=0`
The response data has the following keyspayload:
The response data has the following keys:
```
dict_keys(['count', 'next', 'previous', 'results'])
```
@@ -294,4 +294,6 @@ To create a dataset of fake companies and products:
`python manage.py addtestdata`
Creates 10 Companies, with 100 products each.
Creates 10 Companies, with 10 products each.
WARNING: the script deletes existing instances of both Company and Product