Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,7 @@ testfixtures.New(
TemplateDelims("{{", "}}"),
TemplateOptions("missingkey=zero"),
TemplateData(...),
...
)
```

Expand All @@ -525,6 +526,8 @@ The YAML file could look like this:
{{end}}
```

**Important:** `Template()` and its related options need to be placed before the `Directory()`, `Files()` or `Paths()` methods.

## Generating fixtures for an existing database

The following code will generate a YAML file for each table of the database
Expand Down