[web2py] Modules Import Problem.

2018-07-20 Thread Scott ODonnell
I have an API Wrapper library I'm trying to use in my Web2PY project by including it in the modules directory. I'm copying a directory called myWrapper into the modules directory. The result is applications/myApp/modules/myWrapper Within the myWrapper directory are all the files that make up the

[web2py] Newbie questions about Apache & Web2PY

2017-02-12 Thread Scott ODonnell
All , I've only used the native web2py webserver in the past. I've recently had to move to Apache as a requirement for the environment the apps need to live in. I was able to get things up and running but ran into a problem where the default system python is 2.7.6 and I need a minimum of 2.7.9

[web2py] Extending LDAP Authentication with "Whitelist"

2016-09-20 Thread Scott ODonnell
All , I need to authenticate users against , LDAP , which I have working. I need to also check the username against a simple whitelist.txt file before allowing access. Where / how is the proper way to implement this? I currently have some logic in a function called ldap_connect that is invoked

[web2py] Newbie question regarding controllers and views

2016-08-05 Thread Scott ODonnell
I'm trying to understand the relationship between controllers and views and the general flow of code. Per the documentation , the display_form() function will run and then feed the "view" with the dict(form=form) At that point the view "default/display_form.html" would be processed and sent to