On 2-mrt-2009, at 21:23, mdipierro wrote:
> we only support 2.5. Could you please try that first? Done. Both with Python 2.5 as installed via Darwin Ports, as well as using the binary version of Web2py 1.57 that includes Python 2.5. The problem remains. However I tried something new. If I start with an empty line, that line is also removed, keeping the db definition intact. However as that definition is now the first line it will be deleted on a subsequest save (tested and confirmed). However if I start the first line with a comment (an empty one suffices), that comment line is retained (as expected). So the workaround for this to start every model definition with a comment. Funny thing is that table definitions when started on the first line are not removed. Something weird is definitely going on here. -- Guido --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---