Skip to content

Commit ea6f1a9

Browse files
committed
Include core.organisationtype in pgweb/core/fixtures/data.json
The organisationtype is pretty static and having it available in the initial data after bootstrapping makes working with organisations much easier in a dev install. While at it, change to the manage.py invocation convention used by the other scripts.
1 parent 49651b5 commit ea6f1a9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pgweb/dump_initial_data.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
# Run this script to refresh the contents of the fixtures based on data currently in the database.
44

5-
./python manage.py dumpdata --indent 1 --format json core.version core.importedrssfeed core.country > pgweb/core/fixtures/data.json
6-
./python manage.py dumpdata --indent 1 --format json contributors.contributortype > pgweb/contributors/fixtures/data.json
7-
./python manage.py dumpdata --indent 1 --format json docs.docpagealias docs.docpageredirect > pgweb/docs/fixtures/data.json
8-
./python manage.py dumpdata --indent 1 --format json downloads.category downloads.licencetype > pgweb/downloads/fixtures/data.json
9-
./python manage.py dumpdata --indent 1 --format json featurematrix.featuregroup featurematrix.feature > pgweb/featurematrix/fixtures/data.json
10-
./python manage.py dumpdata --indent 1 --format json lists.mailinglistgroup > pgweb/lists/fixtures/data.json
11-
./python manage.py dumpdata --indent 1 --format json sponsors.sponsortype > pgweb/sponsors/fixtures/data.json
5+
./manage.py dumpdata --indent 1 --format json core.version core.importedrssfeed core.country core.organisationtype > pgweb/core/fixtures/data.json
6+
./manage.py dumpdata --indent 1 --format json contributors.contributortype > pgweb/contributors/fixtures/data.json
7+
./manage.py dumpdata --indent 1 --format json docs.docpagealias docs.docpageredirect > pgweb/docs/fixtures/data.json
8+
./manage.py dumpdata --indent 1 --format json downloads.category downloads.licencetype > pgweb/downloads/fixtures/data.json
9+
./manage.py dumpdata --indent 1 --format json featurematrix.featuregroup featurematrix.feature > pgweb/featurematrix/fixtures/data.json
10+
./manage.py dumpdata --indent 1 --format json lists.mailinglistgroup > pgweb/lists/fixtures/data.json
11+
./manage.py dumpdata --indent 1 --format json sponsors.sponsortype > pgweb/sponsors/fixtures/data.json

0 commit comments

Comments
 (0)