Skip to content

Commit

Permalink
Document how to remove a record
Browse files Browse the repository at this point in the history
  • Loading branch information
gforcada committed Feb 15, 2016
1 parent 1144af5 commit a5e9f0b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,13 @@ This is sometimes useful in cases where it is not certain that the registry
has been initialised. You can also omit checking for individual fields, by
passing an ``omit`` parameter giving a tuple of field names.

Delete records
~~~~~~~~~~~~~~

To delete a record is as simple as::

del registry.records['plone.app.theming.interfaces.IThemeSettings.enabled']

Registry events
~~~~~~~~~~~~~~~

Expand Down

0 comments on commit a5e9f0b

Please sign in to comment.