blob: 7cd745e26bd755aa58f07e227f44050853013d41 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001# Fixtures directory
2
3Fixtures are data dumps that can be loaded into Toaster's database to provide
4configuration and data.
5
6In this directory we have the fixtures which are loaded the first time you start Toaster.
7This is to provide useful default values and metadata to Toaster.
8
9 - settings.xml This Contains Toaster wide settings, such as the default values for
10 certain bitbake variables.
11
12 - poky.xml This is the default release data for supported poky based setup
13
14 - oe-core.xml This is the default release data for supported oe-core based setups
15
16# Custom data/configuration
17
18 - custom.xml
19
20To add custom initial data/configuration to Toaster place a file called
21"custom.xml" in this directory. If present it will be loaded into the database.
22We suggest that this is used to overlay any configuration already done.
23All objects loaded with the same primary keys overwrite the existing data.
24Data can be provided in XML, JSON and if installed YAML formats.
25
26# To load data at any point in time
27
28Use the django management command manage.py loaddata <your fixture file>
29For further information see the Django command documentation at:
Patrick Williams7784c422022-11-17 07:29:11 -060030https://docs.djangoproject.com/en/3.2/ref/django-admin/#django-admin-loaddata