A data seeder for models for Django.
This app provides a simple way of seeding data for your data models into your development or test database. This can be achieved through the Admin site, via a management command, or by writing your own scripts that use a seeder object.
It is often necessary to be able to seed large datasets, especially in complex projects, where having pre-loaded data can save time in the development lifecycle. Additionally, by allowing simple data seeding, you can more effectively conduct load tests or test complex edge case scnearios.
- Django 2.2+
- Python 3.6+
You can install data_seeder using pip
pip install django-data-seeder
Add data_seeder to your INSTALLED_APPS in settings.py
INSTALLED_APPS = [ ... 'data_seeder', ]
Seed data with the following command
python manage.py seeddata [options] app.models.Model [app.models.Model2, ...]
This will generate a single seed for each model provided.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size django_data_seeder-0.1.0-py3-none-any.whl (10.1 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size django-data-seeder-0.1.0.tar.gz (8.2 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for django_data_seeder-0.1.0-py3-none-any.whl