fixes addtestdata, working on vectorized database search
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user