prettydate availability throughout your app comes from this line in a model

from gluon.tools import prettydate

if you upgraded web2py but your app's code remained the same, you should 
not suffer from it. If instead you overwrote some files on your app with 
ones coming from the new scaffolding app, that line is no longer there. 
Just add it back.

On Saturday, March 14, 2015 at 8:36:24 AM UTC+1, Maurice Waka wrote:
>
> I have been using the old version of web2py but when I updated to the 
> latest version, I noted that there are some things that don't work with my 
> new app.
> I get errors such as prettydate is not declared', now the view.html page 
> is returning 'None'on my requests.
> Can I go back to the old version without problems or I have to redo my 
> code all over.
> Regards
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to