Skip to content

Commit

Permalink
[fc] Repository: plone.app.registry
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2016-02-15T13:53:45+01:00
Author: Gil Forcada Codinachs (gforcada) <[email protected]>
Commit: plone/plone.app.registry@a5e9f0b

Document how to remove a record

Files changed:
M README.rst
Repository: plone.app.registry
Branch: refs/heads/master
Date: 2016-02-15T13:54:30+01:00
Author: Gil Forcada Codinachs (gforcada) <[email protected]>
Commit: plone/plone.app.registry@da72606

Update CHANGES.rst

Files changed:
M CHANGES.rst
Repository: plone.app.registry
Branch: refs/heads/master
Date: 2016-02-17T00:08:01+01:00
Author: Jens W. Klein (jensens) <[email protected]>
Commit: plone/plone.app.registry@4b08988

Merge pull request #14 from plone/gforcada-patch-1

Document how to remove a record

Files changed:
M CHANGES.rst
M README.rst
  • Loading branch information
jensens committed Feb 16, 2016
1 parent 59e5258 commit 6fd81c8
Showing 1 changed file with 89 additions and 35 deletions.
124 changes: 89 additions & 35 deletions last_commit.txt
Original file line number Diff line number Diff line change
@@ -1,58 +1,112 @@
Repository: plonetheme.barceloneta
Repository: plone.app.registry


Branch: refs/heads/master
Date: 2016-02-16T18:26:43+01:00
Author: Rene Jochum (pcdummy) <[email protected]>
Commit: https://github.com/plone/plonetheme.barceloneta/commit/5da1c209efb4b8a308dc383f6ca3ca4782e0aa47
Date: 2016-02-15T13:53:45+01:00
Author: Gil Forcada Codinachs (gforcada) <[email protected]>
Commit: https://github.com/plone/plone.app.registry/commit/a5e9f0b18bdc55995a7fcbda3d4460a0a4d8fc5d

Add barceloneta-mixin-font to plone.export.less.
Document how to remove a record

Its required by barceloneta-fonts.
Files changed:
M README.rst

diff --git a/README.rst b/README.rst
index 5f1272d..dbf5ed0 100644
--- a/README.rst
+++ b/README.rst
@@ -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
~~~~~~~~~~~~~~~



Repository: plone.app.registry


Branch: refs/heads/master
Date: 2016-02-15T13:54:30+01:00
Author: Gil Forcada Codinachs (gforcada) <[email protected]>
Commit: https://github.com/plone/plone.app.registry/commit/da72606861c1607f99e37760484fcc099b243521

Update CHANGES.rst

Files changed:
M plonetheme/barceloneta/theme/less/barceloneta.plone.export.less
M CHANGES.rst

diff --git a/plonetheme/barceloneta/theme/less/barceloneta.plone.export.less b/plonetheme/barceloneta/theme/less/barceloneta.plone.export.less
index a0f538a..5a39148 100644
--- a/plonetheme/barceloneta/theme/less/barceloneta.plone.export.less
+++ b/plonetheme/barceloneta/theme/less/barceloneta.plone.export.less
@@ -19,6 +19,7 @@
@import "@{barceloneta-mixin-clearfix}";
@import "@{barceloneta-mixin-gridframework}";
@import "@{barceloneta-mixin-grid}";
+ @import "@{barceloneta-mixin-font}";
diff --git a/CHANGES.rst b/CHANGES.rst
index 6027ee8..8542742 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -10,7 +10,8 @@ New:

Fixes:

-- *add item here*
+- Document how to remove a registry record with Python.
+ [gforcada]

//*// Reset and dependencies

1.3.8 (2016-02-08)


Repository: plonetheme.barceloneta
Repository: plone.app.registry


Branch: refs/heads/master
Date: 2016-02-16T11:27:30-06:00
Author: Nathan Van Gheem (vangheem) <[email protected]>
Commit: https://github.com/plone/plonetheme.barceloneta/commit/3b33335c05362b66f7fa7a39551afac132e125d8
Date: 2016-02-17T00:08:01+01:00
Author: Jens W. Klein (jensens) <[email protected]>
Commit: https://github.com/plone/plone.app.registry/commit/4b08988734831e01a4cfb223a8b80a77661cbb0a

Merge pull request #88 from plone/barceloneta-mixin-font
Merge pull request #14 from plone/gforcada-patch-1

Add barceloneta-mixin-font to plone.export.less.
Document how to remove a record

Files changed:
M plonetheme/barceloneta/theme/less/barceloneta.plone.export.less

diff --git a/plonetheme/barceloneta/theme/less/barceloneta.plone.export.less b/plonetheme/barceloneta/theme/less/barceloneta.plone.export.less
index a0f538a..5a39148 100644
--- a/plonetheme/barceloneta/theme/less/barceloneta.plone.export.less
+++ b/plonetheme/barceloneta/theme/less/barceloneta.plone.export.less
@@ -19,6 +19,7 @@
@import "@{barceloneta-mixin-clearfix}";
@import "@{barceloneta-mixin-gridframework}";
@import "@{barceloneta-mixin-grid}";
+ @import "@{barceloneta-mixin-font}";
M CHANGES.rst
M README.rst

diff --git a/CHANGES.rst b/CHANGES.rst
index 6027ee8..8542742 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -10,7 +10,8 @@ New:

Fixes:

-- *add item here*
+- Document how to remove a registry record with Python.
+ [gforcada]


1.3.8 (2016-02-08)
diff --git a/README.rst b/README.rst
index 5f1272d..dbf5ed0 100644
--- a/README.rst
+++ b/README.rst
@@ -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
~~~~~~~~~~~~~~~

//*// Reset and dependencies


0 comments on commit 6fd81c8

Please sign in to comment.