Commit 45311aff authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

raise NotImplementedError in WebSite_createWebSiteAccount so that it is not...

raise NotImplementedError in WebSite_createWebSiteAccount so that it is not executed actually, because it is just an example of the implementation.
parent 06bcf928
...@@ -63,6 +63,11 @@ ...@@ -63,6 +63,11 @@
verified and opened by administrator first\n verified and opened by administrator first\n
- you need to adjust group, function and site to your needs\n - you need to adjust group, function and site to your needs\n
"""\n """\n
\n
# since the following code is just an example, we simply raise an exception so that\n
# it is not executed actually.\n
raise NotImplementedError\n
\n
from Products.Formulator.Errors import ValidationError, FormValidationError\n from Products.Formulator.Errors import ValidationError, FormValidationError\n
portal = context.getPortalObject()\n portal = context.getPortalObject()\n
translateString = context.Base_translateString\n translateString = context.Base_translateString\n
......
1088 1089
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment