You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Specify "Program" for your content type name, and "Container" as Dexterity base class (remember that Programs will contain Sessions).
84
+
Specify `Program` for your content type name, and `Container` as the Dexterity base class (remember that Programs will contain Sessions).
85
85
Choose not to use XML Model for this example.
86
86
87
87
Now take a look at the `setup.py` file in your new package.
@@ -109,7 +109,7 @@ Now let's take a look at `configure.zcml` in the `examples/conference` directory
109
109
Again, we want to note a few parts:
110
110
111
111
```xml
112
-
<configure ...>
112
+
<configure>
113
113
114
114
<i18n:registerTranslationsdirectory="locales" />
115
115
@@ -135,8 +135,6 @@ Again, we want to note a few parts:
135
135
post_handler=".setuphandlers.uninstall"
136
136
/>
137
137
138
-
...
139
-
140
138
</configure>
141
139
```
142
140
@@ -146,7 +144,7 @@ The alternative would be to manually add a line, such as `<include package="plon
146
144
The `include package=".browser"` directive loads additional ZCML configuration from the `browser` subdirectory.
147
145
In turn, the `browser.resourceDirectory` command in that configuration file creates a directory for static resources that we want to make available through the web.
148
146
149
-
Finally, we register a GenericSetup profile to make the type installable, which we will build up over the next several sections.
147
+
Finally, we register a `GenericSetup` profile to make the type installable, which we will build up over the next several sections.
150
148
151
149
When you've got your project tuned up, return to your `buildout/instance` directory and edit `buildout.cfg` to add `example.conference` to your eggs list, and `src/example.conference` to your `develop` sources list:
0 commit comments