Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Declarative content type configuration for Archetypes.

Project Description

Introduction

This package adds a declarative interface for the registration of Archetypes content classes.

Usage

Use an at:register directive to register each of your content classes.

Example configuration:

<configure
    xmlns="http://namespaces.zope.org/zope"
    xmlns:five="http://namespaces.zope.org/five"
    xmlns:at="http://namespaces.plone.org/archetypes">

  <five:registerPackage package="." />

  <permission id="example.Add" title="collective.example: Add example" />

  <at:register
      class=".content.Example"
      permission="example.Add"
      />

</configure>

You do not need to (and should not) call atapi.registerType on your content classes. This is done automatically by the framework.

Credits

Malthe Borch <mborch@gmail.com>

Changes

0.2 - 2011-09-14

  • Compatibility with Zope 2.13.

0.1 - 2010-12-01

  • Initial release
Release History

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
archetypes.configure-0.2.tar.gz (9.1 kB) Copy SHA256 Checksum SHA256 Source Sep 14, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting