Django backend implementation