Field('modified_on', 'datetime', default=request.now),# update=request.now),
NameError: name 'request' is not definedField('modified_on', 'datetime', default=request.now, update=request.now),
File "/usr/local/lib/python3.6/dist-packages/bottle.py", line 1400, in __getattr__
raise AttributeError('Attribute %r not defined.' % name)
AttributeError: Attribute 'now' not defined.--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to web2py+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/ebc49b2d-ed20-4fd9-9aa0-ee94a7f4cfde%40googlegroups.com.