implementation atblocg on Django