Backend Code using Django-Python