Get started

Installation

To install YADEL, run the following command:

pip3 install -i https://pypi.confirm.ch/ -U yadel

Usage

After installing YADEL, you can use it like this:

usage: yadel [-h] [-d] [-s] filename [app_dir]

YADEL - The YAML Django Model Converter.

positional arguments:
  filename                   the filename of a YADEL (yaml) file
  app_dir                    the path to the Django app directory

options:
  -h, --help                 show this help message and exit
  -d, --debug                enable debug logging mode
  -s, --skip-module-imports  skip update of module imports

For an example YADEL file, have a look at the Example YAML and the YAML reference.