I have several forms and accompanying functions, I would like to be
able to import them from the controller folder as in:

/controlllers
              /forms/__init__
              /forms/ reg_form.py

             mycontroller.py


#in mycontroller.py


import forms.reg_form ### ERROR


This is not possible for some reason. I could have put them in the
"modules" folder, but that invilves import gluon.html.gluon.languages
e.t.c which is also a headache. Is there any workaround?


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

Reply via email to