On Friday, March 7, 2014 2:58:19 PM UTC-5, User wrote:
>
> That works and I have done that but it still doesn't address that setting 
> description to None prints out the string "None". 
>

Why would you explicitly set it to None rather than (a) not setting it at 
all or (b) deleting the key using del? By default, response.meta is empty, 
so if you explicitly add a key to it, the assumption is that you want that 
key included.

 That behavior doesn't seem correct to me.  Also the welcome app default 
> setting is not google friendly.
>

The meta values in menu.py are intended as an example -- they should be 
customized or deleted. The default is "a cool new app", so clearly it is 
not intended to be used as is. I wouldn't object to removing 
response.meta.description, though, as it probably makes more sense to set 
that in particular controllers or views. Maybe add a Google Code issue 
suggesting that.

Anthony

-- 
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