adding support for django directives
adding support for custom directive
replacing term by new property