Rewtis clone in Python with Flask