> For the complete documentation index, see [llms.txt](https://www.dicas-de-django.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.dicas-de-django.com.br/041-django-seed.md).

# Dica 41 - django-seed

[![](/files/-MfuAOwUjEsk4qZiRsOx)](https://youtu.be/9IVp4mLsrdc)

O [django-seed](https://github.com/Brobin/django-seed) é uma lib para que gera dados aleatórios para o seu modelo de uma forma rápida e simples.

```
pip install django-seed
```

Adicione em `INSTALLED_APPS` em `settings.py`:

```python
INSTALLED_APPS = [
    ...
    'django_seed',
]
```

E depois simplesmente rode o comando

```
python manage.py seed travel --number=15
```

onde `travel` é o nome da nossa app neste projeto.
