Hello everybody,

After reading about importing modules in web2py I feel not satisfied
regarding the way I import modules from the modules directory because I have
to specify the application name in the import statement, the other ways are
hackish and are painful if you are doing lots of imports.

Another issue is that. I want to add classes and new validators to my code,
where should I put that? model was the best place so far because when I
change my code in those classes I don't have to restart the python instance
so web2py can see my changes as the case in modules/

But the problem is that in model/ I cannot import other modules from the
same package *model* is there a nicer way to organize my stuff in a way
that's more intuitive?

Best Regards,

Ahmed Soliman
Software Engineer
B-Virtual Team.

Thebe Technology. Egypt - Belgium
16 Nehro St. Heliopolis. Cairo
Egypt.

http://www.b-virtual.org
http://www.thebetechnology.com

GPG ID: 0xAEEE5042

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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