When I do too many dynamic URLs my stylesheets stop working. For instance. My stylesheet is in my layout.html file under /static/css/style.css
Code:
#works
@app.route('/<var1>', methods=['blah'])
def someFunc(var1):
# code
#works
@app.route('/<var1>/<var2>', methods=['blah'])
def someNewFunc(var1, var2):
# code
#no errors displayed but my stylesheet stops loading
@app.route('/<var1>/<var2>/<var3>', methods=['blah'])
def finalFunc(var1, var2, var3):
# code
So I've got two questions. First, does Flask not support dynamic URLs past two? Second, is there a better way to go about this (i.e. is there a convention I should follow)?