The only purpose of SQLFORM.factory is that you do not need to import anything
On Jun 24, 1:29 am, Hans Donner <[email protected]> wrote: > You can, > but you can still use the old method (backwards compatible) > > On Wed, Jun 24, 2009 at 8:18 AM, annet<[email protected]> wrote: > > > Massimo, > > >> - SQLFORM.factory instead of form_factory > > > Does that mean that instead of: > > > from gluon.sqlhtml import form_factory > > > ... I import > > > from gluon.sqlhtml import SQLFORM.factory > > > ... and in function, replace: > > > form=form_factory(SQLField('') > > > ... with: > > > form=SQLFORM.factory('') > > > Kind regards, > > > Annet. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

