Skip to content

Latest commit

 

History

History
79 lines (45 loc) · 1.29 KB

README.rst

File metadata and controls

79 lines (45 loc) · 1.29 KB

Introduction

operun.unique provides an interface to check the uniqueness of a content type.

Compatibility

Version 1.0.0 is tested with Plone 4.3.x.

Installation

Add this line in the eggs section of your buildout.cfg

eggs =
    ...
    operun.unique

Add the interface to your content type class

from operun.unique.interfaces import IUnique

class ContentType(xxx):
    """Content Type
    """
    implements(IContentType, IUnique)

Uninstalling

TBD.

Installation as a dependency from another product

If you want to add operun.crm as a dependency from another products use the profile default in your metadata.xml.

<metadata>
  <version>1</version>
    <dependencies>
        <dependency>profile-operun.unique:default</dependency>
    </dependencies>
</metadata>

Toubleshooting

Please report issues in the bugtracker at https://github.com/operun/operun.unique/issues.

Branches

The master-branch supports Plone 4 only.

License

GNU General Public License, version 2

Contributors