Use django's site framework.

see #551