Swap Django for Flask