maybe take a look at .expunge() or .expunge_all() in sqlalchemy. I
believe that frees up the internal resources of the session, but, I'm
not 100% sure.
http://www.sqlalchemy.org/docs/reference/orm/sessions.html#sqlalchemy.orm.session.Session.expunge
--
You received this message because you ar
Hi,
I hope my late response will still be helpful. You probably want to
use a chained validator. A chained validator is a validator placed in
the chained_validators attribute of a schema. It has access to the
entire value dictionary instead of a single value. You can use the
dictionary to get
I've traced the problem down to one of my controller action that does some
in depth analysis on large text files (source code actually). In certain
cases, this controller action can have upwards of 1 files being worked
on at the same time, with each one currently represented as a model in the
s
On 05/10/10 11:32, Kosu wrote:
> Maybe this will helps:
> http://www.sqlalchemy.org/docs/reference/dialects/postgresql.html#indexes
>
Thanks, but those are partial indexes, I need index on expression. Seems
like there really is no way, I asked on IRC. Until I find a better way,
I made model
Much appreciated the response. I think its pointless to try and hide
it. oh well.
On May 10, 10:52 am, cd34 wrote:
> Do you mean protect the actual html that generates the site from being
> saved? or protecting static content from being able to be hotlinked?
> or preventing scraping your site's
Maybe this will helps:
http://www.sqlalchemy.org/docs/reference/dialects/postgresql.html#indexes
On 9 Maj, 20:59, Haron Media wrote:
> I went through SQLAlchemy docs but I'm not sure how to pull this off.
> There appears to be no way to create an index on expression using Column
> type classes al
>From within the setup_app function (websetup.py) of a pylons i18n
application, which is making use of a db, I was trying to initiate
multilingual content to be inserted into a db.
To do so the idea was something like:
#necessary imports here
def setup_app(command, conf, vars):
for l
Do you mean protect the actual html that generates the site from being
saved? or protecting static content from being able to be hotlinked?
or preventing scraping your site's content for resyndication
somewhere?
Basically, if it is published on the web, it can be saved. Sites
disable the right m
Hey Guys,
Recently deployed my pylons server and I want to protect html from
being stolen. Any recommendations on this?
Much appreciated,
Gazza
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-disc.