> > Then I copied these template files from /applications/welcome/views/
> > but they do not show up in the admin/default/design/app web page for
> > my app:
> > generic.json
> > generic.rss
> > generic.xml
> > And in fact when I tried to use the web interface to create a new
> > view, it insisted on appending a ".html" extension even though I
> > didn't want it to be there for a file called "generic.csv". Should
> > this be changed to allow some additional extensions now?
>
> You need to upgrade admin. run web2py with --upgrade=yes
> or
>
> > cd application/admin
> > tar zxvf ../../admin.w2p

Neither of those fixed it for me... oh well.

> > Also I didn't find an example "generic.csv" template in the welcome
> > app. But there is a function that looks like it's just a place holder
> > in /gluon/serializers.py called csv() - is that something that's
> > already being worked on?
>
> yes we are thinking about it.
> The fact is that there is no generic way to serialize a dict() into
> csv.
> There are already two ways for python to serve csv (@service.csv)

yes, translating between dict and csv is not obvious. thanks for the
suggestion, I'll be able to work with that.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to