Skip to content

Add dummy data for development #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 21 commits into from
Jan 26, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update excludes in README dumpdata instructions
  • Loading branch information
JelteF committed Jan 26, 2025
commit ad7c12c595bb265211c9b6c314c4dbb47e192986
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ ln -s ../../tools/githook/pre-commit .git/hooks/

If you'd like to regenerate the database dump files, you can run the following commands:
```
./manage.py dumpdata auth --format=json --indent=4 > pgcommitfest/commitfest/fixtures/auth_data.json
./manage.py dumpdata commitfest --format=json --indent=4 --exclude=commitfest.MailThread --exclude=commitfest.MailThreadAttachment > pgcommitfest/commitfest/fixtures/commitfest_data.json
./manage.py dumpdata auth --format=json --indent=4 --exclude=auth.permission > pgcommitfest/commitfest/fixtures/auth_data.json
./manage.py dumpdata commitfest --format=json --indent=4 > pgcommitfest/commitfest/fixtures/commitfest_data.json
```

Note that at present, we exclude the MailThread model because it leads to a recursion error.
Expand Down