path: root/docs
diff options
authorJeremy Kerr <>2015-06-05 14:32:26 +0800
committerJeremy Kerr <>2015-06-05 14:37:09 +0800
commit46e4ad955a2a7ba4f32b76a74b350140a1e3d761 (patch)
tree02892290f921f567d1778aa11ee1168e2e7c980a /docs
parent7a39d75859c4ee908573726f0a82df85cdb8b845 (diff)
patchwork: Explicitly load states fixtures
Apps with migrations will no longer load the initial_data fixtures by default. In order to prepare to add migrations to patchwork, rename the initial_data fixture to default_states (to match the default_tags fixture), and explicitly load them in tests that require them. Also, include this step in the INSTALL document. Signed-off-by: Jeremy Kerr <>
Diffstat (limited to 'docs')
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/INSTALL b/docs/INSTALL
index 611fbb4..bd95770 100644
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -148,10 +148,10 @@ in brackets):
PYTHONPATH=lib/python ./ collectstatic
- If you'd like to use the default tag set (Acked-by, Reviewed-by and
- Tested-by), then load these default tags:
+ You'll also need to load the initial tags and states into the
+ patchwork database:
- PYTHONPATH=lib/python ./ loaddata default_tags
+ PYTHONPATH=lib/python ./ loaddata default_tags default_states
Finally, add privileges for your mail and web users. This is only needed if
you use the ident-based approach. If you use password-based database