DateTime vs. datetime
Chuck Theobald <[email protected]>
| Newsgroups | gmane.comp.web.zope.plone.user |
|---|---|
| Message-ID | <[email protected]> |
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/