backend of portfolio in python with django