On 28/02/2011 18:42, Tres Seaver wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/28/2011 12:53 PM, Chris Withers wrote:
On 28/02/2011 16:58, Tres Seaver wrote:
I'm worried that I'm being evil. Am I being evil?
How else can I get hold of Pyramid's notion of the current user id
inside
On Thu, 24 Feb 2011 12:13:26 -0800, AwaisMuzaffar wrote:
> Lets assume, I have the following route set up:
>
> config.add_route('pages', '/{page}/', view='testproject:views.pages',
> view_renderer='testproject:templates/page.mak')
>
> Would it be possible to make the template name e.g page.mak a
Just an update that Chameleon 2.0rc2 was just released that fixes this as
well.
- Rocky
--
You received this message because you are subscribed to the Google Groups
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send em
On 2/28/11 23:28 , oO wrote:
Is there any reason why Pyramid wouldn't implement a paster setup-app
command? I understand I can create a script command (which I've done a
few times in Pylons) but I think that a standard hook would be very
beneficial, since most Pyramid based app probably need to b
It seemed like too much framework for not much benefit over suggesting
that folks use a console script.
- C
On Mon, 2011-02-28 at 14:28 -0800, oO wrote:
> Is there any reason why Pyramid wouldn't implement a paster setup-app
> command? I understand I can create a script command (which I've done a
Is there any reason why Pyramid wouldn't implement a paster setup-app
command? I understand I can create a script command (which I've done a
few times in Pylons) but I think that a standard hook would be very
beneficial, since most Pyramid based app probably need to bootstrap
some sort of persisten
On 28/02/2011 18:43, Chris McDonough wrote:
repoze.tm2 vs. pyramid_tm is more about opinion than it is technology
Both offer the same features and the same benefits, and neither has a
particular downside that isn't rooted in pure opinion.
On the other hand, there are cases where using middleware
Clearly it will take time for individuals to understand which functionality
best belongs in each layer. REMOTE_USER makes great middleware but it's
trivial to move that bit, or sessions, into or out of Pyramid as desired.
--
You received this message because you are subscribed to the Google Gro
wow, that was fast and works like a charm, thanks.
-Andreas
On Mon, Feb 28, 2011 at 01:47:41PM -0500, Chris McDonough wrote:
> A new version of Chameleon was released about an hour ago that doesn't
> work with Pyramid.
>
> While that's worked out, before installing Pyramid, in your virtualenv,
A new version of Chameleon was released about an hour ago that doesn't
work with Pyramid.
While that's worked out, before installing Pyramid, in your virtualenv,
do:
bin/easy_install "Chameleon<1."
Then run "easy_install pyramid".
On Mon, 2011-02-28 at 19:44 +0100, Andreas Reuleaux wrote:
>
Hm, very recent pyramid installation on debian wheezy
python (2.6), python-dev, python-virtualenv installed
as debian packages
# aptitude install python python-dev python-virtualenv build-essential
python-setuptools is also installed as a dependency of python-virtualenv
just see, if setuptoo
On Mon, 2011-02-28 at 10:37 -0800, Mike Orr wrote:
> On Sun, Feb 27, 2011 at 10:28 PM, Chris Withers
> wrote:
> > On 26/02/2011 10:18, Wichert Akkerman wrote:
> >>
> >> We had a mini-discussion on this topic on irc this week. The only
> >> difference between the two is that repoze.tm2 uses middle
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/28/2011 12:53 PM, Chris Withers wrote:
> On 28/02/2011 16:58, Tres Seaver wrote:
>>> I'm worried that I'm being evil. Am I being evil?
>>> How else can I get hold of Pyramid's notion of the current user id
>>> inside a SessionExtension?
>>
>> The
On Sun, Feb 27, 2011 at 10:28 PM, Chris Withers wrote:
> On 26/02/2011 10:18, Wichert Akkerman wrote:
>>
>> We had a mini-discussion on this topic on irc this week. The only
>> difference between the two is that repoze.tm2 uses middleware, while
>> pyramid_tm uses pyramid events.
>>
>> Personally
On Mon, 2011-02-28 at 18:02 +, Chris Withers wrote:
> On 28/02/2011 15:13, Chris McDonough wrote:
> > The distinction is useful when folks want to closely control user
> > checking for performance reasons, ala
> > http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/authentication.html
>
On 28/02/2011 15:13, Chris McDonough wrote:
The distinction is useful when folks want to closely control user
checking for performance reasons, ala
http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/authentication.html
.
I actually read that before I posted, and I just don't get it :-
On 28/02/2011 16:58, Tres Seaver wrote:
I'm worried that I'm being evil. Am I being evil?
How else can I get hold of Pyramid's notion of the current user id
inside a SessionExtension?
The "approved" way to share request-specific information is to just pass
the request: in this case, the obviou
On 28.02.11 09:35, whit wrote:
> Mariano Mara wrote:
> >On 18.02.11 15:13, whit wrote:
> >>>Ben Bangert was working on Velruse
> >>>http://packages.python.org/velruse/index.html during pyramid's formative
> >>>months. I'd look there for starters.
> >>>
> >>has anyone done an integration between v
Mariano Mara wrote:
On 18.02.11 15:13, whit wrote:
Ben Bangert was working on Velruse
http://packages.python.org/velruse/index.html during pyramid's formative
months. I'd look there for starters.
has anyone done an integration between velruse and pyramid that
they'd care to share?
-w
In m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/27/2011 02:40 PM, Chris Withers wrote:
> Hi All,
>
> I'm writing a SQLAlchemy SessionExtension based on this pattern:
>
> http://www.sqlalchemy.org/trac/browser/examples/versioning/history_meta.py?rev=7253:3ef75b251d06#L171
>
> So, in the list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/28/2011 09:46 AM, Daniel Holth wrote:
>> There seems to be a trend in pyramid development of re-implementing a
>> lot of what was previously done in various layers of wsgi middleware
>> ( session, auth, ...) and moving those part inside the main
On Sun, 2011-02-27 at 22:45 -0800, oO wrote:
> What's the best way to modify a pyramid project to make use of paster
> setup-app? I'm using pyramid with traversal and mongodb for
> persistence, so I started with the default template which doesn't set
> anything up for the setup-app portion, and I d
On Mon, 2011-02-28 at 10:06 -0500, Daniel Holth wrote:
> I think the reasoning is that
>
> "Interpret the current user id from a cookie / kerberos
> authentication / some key in the session"
>
> and
>
> "see whether the identified user exists in our system"
>
> should be in different layers. I
I think the reasoning is that
"Interpret the current user id from a cookie / kerberos authentication /
some key in the session"
and
"see whether the identified user exists in our system"
should be in different layers. I agree this leaves me scratching my head as
to when the distinction is usefu
On Sun, Feb 27, 2011 at 2:15 PM, oO wrote:
> Sorry if this is a basic question, but as I'm starting to add more and
> more layers of complexity to my first pyramid based applications, I'm
> starting to wonder about some of the benefits of using pyramid
> specific implementations as opposed to re-
25 matches
Mail list logo