[web2py] AttributeError when writing the year: response.write(request.now.year)

2015-07-12 Thread Anthony
Where in your code is request.now.year? -- 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

[web2py] AttributeError when writing the year: response.write(request.now.year)

2015-07-12 Thread philip
I am having difficulty tracing anything on this. I tried testing by populating the tables, deleting the database and populating manually, and am pretty clueless here. Is there anything wrong with the following? *error info:* it looks like the AttributeError is raised when response.write(request