IndexAboutWeblogRecipesProjectsLinksSearchRSS

Categories

ThadeusB python, ai, robots

Compile web2py apps externally

Web2py has a nice built-in feature supported execution of byte-code compiled applications. When you compile your application, web2py actually will byte-code compile all models, controllers and views. Web2py is the only framework to date that will compile

Using fixtures in web2py

So you are ready to deploy your newly finished web2py app, but you don't like the idea of having to manually insert all of this fixture data again! Create a new model, and name it ``x_fixtures.py``. This way it will execute after all of your models.