loaddata for all fixtures in a project?

I have several apps, each app has several fixtures. Is there an option to easily load all fixtures at once?
From the help of manage.py loaddata and the docs, I know that you have to specify a name.
Is there a reason for that? Would be nice to have an --all flag or something similar.

You can use file globbing for all the files in a directory.
e.g. manage.py loaddata data/fixtures/*.yaml

Also see Fixtures | Django documentation | Django.

1 Like