Folks, thanks for the responses, very helpful.
I'm going to take a good look at sqlalchemy-migrate, as that seems to
be exactly what I need to do.
Tom - thanks for your link, I'll work my way through it this week, and
let you have any feedback. First pass, it looks just right.
All the best,
R
Thanks.. I have converted to mako => html => to text format. I don't
know the performance penality.
On Apr 22, 4:37 am, Philip Jenvey wrote:
> On Apr 17, 2009, at 11:26 AM, karikris...@gmail.com wrote:
>
>
>
> > I have to convert my markdown to plan text to display the text summary
> > in the
We are developing social networking application in Pylons. We use
username-password system and permission which comes part of
repoze.what/who. Now we need to give permission to certain resources
based on user reputation score.
What is the architecture required using repoze.what? Can some one
thr
Hello,
If, for example, the reputation score is stored in a column of the users'
table as an integer, you could write the following repoze.what predicate
checker:
"""
from repoze.what.predicates import Predicate
class minimum_reputation(Predicate):
message = "Your minimum score reputation
On Thursday April 23, 2009 16:32:35 Gustavo Narea wrote:
> By the way, if you may want to create the following aliases:
> """
> class good_reputation(minimum_reputation):
> def __init__(self, **kwargs):
> super(good_reputation, self).__init__(3, **kwargs)
>
> class excellent_reputation
Thanks for clarifications Mike
Looks like we really misused named routes, will try to fix it,
seems like it will be the right way.
Regards, Mykola
On Apr 23, 8:24 am, Mike Orr wrote:
> On Wed, Apr 22, 2009 at 10:00 PM, Mykola wrote:
>
> > Ben, thanks a lot for reply,
>
> > I suspected that it
anyone has all the http://www.pylonshq.com/docs/en/0.9.7/ in one
single file for quick download and offline reference.. I see
Sqlalchemy has different options.. Where I can get a latest single
file?
--~--~-~--~~~---~--~~
You received this message because you are sub
Sorry.. I found it here http://www.pylonshq.com/articles ...
Thanks...
On Apr 23, 8:52 pm, "karikris...@gmail.com"
wrote:
> anyone has all thehttp://www.pylonshq.com/docs/en/0.9.7/in one
> single file for quick download and offline reference.. I see
> Sqlalchemy has different options.. Where I
Hi,
we are developing a fulltracks rest service using pylons, and we need
to control the access to our service using digest authentication, but
we detect a problem with the urls containing some special character
like %20. All the urls are validated correctly with digest but when in
the uri appear
On Thu, Apr 23, 2009 at 6:53 AM, karikrishni wrote:
>
> Thanks.. I have converted to mako => html => to text format. I don't
> know the performance penality.
There are two tickets to add HTML-to-text and HTML sanitizing to
WebHelpers. The HTML-to-text one has some sample code in the
WebHelpers
This reminds me of http://everything2.com/ (if you haven't been there,
check it out already!)
Good stuff guys!
Cheers,
Tom Longson (nym)
-
Tackle Human Dilemmas.
http://stopthespin.com/
On Thu, Apr 23, 2009 at 7:38 AM, Gustavo Narea wrote:
>
> On Thursday Apr
I have a statistics routine that logs the session ID in every request,
and then counts the number of sessions each day. However, it fails on
one site that's all static files (served by paste.FileApp in a
controller). Every request has a different session ID, so the number
of sessions equals the
I need to update a (series of) tables from a HTML form with rows of
data. Some rows are new, and some are edits of existing data. First,
here's my query:
current_account_id = ...
trustees = db.query(model.Trustee).with_labels().filter
(model.Trustee.account_id == account.id).filter(model.Truste
On Apr 23, 2009, at 11:47 AM, Mike Orr wrote:
I have a statistics routine that logs the session ID in every request,
and then counts the number of sessions each day. However, it fails on
one site that's all static files (served by paste.FileApp in a
controller). Every request has a different s
On Fri, Apr 24, 2009 at 3:55 AM, karikrishni wrote:
>
> Sorry.. I found it here http://www.pylonshq.com/articles ...
> Thanks...
Wow, that looks quite nice, congrats to Ben Bangert, Graham Higgins,
and James Gardner. I would love to read a book, on how they wrote the
book :)
>
> On Apr 23, 8:
since this is all static, wouldn't this be better with just a cookie'd
guid ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.co
On Thu, Apr 23, 2009 at 2:36 PM, Jonathan Vanasco wrote:
>
> since this is all static, wouldn't this be better with just a cookie'd
> guid ?
With a what? You mean setting a cookie to a random value if the
cookie isn't already set?
--
Mike Orr
--~--~-~--~~~---~--~
17 matches
Mail list logo