django backend for user interface class