Re: DateTime vs. datetime
Nathan Van Gheem <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <CAL8hw9FS5+CTdpf9iQ=8x9T4Tdd5t+RTstYDLt+GnoaG9Csjqw@mail.gmail.com> |
It's a restricted python limitation--probably not allowed to import it for "security." Using DateTime is fine though nonetheless--it's not going away anytime soon likely. On Mon, Mar 23, 2015 at 4:59 PM, Chuck Theobald <[email protected]> wrote: > Plone 4.3.3 (4308) > CMF 2.2.7 > Zope 2.13.22 > Python 2.7.6 > > So I am given to understand that python datetime is to be preferred over > Plone's DateTime. Yet, when I try to "from datetime import time" in a > PloneFormGen field validator and submit the form, I get the > "Insufficient Privileges" page. Using "from DateTime import DateTime" > works fine. I'd prefer to stay with standard python if possible, how can > I use datetime instead of DateTime? > > http://docs.plone.org/external/plone.api/docs/api/portal.html > > -- > Chuck Theobald > System Administrator > The Robert and Beverly Lewis Center for Neuroimaging > University of Oregon > P: 541-346-0343 > F: 541-346-0345 > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming The Go Parallel Website, > sponsored > by Intel and developed in partnership with Slashdot Media, is your hub for > all > things parallel software development, from weekly thought leadership blogs > to > news, videos, case studies, tutorials and more. Take a look and join the > conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > Plone-Users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/plone-users > -- Nathan Van Gheem Solutions Architect Wildcard Corp ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Plone-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/plone-users