Closed jamesaoverton closed 2 years ago
~I've got this mostly working, but I ran into an issue with the default mapping (/
). We set this based on if a default table
argument is provided, so it isn't set until runtime~
Never mind - I figured out a workaround :)
@jamesaoverton please close this issue - this is resolved.
https://flask.palletsprojects.com/en/2.0.x/blueprints/
Right now it's hard to reuse Sprocket in any other project because it "owns" top-level paths. For the CMI-PB Next project I would like to use Sprocket under a
/table
URL prefix. The "Flask way" of doing this seems to be Blueprints. We haven't used them before, but lets' give them a try.