Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By following these guidelines, you can seamlessly load Role and RoleRight data while maintaining database integrity.

Loading Other Fixtures

For other fixtures, the standard Django loaddata command can be used:

Code Block
python manage.py loaddata <fixture_file>

For example:

Code Block
python manage.py loaddata fixtures/core/users.json

This ensures the fixture data is loaded directly into the database.