How to use the iso8601.applyPatches function in iso8601

To help you get started, we’ve selected a few iso8601 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github plone / Products.CMFPlone / Products / CMFPlone / patches / __init__.py View on Github external
import dateIndexPatch           # Avoid OverflowErrors in Date*Indexes

import unicodeFallbackPatch     # Makes the TAL engine in Zope 2.10+ accept
                                # utf-8 encoded strings as well as Unicode

import csrf                     # Protects most important methods from
csrf.applyPatches()             # CSRF attacks

import speed                    # Various caching patches to improve speed

import securemailhost           # SecureMailHost BBB, remove in Plone 5.0
securemailhost.applyPatches()

import iso8601                  # use `DateTime.ISO8601` for `DateTime.ISO`
iso8601.applyPatches()

import security					# misc security fixes

import sendmail
sendmail.applyPatches()
github plone / Plone / Products / CMFPlone / patches / __init__.py View on Github external
import dateIndexPatch           # Avoid OverflowErrors in Date*Indexes

import unicodeFallbackPatch     # Makes the TAL engine in Zope 2.10+ accept
                                # utf-8 encoded strings as well as Unicode

import csrf                     # Protects most important methods from
csrf.applyPatches()             # CSRF attacks

import speed                    # Various caching patches to improve speed

import securemailhost           # SecureMailHost BBB, remove in Plone 5.0
securemailhost.applyPatches()

import iso8601                  # use `DateTime.ISO8601` for `DateTime.ISO`
iso8601.applyPatches()

import sendmail
sendmail.applyPatches()