Added a django adapter and tests