Rename yaml files to json
authorMagnus Hagander <magnus@hagander.net>
Tue, 4 May 2021 09:01:33 +0000 (11:01 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 4 May 2021 10:39:31 +0000 (12:39 +0200)
The actual contents of the files is json, so why they were named .yaml
in the first place is somewhat of a mystery.

pgweb/contributors/fixtures/data.json [moved from pgweb/contributors/fixtures/data.yaml with 100% similarity]
pgweb/core/fixtures/data.json [moved from pgweb/core/fixtures/data.yaml with 100% similarity]
pgweb/load_initial_data.sh

index 05c58a57dcb53933175b3b1ae78e9ff3c2043a85..fb16e70c2f1170d03265b0bbb7f1d880f14dbb47 100755 (executable)
@@ -11,5 +11,5 @@ read R
 cd $(dirname $0)
 
 if [ "$R" == "yes" ]; then
-   find . -name data.yaml | xargs ../manage.py loaddata
+   find . -name data.json | xargs ../manage.py loaddata
 fi