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

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?

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

Pyramid Debug Toolbar Serving Static Content Over Http Instead Of Https

On our test servers, we're using the Pyramid debug toolbar, however, it generates http:// links… Read more Pyramid Debug Toolbar Serving Static Content Over Http Instead Of Https

Python - Sqlalchemy: Filter Query By Great Circle Distance?

I am using Python and Sqlalchemy to store latitude and longitude values in a Sqlite database. I hav… Read more Python - Sqlalchemy: Filter Query By Great Circle Distance?

Pyramid Chameleon I18n Not Finding Template Files

I'm following this recipe, with a small test project called i18n Chameleon I18N I've set u… Read more Pyramid Chameleon I18n Not Finding Template Files