how to use variables in django fixtures YAML file

709 Views Asked by At

I am using django fixture, i want to use variable in Yaml file ,Here is an example.

- model: taskmanagement.mailsettings
  pk: 1
  fields:
    username: asdfgh
    password: %x

I want to encrypt the password. and here i want to use x as a variable.Please help

0

There are 0 best solutions below