There is a site on Flask hosted on the Internet and the admin to it as a separate project on the local machine.
If you insert a new entry into the database from the admin, then another application will see the changes only after the uwsgi server is restarted. How to fix it?
And in general, is it a good idea to do admin panel as a local project? The scheme is as follows: port knocking + ssh-tunnel to the MySQL server