diff --git a/README.md b/README.md index f277625..4cbbf04 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,7 @@ poetry install ./manage.py migrate ./manage.py createsuperuser ./manage.py shell < logbook/fixtures/import_aerodromes.py +./manage.py loaddata logbook/fixtures/fuel_type.json ./manage.py runserver ``` diff --git a/logbook/fixtures/fuel_type.json b/logbook/fixtures/fuel_type.json new file mode 100644 index 0000000..db08be2 --- /dev/null +++ b/logbook/fixtures/fuel_type.json @@ -0,0 +1,29 @@ +[ +{ + "model": "logbook.fueltype", + "pk": 1, + "fields": { + "name": "Jet", + "color": "#FFC107", + "density": 0.81 + } +}, +{ + "model": "logbook.fueltype", + "pk": 2, + "fields": { + "name": "Mogas", + "color": "#198754", + "density": 0.75 + } +}, +{ + "model": "logbook.fueltype", + "pk": 3, + "fields": { + "name": "Avgas", + "color": "#0DCAF0", + "density": 0.72 + } +} +]