adhoc template creation

I just would like to locally compile a template, a simple adhoc operation. The error is templates are only usable in playbooks. The command:

ansible localhost -c local -i localhost, -m template -a "src=settings.py.j2 dest=/tmp/settings.j2"

This was a intended restriction as adhoc did not gather facts and
templates relying on them would fail.