Hi Massimo, Do you mean when we use a part of web2py then our application will use GPL license. If it is a commercial product then how do we consider closing source although it is using GPL license?
Regards, Kutlu On Nov 13, 4:49 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > Sorry no. In my view BSD protects developers (they have to be > mentioned in derivative products, product gets used more, more > developers can use it) while GPL protects users (developers cannot > stop open source development and create a closed source commercial > derivative). web2py is about protecting users. Linux is a successful > OS because it is GPL. > > On Nov 13, 7:59 am, Douglas Soares de Andrade <dsandr...@gmail.com> > wrote: > > > > > Em Thu, 12 Nov 2009 22:45:34 -0800 (PST) > > mdipierro <mdipie...@cs.depaul.edu> escreveu: > > > > yes. need latest web2py stable > > > > from gluon.template import render > > > print render(content='{{for i in range(10)}}{{=a}}{{pass}}',context= > > > {'a':'hello\n'}) > > > > if you want to use the helpers you also need to import them > > > > from gluon.template import render > > > from gluon.html import * > > > print render(content='{{for i in range(10)}}{{=a}}{{pass}}',context= > > > {'a':DIV('hello')}) > > > > You can use context='..' or stream=open(...) or filename='...', you > > > can also pass a path=... required for lookup in case the tamplate > > > content contains {{include...}} {{extend...}} > > > > If you do this your code will be bound to be GPL2 because web2py > > > source is GPL2. > > > Hi Massimo, > > > Dont you think it could be an issue ? What about if you have someone > > that likes web2py template but needs to create commercial apps ? > > > Cant we use bsd license or even better, LGPL ? > > > Im asking this, because PySide (LGPL bindings to Qt4) were created > > (among other things) because of PyQt licensing.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" 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 -~----------~----~----~----~------~----~------~--~---