Make sure you have installed the Haskell Platform and ghc in your path.
Install Elm with:
cabal install elm
python setup.py install
will compile the elm compiler and install all needed files
Now you can add elm
to your INSTALLED_APPS in your django project.
inline:
<script type="text/javascript" src="{{ STATIC_URL }}js/elm-runtime.js"></script>
{% load elm_compiler %}
{% elminline %}
import Mouse
main = lift asText Mouse.position
{% endelminline %}
<script type="text/javascript">Elm.fullscreen(Elm.Main)</script>