Quantcast
Channel: User Armin Ronacher - Stack Overflow
Viewing all articles
Browse latest Browse all 43

Answer by Armin Ronacher for Dynamically add URL rules to Flask app

$
0
0

Every time you execute add_url_rule() the internal routing remaps the URL map. This is neither threadsafe nor fast. I right now don't understand why you need user specific URL rules to be honest. It kinda sounds like you actually want user specific applications mounted?

Maybe this is helpful: http://flask.pocoo.org/docs/patterns/appdispatch/


Viewing all articles
Browse latest Browse all 43

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>