Bottle framework and OOP, using method instead of function

后端 未结 5 1816
慢半拍i
慢半拍i 2020-12-04 10:46

I\'ve done some coding with Bottle. It\'s really simple and fits my needs. However, I got stick when I tried to wrap the application into a class :

import bo         


        
5条回答
  •  广开言路
    2020-12-04 11:22

    try this, worked for me, documentation is also pretty decent to get started with ...

    https://github.com/techchunks/bottleCBV
    

提交回复
热议问题