-
I find a answer in here:
http://stackoverflow.com/questions/2883205/freezing-a-dual-mode-gui-and-console-application-using-cx-freeze?answertab=active#tab-top
Add following code on bottle.py can WORK…
-
I know you already support poetry and pipenv, but I would like to request the following feature to support [PDM](https://pdm.fming.dev/) to.
Supporting official [PEP-621](https://www.python.org/dev/p…
-
I'm just trying update my product's bottle.py 0.11 to 0.12; and found objects in `Request.files` changed to new class `FileUpload` from `cgi.FieldStorage`.
They are not compatibile and have differenc…
-
Currently the request context is stored in the `request` global, which can encourage anti patterns such as accessing the request object from a database model.
I'm thinking that a cleaner approach wo…
-
Hi,
I built a small app using the bottle framework. I find that it is impossible to **select** or **copy** or **paste** any **text** inside the qpython webapp, not even in widgets like `` or ``.
Is…
-
When using templates within a mounted application, the mounted application templates lookup path is relative to the root application (mentionned [here](http://comments.gmane.org/gmane.comp.python.bott…
-
Hi,
I made a little plugin for bottle which might be of interest:
https://github.com/dagnelies/canister
It provides the usual "nice to have" stuff:
- formatted logs
- url and form params unpacking
-…
-
user.py
user_app = bottle.Bottle()
@user_app.route('/login')
def login(): redirect("/index")
app.py
from user import user_app
root_app = bottle.Bottle()
@root_app.route('/index')
def index(): retur…
janus updated
12 years ago
-
In @route('/edit/:no', method='GET')
...
c.execute("SELECT task FROM todo WHERE id LIKE ?", (str(no)))
will show this:
sqlite3.ProgrammingError: Incorrect number of bindings supplied. The current st…
-
Is there an option to make `bottle` use the Python built-in `logging` package instead of stderr/stdout?
Here is a basic example, would you see how to redirect the `"Bottle v0.12.23 server starting …