Hi there,Is it possible/wise to "auto-create" content objects in the ZODB? Say I'm creating a blog application and have a container type(BlogContainer) and want an instance called "blog" in the root of the ZODB. Is it possible to programatically specify this, or is my only option to create it thr
On 9/25/06, Stephan Richter <[EMAIL PROTECTED]> wrote:
On Monday 25 September 2006 03:21, John Maddison wrote:
> Is it possible/wise to "auto-create" content objects in the ZODB? Say I'm
> creating a blog application and have a container type(BlogContainer) and
>
On 9/25/06, Darryl Cousins <[EMAIL PROTECTED]> wrote:
Hi John,
This may be what you are after:
root['my-app'] = MyApp()
Right, that's basically what I want to run, but I can't seem to figure
out how to have that run at ZODB creation time. Should I be listening
for the event that Fred added (
Oops, forgot to CC the list.
On 9/27/06, John Maddison <[EMAIL PROTECTED]> wrote:
On 9/26/06, Fred Drake <[EMAIL PROTECTED]> wrote:
> On 9/26/06, John Maddison <[EMAIL PROTECTED]> wrote:
> > Right, that's basically what I want to run, but I can't seem to f
Hi all,
Firstly, I have written some tests for an application, and with both
"./bin/test -u" and "./bin/test -f", they pass successfully. However,
"./bin/test" fails in the functional tests (on a form submit) with a
rather uninformative "HTTP Error 500: Internal Server Error".
Performing as-near
Hi all,
I've just started playing around with using z3c.layer to create
applications that don't use the ZMI at all. Everything is pretty
simple so far, except for one fairly important step: creating my
initial application object in the ZODB. What methods do people use to
create their applicatio
On 6/23/07, Stephan Richter <[EMAIL PROTECTED]> wrote:
Yeah, people at ZC prefer using generations. Others (including me), on the
other hand, have developed z3c.configurator and z3c.sampledata, which can
setup entire applications for you.
I can sort of see how to use generations, but z3c.config
Hi all,
I'm using a PrincipalFolder to store users who have signed up to a
site, and during signup I'd like to ask them for some more information
(email address, etc) and store it in a principal annotation.
However, PrincipalFolders use IInternalPrincipals, which do not appear
to be easily conve