So this is a basic server , to extract data from the arduino serial and display in HTML template instantly !(cool right ?!)
Simply by using Serial library from python , and integrating it in the django framework !
There are plenty other methods that i used before , but this is the best one one so far However one of the most popular methods is using the websockets with node js , or just a simply fetching data from python script that gets data from the arduino serial .
You are free to use this method and this script !
Search in google how to run a django server and you'll know ... (hint : you can find the method in one of my repos xD)