I am using django 1.8.
Now i need to add some custom fields based permisions so i have created a YML file from python models like this
description: permissions: ['ADMIN'] award: permissions: ['USER']
Its working fine but my issue if some chnages the field names or reomves some field then i also need to reflect that in my yml file as well.
SO i was thinking when user runs the migration then if some how i could be able to see
- If field is removed then i need to delete that entry from yml file
- If field is renmaed then i need to rename it
- if new field is added then i need to add blank row for it
How can i do that