-
For this tutorial [https://github.com/bottlepy/bottle/blob/master/docs/tutorial.rst](https://github.com/bottlepy/bottle/blob/master/docs/tutorial.rst) link [https://raw.github.com/pypa/virtualenv/mast…
-
https://github.com/bottlepy/bottle/blob/357a0cb39cb8337f8467f5396e4b7caaa7e4f25c/bottle.py#L4247-L4273
I think it should be `return template(tpl_name, **defaults)` instead of `return template(tpl_n…
-
Hi, I just wanted to download (via script) the last stable version but I found no (stable) URI which points to the last *stable* version. The last dev version is easily accessible via https://bottle…
-
Hi,
I am trying to write a plugin which injects some data into the the functions, but it failes if I already have another plugin (say sqlite).
A simple example is the code below:
``` python
from bo…
-
I think this two lines https://github.com/bottlepy/bottle/blob/f9b1849db4dd724e36a93a1032be592193fba581/bottle.py#L4057-L4058 are causing the below deprecation warnings (my warnings are from 0.12.17, …
-
(因为很重要,所以写在最开始,记得要在 `wsgi.py` 中写入 `sys.path.append('/home/icecream/code/WEBAPP/NodeSite')`。也就是将项目的路径加入系统,这样子python才能找到,切记)
## nginx
### sites-available/mushroom
``` nginx
# mysite_nginx.conf
# the u…
-
test.py:
``` python
#!/usr/bin/python
import bottle
import testapp
bottle.debug(True)
app = bottle.Bottle()
app.mount('/test',testapp.app)
app.run(reloader=True, host='0.0.0.0', port=8080)
run(ho…
-
Howdy! Decided to discover other libraries today, so I took Bottle.
I liked it. 'Hit Ctrl-C to quit' was fun. Like 'Smash Ctrl-C to quit".
However, I noticed probably a bug. I used the simplest …
-
After upgrading to Python 3.12, importing an extension, for example `from bottle.ext.websocket import websocket`, now gives the following error:
```
Traceback (most recent call last):
File "C:\…
-
I am currently getting the following warning:
```python3
/usr/local/lib/python3.10/dist-packages/bottle.py:3383: DeprecationWarning: Absolute template path names are deprecated.
fname = self.se…