Kevin J. Kalupson wrote:
Hi All,
I'm having an issue with chameleon.zpt templates and macros. I've
create two templates, one with a macro and slots and one that is used to
fill the slots in my main template. Both templates have an xml and
DOCTYPE declaration. The issue is that the final
repoze.bfg 1.2b2 has been released
Install via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Or via PyPI.
The changelog follows.
1.2b2 (2010-01-21)
==
Bug Fixes
-
- When the ``Configurator`` is passed an instance of
r.b.restrequest is no longer supported or required.
Instead use the built-in BFG request_method feature:
view
view=.my.get_view
request_method=GET/
view
view=.my.post_view
request_method=POST/
See also the other predicates of the view directive:
request_method=POST
/
.. and so on.
- C
Thanks,
Steve
--- On Thu, 1/21/10, Chris McDonough chr...@plope.com wrote:
From: Chris McDonough chr...@plope.com
Subject: Re: [Repoze-dev] Trouble with repoze.bfg.restrequest
To: Steve Schmechel steveschmec...@yahoo.com
Cc: repoze-dev
repoze.bfg 1.2b1 has been released. It is available via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Or via PyPI.
The docs at http://docs.repoze.org/bfg/1.2 have been updated.
The changelog follows:
1.2b1 (2010-01-18)
==
Bug Fixes
-
- In
Here's a near-final revision of what will be sent to the printer for printing
as a book entitled The repoze.bfg Web Application Framework:
http://plope.com/static/bfg-1.2b1dev.pdf
If anyone has any last-minute comments I'd appreciate hearing them; this will
go in for printing by tomorrow.
- C
Shane Hathaway wrote:
Chris McDonough wrote:
repoze.bfg 1.2b1 has been released. It is available via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Or via PyPI.
The docs at http://docs.repoze.org/bfg/1.2 have been updated.
Yay! :-)
I've been following BFG 1.2
lot of work went into it.
Congrats!
-Casey
On Jan 17, 2010, at 7:43 PM, Chris McDonough wrote:
Here's a near-final revision of what will be sent to the printer for
printing
as a book entitled The repoze.bfg Web Application Framework:
http://plope.com/static/bfg-1.2b1dev.pdf
Shane Hathaway wrote:
Chris McDonough wrote:
- App developers can use get_current_registry() to get the registry
and thus get access to utilities and such, e.g.
get_current_registry().getUtility(...)
Ah-ha, that's what I was missing. For some reason, I failed to find
that bit
Hanno Schlichting wrote:
On Sun, Jan 17, 2010 at 10:51 AM, Wichert Akkerman wich...@wiggy.net wrote:
There is something to consider: I suspect more things are started to
require the new publisher events from Zope2, either directly or via one
of the backport packages for Zope 2.10. I'm not sure
Brian Sutherland wrote:
I'm making an attempt at packaging sourcecodegen and Chameleon for
Debian, but I've immediately stumbled over licensing issues.
AFAIKT all code in the repoze repository shares the same license, so I
plan on copying the version from
Miuler wrote:
Hi, will work chameleon on google appengine?
No.
in future?
Sorry, unknown.
- C
___
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
Wichert Akkerman wrote:
The current bfg docs do not seem to explain add_route very well. The URL
dispatch section briefly mentions its existance, but does not show
anything beyond a very trivial usage.
Trying to use it it seems that you
have to pass a Python callable directly as view
Details aside, we've decided to do middleware configuration via PasteDeploy,
not in the BFG app factory. I don't see any reason to change that.
Thanks for this work BTW! I'll take a look shortly...
- C
Wichert Akkerman wrote:
On 2010-1-6 21:43, Tres Seaver wrote:
-BEGIN PGP SIGNED
fixes if you want this to make it
in.
Thanks,
- C
Chris McDonough wrote:
Details aside, we've decided to do middleware configuration via PasteDeploy,
not in the BFG app factory. I don't see any reason to change that.
Thanks for this work BTW! I'll take a look shortly...
- C
Wichert
, Jan 4, 2010 at 5:31 PM, Chris McDonough chr...@plope.com
mailto:chr...@plope.com wrote:
Diaz, Eduardo wrote:
Ok, that worked!
Great!
For the record, I installed Jython in the meantime, and I just fixed
the repoze/bfg/paster.py Jython bug on the trunk. I'm
Carlos de la Guardia will be giving a tutorial at this year's PyCon entitled
Your First BFG Application.
http://us.pycon.org/2010/tutorials/delaguardia_bfg/
If you're going to PyCon, you may want to sign up. I think today might be the
last day for early bird signup.
- C
repoze.bfg 1.2a11 has been released
Install via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Or via PyPI.
The documentation at http://docs.repoze.org/bfg/1.2 has been updated.
This release provides Jython compatibility (zope.configuration 3.7.1 and
zope.schema 3.6.1
repoze.bfg 1.2a10 has been released.
The documentation at http://docs.repoze.org/bfg/1.2 has been updated.
It is installable via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Or via PyPI.
The changelog follows.
1.2a10 (2010-01-04)
===
Features
Diaz, Eduardo wrote:
Ok, I think I know why this is happening,
the exception raises in the _validate method of the Orderable class,
this is where it happends:
if self.max is not None and value self.max:
raise TooBig(value, self.max)
Here, max is a ValidatedProperty it has a
Hi, Elliot,
Elliot Gage wrote:
Good morning,
I’ve been looking at bfg for some time. I am primarily a dotnet
developer and have a few web projects I am looking at migrating over to
a python framework.
I am aware of a few frameworks already out there including django,
Of Chris McDonough
Sent: Monday, January 04, 2010 12:04 PM
To: Elliot Gage
Cc: repoze-dev@lists.repoze.org
Subject: Re: [Repoze-dev] new to bfg
Hi, Elliot,
Elliot Gage wrote:
Good morning,
I've been looking at bfg for some time. I am primarily a dotnet
developer and have a few web
to keep checking with other templating engines.
On Mon, Jan 4, 2010 at 4:10 PM, Chris McDonough chr...@plope.com
mailto:chr...@plope.com wrote:
Diaz, Eduardo wrote:
That helps with the zcml problem but now, there is a problem
with chameleon, is there another template
I'm not sure which version of bfg you're contrasting this against, but if the
view is a class, constructing the class just constructs the class. It's not
until the class' __call__ is invoked that a response is potentially generated.
If a previous BFG version worked differently, it was a bug.
’)}
+ foo/abc/def/a/b/c - {’baz’:abc, ’bar’:*def*, ’traverse’:(’a’, ’b’, ’c’)}
peace,
Ricardo Mendes
Thank you! Fixed in SVN...
- C
2009/12/27 Chris McDonough chr...@plope.com mailto:chr...@plope.com
The most recent release (1.2a9) of repoze.bfg contains a documentation
Martin Aspeli wrote:
I assumed it was just acquisition trickery. Looking more closely,
z2bob.py uses the repoze.vhm.virtual_root via the getVirtualRoot in the
repoze.vhm.utils package to get the virtual root and it seems to create
the correct path for traversal regardless of the issue. Just
The most recent release (1.2a9) of repoze.bfg contains a documentation
licensing modification.
Previous releases of the documentation stated no explicit license. The most
recent release of repoze.bfg asserts that the documentation has the Creative
Commons Attribution-Noncommercial-No
repoze.bfg 1.2a8 has been released.
Install it via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Or via PyPI.
The docs at http://docs.repoze.org/bfg/1.2 have been updated.
The changelog follows:
1.2a8 (2009-12-24)
==
Features
- Add a
repoze.bfg 1.2a7 has been released
Install via:
easy_install -U http://dist.repoze.org/bfg/1.2/simple repoze.bfg
The docs at http://docs.repoze.org/bfg/1.2 have been updated.
The changelog follows:
1.2a7 (2009-12-20)
==
Features
- Add four new testing-related
Steve Schmechel wrote:
Sorry, if some of these questions are inane, but I am try to
get proficient at participating in IRC again after many years
away. (There is apparently more activity on the Repoze IRC channel
than on this list, so I guess I better learn if I want to participate.)
repoze.bfg 1.2a6 has been released
Install via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Or via PyPI.
The docs at http://docs.repoze.org/bfg/1.2 have been updated.
The changelog follows:
1.2a6 (2009-12-18)
==
Features
- The
repoze.bfg 1.2a5 has been released.
Install via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Or via PyPI.
The changelog follows.
1.2a5 (2009-12-10)
==
Features
- When the ``repoze.bfg.exceptions.NotFound`` or
repoze.bfg 1.1.5 and 1.2a4 have been released.
Install 1.2a4 via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Install 1.1.5 via:
easy_install -i http://dist.repoze.org/bfg/1.1/simple repoze.bfg
1.1.5 is a backport bugfix release. 1.2a4 is a bigfix and minor
Wichert Akkerman wrote:
I use a custom authorization problem, but noticed that when I enable
BFG_DEBUG_AUTHORIZATION it always reports no authorization policy in
use. I am guessing this happens because the authorization policy is
registered after the routes are setup, so the queryUtility
Two new releases of repoze.bfg are out.
Install 1.1.4 via:
easy_install -i http://dist.repoze.org/bfg/1.1/simple repoze.bfg
Install 1.2a3 via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Or either is available via PyPI.
These are bugfix releases. No release
Darryl Cousins wrote:
Hi All,
I found that the recipe [1] to run repoze.bfg on gae **almost** works.
Thanks for the analysis!
I think the best solution would be to make all imports of Chameleon
conditional.This actually *used* to be the case; something must have broken
it since 1.0
Chris McDonough chr...@plope.com added the comment:
Thanks; I've fixed this in the 0.6 release, now on PyPI.
--
status: unread - resolved
__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue110
And in the spirit of
http://blog.curiasolutions.com/2009/10/the-great-web-technology-shootout-round-3-better-faster-and-shinier/
a Chameleon hello world benchmark, rendering a template from a view that calls
repoze.bfg.chameleon_zpt.render_template_to_response filling a slot in a
macro from
Andreas Jung wrote:
Tried to get zopyx.smartprintng.server working w/ BFG 1.2a1. This fails
badly.
Anything I am missing?
Thanks for trying it. I have fixed this on the trunk and your server now
starts.
For maximum forward compatibility, you'll probably eventually want to change:
Tim Hoffman wrote:
Hi Chris
I think this is a good direction to go in. I am already starting to
do something similair this with repoze (I am still on 1.0.1) but plan
to upgrade in the next few weeks,.
The advantage of this style of configuration really comes into its own
when you are
repoze.bfg 1.2a1 is now released. It can be installed via:
easy_install -i http://dist.repoze.org/bfg/1.2/simple repoze.bfg
Or via PyPI.
Documentation for this release exists at:
http://docs.repoze.org/bfg/1.2/
This is a major feature release. The new features of the release are
Hi folks,
I've been working on the next minor revision to repoze.bfg, which will be 1.2.
1.2 will be a slightly more important release than the previous 1.1 release,
because it involves exposing an imperative API for configuration (adding
routes/views, etc).
In particular, it means that the
Happy Thanksgiving folks.
repoze.bfg 1.1.2 has been released. Install it via:
easy_install -i http://dist.repoze.org/bfg/1.1/simple repoze.bfg
Or via PyPI.
It is a pure bugfix release. The changelog follows:
1.1.2 (2009-11-26)
==
Bug Fixes
-
- When two views
Alberto Valverde wrote:
Hello,
I'm trying to make use of the new-in-1.1 accept view predicate to
register several views with the same name for the same context object to
render a response in the content-type requested by the user but the
result is not quite what I expect. The zcml looks
Tim Hoffman wrote:
Hi Chris
I am trying to register some views directly through python and not
using the view decorator,
I have tried using code very similiar to repoze.bfg.testing.
However after doing so, whilst I can look the view up by doing
a
Alberto Valverde wrote:
Hello,
I'm trying to make use of the new-in-1.1 accept view predicate to
register several views with the same name for the same context object to
render a response in the content-type requested by the user but the
result is not quite what I expect. The zcml looks
Iain Duncan wrote:
Hey Chris et. al, I'm seriously considering switching my main platform
for our inhouse framework to mostly repoze.bfg with auxillary pylons
bits from the other way around, but have a few concerns that mostly
relate to making sure that clients buy into our platform of choice
Iain Duncan wrote:
Hey all, one thing I miss in Pylons is the out of the box integration
with the interactive debugger in your browser. I'll confess ignorance as
to how this is hooked up, but it's *really* helpful to people learning
pylons. Wondering if it would be a good plan to put this 'in
Iain Duncan wrote:
Am I missing something terribly obvious, or is that not just a regular
instance method in the example? Or am I misunderstanding the point?
Perhaps this part could be clearer, it's confused me at any rate.
I'm not really clear how to make changes to make it clearer. What are
Iain Duncan wrote:
Wondering if it would be possible to add a paster starter template for
bgf_routes ( no sqlalchemy )? Seems to be a missing piece.
Instead of adding another a paster template, we could just answer whatever
concrete questions you have about routing? Each paster template we
repoze.bfg 1.1.1 has been released
Install via:
easy_install -i http://dist.repoze.org/bfg/1.1/simple repoze.bfg
The docs at http://docs.repoze.org/bfg/1.1 have been updated.
This is a pure bugfix release. The changelog follows:
1.1.1 (2009-11-21)
==
Bug Fixes
-
repoze.bfg 1.1 has been released. You can install it via:
easy_install -i http://dist.repoze.org/bfg/current/simple repoze.bfg
Or via PyPI.
The What's New In repoze.bfg 1.1 document details the changes made since the
1.0 release: http://docs.repoze.org/bfg/1.1/whatsnew-1.1.html
The
F. Oliver Gathmann wrote:
Hello!
Coming from Pylons, I'm a newbie to the object graph traversal world, so
this question might be slightly misplaced (but hopefully a no-brainer
for the bfg gurus...).
I very much like the concept of looking up my model object before
dispatching to a
Chris McDonough chr...@plope.com added the comment:
For the record, in repoze.who 1.1, the userid string gets base64 encoded in the
cookie so this
should not be a problem. Old cookies continue to work via a b/c shim. I'm
going to close this
issue as a result.
--
status: chatting
Chris McDonough chr...@plope.com added the comment:
Dead.
--
status: chatting - resolved
__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue8
__
___
Repoze-dev
Chris McDonough chr...@plope.com added the comment:
Long dead.
--
status: chatting - resolved
__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue26
__
___
Repoze-dev
Chris McDonough chr...@plope.com added the comment:
Filed under replace bugtracker at some point. ;-)
--
status: chatting - resolved
__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue20
Chris McDonough chr...@plope.com added the comment:
Long dead.
--
status: chatting - resolved
__
Repoze Bugs b...@bugs.repoze.org
http://bugs.repoze.org/issue36
__
___
Repoze-dev
New submission from Chris McDonough chr...@plope.com:
mcdonc: so malthe wrt this difference between 1.1a8 and 1.1b3, can you send me
some
sample view config zcml so i can figure out wtf happened because i cant see
anything obvious
in the changelong
[5:00pm] malthe: mcdonc: http://pastie.org
Chris McDonough chr...@plope.com added the comment:
I cant replicate this with the following configuration on 1.1b3:
In views.py:
---
from webob import Response
def my_view(context, request):
return {'project':'starter'}
def one(context, request):
return Response('one
Steve Schmechel wrote:
Is there a proper way to invoke bfgshell in a ZODB project?
(The code and configuration I am using is exactly from the tutorial
and everything else works fine.)
The last argument you pass, main needs to change.. it needs to match the name
of the app section in the ini
Graham Dumpleton wrote:
On Nov 2, 9:17 am, Chris McDonough chr...@plope.com wrote:
repoze.bfg 1.1b1 has been released.
...
- If a BFG app that had a route matching the root URL was mounted
under a path in modwsgi, ala ``WSGIScriptAlias /myapp
/Users/chrism/projects/modwsgi/env
repoze.bfg 1.1b2 has been released. Yes, I know the releases have been coming
at an unreasonable pace, sorry.
You can install it via:
easy_install -i http://dist.repoze.org/bfg/1.1/simple repoze.bfg
*or*, now that I've worked out a niggling bug that made installing it from PyPI
a bit
Nathan Van Gheem wrote:
Hello all,
I realize my opinion may not matter very much, but as one who uses many
of the repoze packages often, I often wondered why the repoze namespace
was used for many of the packages.
Because we're lazy and unoriginal. And we like being able to name a
Graham Dumpleton wrote:
On Nov 3, 8:33 am, Malthe Borch mbo...@gmail.com wrote:
2009/11/2 Martin Aspeli optilude+li...@gmail.com:
I think it's better to use top-level namespaces to indicate ownership,
if nothing else to avoid the chance of things clashing. For the repoze
project to claim
repoze.bfg 1.1a9 has been released
It may be installed via:
easy_install -i http://dist.repoze.org/bfg/1.1/simple repoze.bfg
The documentation at http://docs.repoze.org/bfg/1.1/ have been updated.
This release is hopefully the last alpha release in the 1.1 series (hopefully
only betas and
A hidden feature of PasteDeploy (the package which defines the .ini format
for a BFG package.ini file) is that you can just inject something in the .ini
format found at e.g. http://www.red-dove.com/python_logging.html#config into
the BFG app .ini file (literally just paste it in to the BFG app
Andreas Reuleaux wrote:
Maybe it would be good to have this in the bfg docs ?
- I mean: just a basic example to get something running
and a link to this tutorial - no details of how to make
a more complicated configuration - or is it just me,
that didn't know of this hidden feature of
Andreas Reuleaux wrote:
Yes, I can have a look (not immediately though).
Should I just provide some patches or do you
want to give me svn write access (should I sign
some contributor agreement)?
Either is fine, really. The contributor agreement page at
http://repoze.org/contributing.html
georgehu wrote:
Chris McDonough wrote:
You need something like span tal:replace=structure request.form()/
Regarding to the request.form(), I've tried to find document explaining
the usage but no luck. Can you give it more explaination?
There's probably nothing in the docs about
Chris McDonough chr...@plope.com added the comment:
I mean that I personally don't know how to change the software based on your
suggestions so
far in a way that adds significant value, and that if WSGI2 will handle the
encoding and
decoding issues, maybe this should just do something better
Chris McDonough chr...@plope.com added the comment:
Thanks for the report.
So to be honest, I can't find an issue with the current strategy. The
mod_auth_tkt README
actually contradicts itself here, saying in one section that it checks
user_data for internal
data, then in another section
Chris McDonough chr...@plope.com added the comment:
I believe this.
On the other hand, I'm not sure that a 'charset' setting dedicated to
repoze.who or to
repoze.what is really sufficient. Who will set the charset? What will it be
set to? What does it
mean to individual plugins? What
Chris McDonough chr...@plope.com added the comment:
I need to take back the assumption of monstrous, disastrous security hole
wrt. using the
pickle module (or eval, as you suggest) because in this particular case, the
cookie content is
hashed and compared against a digest that includes
Chris McDonough chr...@plope.com added the comment:
Apologies, I see no reason that the way the current authtkt plugin encodes
userids needs to
change. Given that this is a plugin, if you need alternate behavior, you can
of course copy and
change the implementation and distribute
Malthe Borch wrote:
2009/10/22 Tres Seaver tsea...@palladion.com:
The view predicates are there to allow selecting a particular view among
several registered for the route or context: e.g., to dispatch to
different views for GET versus POST for the same route / context and
view name.
It
repoze.bfg 1.1a7 has been released.
Install via:
easy_install -i http://dist.repoze.org/bfg/dev/simple repoze.bfg
The documentation at http://docs.repoze.org/bfg has been updated.
This release is a pure feature release, there are no backwards
incompatibilities or deprecations: bfg_view
Hi,
The repoze.bfg web framework version 1.1a6 has been released.
You can install it via:
easy_install -i http://dist.repoze.org/bfg/dev/simple repoze.bfg
Highlights: new xhr, accept, and header predicates in view directives,
internal changes to supports the Python dictionary API against
george hu wrote:
According to the document, A common thing to want to do is to attach an
__acl__ to the context object dynamically for declarative security
purposes, I moved __acl__ statement from RootFactory class to the Page
class, as in the following code:
class Page(Base):
Chris McDonough wrote:
Hi George,
Have you read
http://docs.repoze.org/bfg/1.1/narr/urldispatch.html#using-repoze-bfg-security-with-url-dispatch
?
Never mind, I see that you have.
The model object is not the context in this situation. The context is
something different. It's
repoze.bfg 1.1a5 has been released.
You may install it using the following command:
easy_install -i http://dist.repoze.org/bfg/dev/simple repoze.bfg
It is also on PyPI.
This release is mostly a documentation improvement and speed improvement
release. The changelog follows:
1.1a5
Martin Aspeli wrote:
Thomas G. Willis wrote:
I was kind of expecting that the book would have some gaps as far as bfg
goes. I was hoping that going through the exercise of struggling through
those gaps would help me arrive at a better understanding of all things
zope(a lofty goal I'm
Thanks Kevin.
This was actually already fixed in SVN but the docs rendering hadn't been
updated for a while. I just updated it.
- C
Kevin J. Kalupson wrote:
Hi,
I spotted a minor typo on http://docs.repoze.org/xmlrpc/ .
near the top -
easy_install -i
Chris McDonough wrote:
Iain Duncan wrote:
On Sat, 2009-09-26 at 01:42 -0400, Chris McDonough wrote:
Iain Duncan wrote:
If I could get the 'one-registry-to-rule-them-all' loaded in middelware
on ingress, is there at least a reasonable way of forcing the bgf app to
use that registry as it's
Iain Duncan wrote:
Hmm, I agree, but I feel like there is a smell either way. ;-)
It seems to me I can either:
A) - create a duplicate of the the same registry in my abstract model
middleware by using zope.configuration.xmlconfig( same_file_as_bfg ) and
then know that any utility/adapter
Thomas G. Willis wrote:
I was wondering if anyone is aware of an example that shows how to
link repoze.what to an aclauthorzationpolicy .
No.
I have some who/what plugin bits (WhoPlugin, GroupSource and
PermissionSource) I wrote that I would like to use, and preferably
using an ini file
Iain Duncan wrote:
Hi folks, I'm working on breaking out a project into bits, including
some in bfg, some in pylons, and an abstract model that lives in it's
own middleware. What I want to have happen is for all parts to share one
zca registry, but my experiments so far are turning up naught.
Iain Duncan wrote:
Ok, so I figured out that if I get the zope.component.globalSiteManager
in my model middleware on ingress, that in bfg I can indeed query it for
registered adapaters and get at that. But in the bfg app, the global
site manager is empty and the siteManager has the stuff from
Iain Duncan wrote:
On Sat, 2009-09-26 at 01:04 -0400, Chris McDonough wrote:
Iain Duncan wrote:
Ok, so I figured out that if I get the zope.component.globalSiteManager
in my model middleware on ingress, that in bfg I can indeed query it for
registered adapaters and get at that. But in the bfg
Iain Duncan wrote:
If I could get the 'one-registry-to-rule-them-all' loaded in middelware
on ingress, is there at least a reasonable way of forcing the bgf app to
use that registry as it's site manager?
Nope. BFG hooks this hookable thing when it loads a ZCML file to put it
in
its own
george hu wrote:
../bin/paster --plugin=repoze.bfg bfgshell sqlroute.ini main
Traceback (most recent call last):
File ../bin/paster, line 8, in module
load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
File
Sebastien Douche wrote:
On Wed, Sep 23, 2009 at 04:01, bfg-build...@securactive.org wrote:
The Buildbot has detected a failed build of py2.5-64bit-linux on Repoze BFG
trunk.
Full details are available at:
http://bfg.buildbot.securactive.org/builders/py2.5-64bit-linux/builds/9
Buildbot
repoze.bfg 1.1a4 has been released. It's a bugfix and cleanup release that has
some minor backwards incompatibilities with previous 1.1a releases.
It can be installed via:
easy_install -i http://dist.repoze.org/bfg/1.1/simple repoze.bfg
The docs have been updated and are available from
Andreas Jung wrote:
Hi there,
I have repoze.bfg app listening 0.0.0.0 (started using paster serve).
What is the best practice for restricting access to the server to a
number of IP addresses other than through a firewall. Is there
some WSGI middleware doing the filtering? I think writing
Tim Hoffman wrote:
Hi Folks
I have always used traversal rather than routes(url dispatch) , but I
just happen to have a requirement to potentially
use such a schema however to complicate things I need to use a hybrid
model, but I really need to use routes after traversal
rather than before
repoze.bfg 1.1a3 has been released. It is available via:
easy_install -i http://dist.repoze.org/bfg/dev repoze.bfg
This release is a feature release. It's sorta kinda major.
In 1.0.X releases, when a view callable returned a non-Response return value,
BFG would eventually throw an error,
Yeah... in your app's .ini file:
[app:myapp]
my_setting = 1
In the code:
from repoze.bfg.settings import get_settings
settings = get_settings()
setting = settings['my_setting']
Andreas Jung wrote:
Hi,
is there a common pattern for passing additional configuration parameters
to a
://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
body
divheader/div
OK
divfooter/div
/body
/html
Make sense?
Robert Marianski wrote:
On Mon, Aug 24, 2009 at 10:11:04PM -0400, Chris McDonough wrote:
I like this.
Some variations:
- Have IOWrap
Responding to myself, I've actually checked in this feature on the trunk too.
Chris McDonough wrote:
So... to stop hijacking Robert's idea for a directive which spells an
owrap for a view... I have a slightly different idea for this.
We could allow a ZCML inner view directive to spell
Here's some sci fi I wrote up about a page ZCML directive. As Tim Hoffman
suggested, maybe the fact that the page is passed into the template would
give us enough pull capability to avoid any of the other hacks I proposed to
push global names into every rendered template.
Note that the view
201 - 300 of 464 matches
Mail list logo