Re: ajax loading html

2012-07-13 Thread Daniel Svonava
Hi, If this is just a one-off thing, the simplest way might be just symlinking that html file to a folder where you serve your static assets from (e.g. page_media). Cheers, Daniel On Thursday, July 12, 2012 11:19:07 PM UTC+2, ledzgio wrote: > > Hi, > > I have to load with ajax (using qtip2) a

Re: How to display a table (with full functionalities like sorting, num rows etc) within a cell?

2012-05-19 Thread Daniel Svonava
I don't think that this is easily doable, you would have to tweak both the views and templates. However, whenever I think that a nested table would be usable, I try to achieve the same functionality by implementing filters/search on the models I'd like to see nested. In your case, just add filt

Re: DatabaseError: execute used with asynchronous query

2012-03-09 Thread Daniel Svonava
s with gevent. > > > > > > > > On Tuesday, February 28, 2012 7:34:03 AM UTC-6, Daniel Svonava wrote: > > > Hi, this same error happened to me as well. My setup: > > > Django==1.3.1 > > gevent==0.13.6 > > greenlet==0.3.4 > > gunicorn==

Re: DatabaseError: execute used with asynchronous query

2012-02-28 Thread Daniel Svonava
Hi, this same error happened to me as well. My setup: Django==1.3.1 gevent==0.13.6 greenlet==0.3.4 gunicorn==0.13.4 psycopg2==2.4.4 I use this function to make psycopg2 "green" (in the gunicorn config): worker_class = "gevent" def def_post_fork(server, worker): from psyco_gevent import make_

1 template and multiple views?

2009-08-01 Thread Daniel Svonava
appropriate view, but how to have that block A rendered with the RenderA in the same time? What is the standard way to do that? Thanks and best regards, Daniel Svonava --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "D