I thought about doing that for a while. The issue I had was that if {{ tab }} is None it doesn't get appended; having #{{ tab }} will always include the # in the URL. If you're okay with that I am too, it won't break the URL.