- Make sure you've installed hy or put it in requirements.txt
- Put
hy.py
inmanagement/commands/hy.py
./manage.py hy
hy 0.11.0 using CPython(default) 2.7.6 on Linux
=> (import [yourapp [settings]])
=> settings.DEBUG
True
You can also run a hy script in the Django context like this:
./manage.py hy test.hy