Skip to content Skip to sidebar Skip to footer
Showing posts with the label Pylons

Database-independent Max() Function In Sqlalchemy

I'd like to calculate a MAX() value for a column. What's the proper way to do this in sqla… Read more Database-independent Max() Function In Sqlalchemy

Mocking Away The Url Object In Pylons

I want to test a method that calls the pylons.url object. However calling this in the tests leads t… Read more Mocking Away The Url Object In Pylons

Should We Use Pylons Or Php For Our Webapp?

My friend and I are planning on building a sort of a forum type of webapp. We've used the major… Read more Should We Use Pylons Or Php For Our Webapp?

Turbogears 2 Quickstart Shows Error Immediately

I am new to TurboGears and have just installed TG2 development in a virtual environment. I'm fo… Read more Turbogears 2 Quickstart Shows Error Immediately

Stream A File To The Http Response In Pylons

I have a Pylons controller action that needs to return a file to the client. (The file is outside t… Read more Stream A File To The Http Response In Pylons

How Do I Json Encode This View?

New to python and Pyramid. I have a view that does pagination. How do I json encode it? I get an er… Read more How Do I Json Encode This View?