This guide provides an overview of Diazo theming in Plone.
Contents
*** Settings *** | |
Documentation A test suite with a single test for valid login. This test has | |
... a workflow that is created using keywords from the resource file. | |
Resource resource.txt | |
*** Test Cases *** | |
Valid Login |
Clone the repository in Git: | |
$ git clone [email protected]:plone/plone.app.theming.git | |
$ cd plone.app.theming | |
$ git checkout optilude-ace | |
Optional: Use plone-devstart to bootstrap | |
$ curl -O https://raw.github.com/plone/plone-devstart/master/plone-devstart.py | |
$ python2.6 plone-devstart.py --version=4.1.3 |
diff --git a/src/ZPublisher/WSGIPublisher.py b/src/ZPublisher/WSGIPublisher.py | |
index 5d5b702..02bf7e2 100644 | |
--- a/src/ZPublisher/WSGIPublisher.py | |
+++ b/src/ZPublisher/WSGIPublisher.py | |
@@ -13,6 +13,7 @@ | |
""" Python Object Publisher -- Publish Python objects on web servers | |
""" | |
from cStringIO import StringIO | |
+import sys | |
import time |
Index: src/infrae/wsgi/publisher.py | |
=================================================================== | |
--- src/infrae/wsgi/publisher.py (revision 49248) | |
+++ src/infrae/wsgi/publisher.py (working copy) | |
@@ -19,6 +19,7 @@ | |
from zope.component import queryMultiAdapter | |
from zope.event import notify | |
from zope.interface import implements | |
+from zope.interface import directlyProvides, directlyProvidedBy | |
from zope.site.hooks import getSite |
# This buildout.cfg should work to run Zope as a WSGI process | |
[buildout] | |
extends = http://dist.plone.org/release/4.1-latest/versions.cfg | |
parts = instance paster wsgiconfig | |
[instance] | |
recipe = plone.recipe.zope2instance | |
eggs = | |
Plone |
This guide will attempt to explain some of Zope's internals. It may be useful for debugging purposes, or simply to better understand how Zope works.
If you only want to know how to use the APIs and features described below, you are probably better served reading the Zope Developer's Guide.