Re: Help with SQLAlchemy

2013-04-13 Thread León Domingo
Hi, I have a similar problem and I've found out one thing. If I insert or update using Table (schema.Table) changes are not committed to the database. dbs = DBSession meta = MetaData(bind=dbs.bind) table = Table('foo', autoload=True) dbs.execute(table.update(dict(foo_id=1),

Re: pylons + nginx error 404 not found for all styles, scripts, images

2012-11-17 Thread León Domingo
Hi Vijay, Your NGINX configuration file will give us more information. How do you communicate nginx with pyramid? Gunicorn? That's my choice for deployment (NGINX+gunicorn) Regards, León Domingo Ender - Factoría de Software leon.domi...@ender.es jestre...@ender.es Avda. Cerro del Águila, 7. S23

Re: a bit lost ...

2012-10-02 Thread León Domingo
Great explanation, Jonathan! On Tue, Oct 2, 2012 at 6:13 PM, Jonathan Vanasco jonat...@findmeon.comwrote: While Pyramid is very powerful, it is very low level and has no bells and whistles. You could potentially rewrite Django on top of Pyramid. To try and address this question, let's

Re: Gunicron running.py file HOW-TO

2012-08-19 Thread León Domingo
Hi Mark, As fas as I know there's no need for running.py file. Take a look at this http://gunicorn.org/run.html#contents Once you install gunicorn a *gunicorn_paster* command is available. This command makes your Pyramid (Paster-like) application run. I use it with nginx and supervisor Hope

Re: Compiling Python

2012-06-13 Thread León Domingo
Hi, I'm an Ubuntu user (well, I'm a Linux Mint user actually) but I work with Ubuntu servers and at the time of Ubuntu 8 I wanted to have Python2.6 instead of the standard Python2.5 of the system. I used to compile it to get my version but this got me in problems with Apache+mod_python because I

Default renderer

2012-05-06 Thread León Domingo
Hi guys, Is there a way to define a default renderer so every template will be rendered using that particular language? I work with Jinja (the problem would be the same with another language) and the thing is that I use it to render to HTML (most of the time) but to JS too and even to XML

Re: Is there a templating system for generating PDFs?

2012-04-06 Thread León Domingo
' response.headerlist.append(('Content-Disposition', 'attachment;filename=prueba.pdf')) Regards, León Domingo Ender - Factoría de Software leon.domi...@ender.es jestre...@ender.es Avda. Cerro del Águila, 7. S23 - 2ª Planta 28703 S.S. de los Reyes (MADRID) Tlf. 902 01 44 01 http://www.ender.es/ http