It is now possible to add sampledata into the database automatically by calling the sampledata management command.
This command will refuse to work unless DEBUG is True.
The command works by importing all sampledata modules (using Django autodiscover),
where the functions that insert sample data registers with the sampledata registry.
Then all functions in the registery are called.
This works similar to how admin entries are discovered.