[web2py] Re: Lacking nginx deployment guide

2011-03-27 Thread LightOfMooN
I reinstalled Nginx with sudo add-apt-repository ppa:nginx/stable sudo apt-get update sudo apt-get install nginx and now have error with sertificates ssl_certificate /opt/nginx/conf/server.crt; ssl_certificate_key /opt/nginx/conf/server.key; Where can I get it? On 27 мар, 05:55, VP

[web2py] Re: Lacking nginx deployment guide

2011-03-27 Thread LightOfMooN
David, I'd like to try nginx with fastcgi. Can you give me some helpful links to deploy it? On 27 мар, 08:32, David J. da...@styleflare.com wrote: I don't know about running web2py using uwsgi; However; When I run web2py with nginx I use the fastcgi module; I configure nginx like described

[web2py] Re: Lacking nginx deployment guide

2011-03-27 Thread pbreit
OK, here's another try. This is just a shell script which I have verified works on a clean Ubuntu 10.04 install. This script needs no additional editing. To get it to work with the script provided by Linode, everything is owned be the user uwsgi. Besides the script, the only other place where

[web2py] Re: Lacking nginx deployment guide

2011-03-27 Thread pbreit
Ah, that's probably what caused the problems since my scripts were pulling the latest version not a specific version.

[web2py] Re: Lacking nginx deployment guide

2011-03-27 Thread LightOfMooN
Huh, it runs :) Thanks a lot! I think, this + 443 port should be on web2py slices Thanks again On 27 мар, 13:24, pbreit pbreitenb...@gmail.com wrote: OK, here's another try. This is just a shell script which I have verified works on a clean Ubuntu 10.04 install. This script needs no additional

[web2py] Re: Web2py GAE integration

2011-03-27 Thread Luther Goh Lu Feng
Check your python version that you are running on. That tripped me up badly the 1st time I used GAE with web2py On Mar 27, 7:10 am, Shark shark4...@gmail.com wrote: We have troubles in GAE and web2py integration in our graduation project We tried many tutorials in the web and we fails so I

[web2py] Re: Lacking nginx deployment guide

2011-03-27 Thread LightOfMooN
Can't configure SSL. pbreit, can you help? I used this to create certificate: cd /opt/nginx/conf; openssl genrsa -out server.key 1024 cd /opt/nginx/conf; openssl req -batch -new -key server.key -out server.csr cd /opt/nginx/conf; openssl x509 -req -days 1780 -in server.csr -signkey server.key

[web2py] Re: Lacking nginx deployment guide

2011-03-27 Thread LightOfMooN
Sorry, it's my bad. Just compiled without http_ssl_module, because I missed newline when pasted script On 27 мар, 14:18, LightOfMooN vladsale...@yandex.ru wrote: Can't configure SSL. pbreit, can you help? I used this to create certificate: cd /opt/nginx/conf; openssl genrsa -out server.key

[web2py] Found an app running on facebook with web2py.

2011-03-27 Thread Jason Brower
I don't use facebook, but he mentioned it runs on web2py I wanted to post the link to it here. http://mytop10gift.appspot.com/ BR, Jason Brower

[web2py] Re: Web2py GAE integration

2011-03-27 Thread Mariusz Zieliński
More details would be useful. I'm no expert on deploying on GAE, though I succesfully managed to deploy my first app on GAE yesterday :) I got some problems with app.yaml file as with some rules from example file in skip_files section there were errors, that it couldn't find contrib modules. Other

[web2py] Re: Lacking nginx deployment guide

2011-03-27 Thread LightOfMooN
also need add into nginx.conf something like this: sendfileon; client_max_body_size 100M; to avoid 413 Request Entity Too Large when upload big files

Re: [web2py] Re: Cherokee server locking while upload

2011-03-27 Thread Roberto De Ioris
Thx, but what is the best solution for now to deploy web2py with more than 3k users online, which can upload and download files? No using a streaming upload webserver will solve your problem Move to nginx, this will solve your specific problem, and use X-Accel-Redirect (this is the

[web2py] Re: Cherokee server locking while upload

2011-03-27 Thread LightOfMooN
Yes, just tested it. Many parallel downloads, nice speed, and no locks even more. Nginx Rocks! On 27 мар, 15:41, Roberto De Ioris robe...@unbit.it wrote: Thx, but what is the best solution for now to deploy web2py with more than 3k users online, which can upload and download files? No using

[web2py] Re: Web2py GAE integration

2011-03-27 Thread johntynan
Ahmed, I had written a tutorial about Setting up web2py for use with Google App Engine here: http://opensourcebroadcasting.blogspot.com/2010/04/setting-up-web2py-for-use-with-google.html Please feel free to have a look and let me know if this helps you. Also, please feel free to let me know if

[web2py] add single pseudo-field to SQLFORM

2011-03-27 Thread Brian Will
I have an insert SQLFORM of 8 fields, to which I'd like to add a single I agree to terms checkbox at the bottom. There are probably tons of ways to do this, but I'm hoping someone has a really simple method that doesn't require resorting to a manual FORM? Can I simply tack on another INPUT to the

[web2py] Re: Found an app running on facebook with web2py.

2011-03-27 Thread Anthony
It's also listed on http://web2py.com/poweredby On Sunday, March 27, 2011 4:51:56 AM UTC-4, encompass wrote: I don't use facebook, but he mentioned it runs on web2py I wanted to post the link to it here. http://mytop10gift.appspot.com/ BR, Jason Brower

[web2py] Re: add single pseudo-field to SQLFORM

2011-03-27 Thread villas
Hi Brian One rather low-level way to add a field to a SQLFORM would be something like this: myinput = INPUT(_type='checkbox',_name='test') f = SQLFORM(db.job_post) f[0].insert(len(f[0])-1,myinput) See also this post from Bruno: http://groups.google.com/group/web2py/msg/41fbeda903c71f3f There

[web2py] Re: getting fields created by SQLFORM but which are not in the form

2011-03-27 Thread DenesL
On Mar 26, 9:22 pm, Brian Will brian.thomas.w...@gmail.com wrote: Found my own answer: I can create an onvalidation function for the form that only runs when the form is accepted but before the new record is made. Right The problem this then introduces is how to set the enclosing variable

[web2py] Re: add single pseudo-field to SQLFORM

2011-03-27 Thread DenesL
Just add form[0].insert(-2,TR(LABEL('I agree to terms'),INPUT(_name='agree',value=True,_type='checkbox'))) after the form has been defined. On submission form.vars.agree will have the status of the checkbox, which you probably would check using onvalidation. Where do I collect my bonus points?

[web2py] Re: add single pseudo-field to SQLFORM

2011-03-27 Thread Anthony
See also http://web2py.com/book/default/chapter/05#Server-side-DOM-and-Parsing and http://www.web2pyslices.com/main/slices/take_slice/43. On Sunday, March 27, 2011 9:03:26 AM UTC-4, villas wrote: Hi Brian One rather low-level way to add a field to a SQLFORM would be something like this:

[web2py] clean database

2011-03-27 Thread LightOfMooN
Is there a way to pack just app code? (without images and other uploads) Or it can be done only by manual delete upload content?

Re: [web2py] Re: Web2py GAE integration

2011-03-27 Thread Ahmed Sharkawy
*Thanks for help but I need step by step tutorial for windows if you can so you elp us in solve a big trouble in our project* * * *Do I need to edit some files ?* *How to tell GAE that this my app ?* * * *Thanks in advance * 2011/3/27 johntynan jgty...@gmail.com Ahmed, I had written a tutorial

Re: [web2py] Re: Web2py GAE integration

2011-03-27 Thread Jonathan Lundell
On Mar 27, 2011, at 3:21 AM, johntynan wrote: I had written a tutorial about Setting up web2py for use with Google App Engine here: http://opensourcebroadcasting.blogspot.com/2010/04/setting-up-web2py-for-use-with-google.html Please feel free to have a look and let me know if this helps

Re: [web2py] Re: Web2py GAE integration

2011-03-27 Thread Jonathan Lundell
On Mar 27, 2011, at 2:08 AM, Mariusz Zieliński wrote: More details would be useful. I'm no expert on deploying on GAE, though I succesfully managed to deploy my first app on GAE yesterday :) I got some problems with app.yaml file as with some rules from example file in skip_files section

[web2py] Re: Cherokee server locking while upload

2011-03-27 Thread Jose
On 27 mar, 06:54, LightOfMooN vladsale...@yandex.ru wrote: Yes, just tested it. Many parallel downloads, nice speed, and no locks even more. Nginx Rocks! Hello LightOfMooN, please, could show me how to configure nginx + + web2py uwsgi. I use uwsgi + cherokee + web2py and I had the same

[web2py] Re: Cherokee server locking while upload

2011-03-27 Thread LightOfMooN
Yes, ofc. Thanks to pbreit for his script. I just added support for 443 port (SSL) and Postgres to it. It installs web2py+nginx+uwsgi+postgres on ubuntu: === apt-get update apt-get -y upgrade apt-get -y install build-essential psmisc python-dev libxml2 libxml2- dev

[web2py] Re: Cherokee server locking while upload

2011-03-27 Thread pbreit
Oh cool, you added ssl and postgres. Looks good. Nice.

[web2py] Re: add single pseudo-field to SQLFORM

2011-03-27 Thread villas
Thanks Denes. It is very frustrating when this kind of information is not readily available, so I have added this pearl of wisdom to the book. I appreciate that what I have written is not fully explained, but sometimes a simple example is worth a thousand words. If you feel this could or should

[web2py] Re: web2py cherokee vanilla

2011-03-27 Thread pbreit
Hmmm...I don't use Cherokee anymore but will try to have a look. Is that a Web2py-issued ticket? Setting up SSL on Cherokee took me a few tries. Also, do you see parameters_443.py in your web2py directory? If you see parameters_80.py you can duplicate it and rename it. 443 is the SSL port

[web2py] Freelancer project to build web chat client with web2py

2011-03-27 Thread Anthony
http://www.freelancer.com/projects/XML-Python/XMPP-Web-chat-Client-with.html

[web2py] web2py 1.94.6

2011-03-27 Thread Massimo Di Pierro
Fixes some minor issues, including adding the missing *.yaml. Please report any issue ASAP. Massimo

[web2py] Re: web2py cherokee vanilla

2011-03-27 Thread dewittdale
I've definitely got parameters_443.py and parameters_8000.py in the /var/web2py directory. No parameters_80.py file to note though. I tried the https login in a guessing game to succeed. I'm at a stalemate. I'm a chemist not a programmer per se. The web2py issued ticket was copy/pasted from

Re: [web2py] web2py 1.94.6

2011-03-27 Thread Praneeth Bodduluri
Massimo, Now that we have a setup.py in the tree could you also upload the package to PyPI? http://pypi.python.org/pypi/web2py/ python setup.py sdist upload Should do it. Thanks, Praneeth IRC: lifeeth On Sun, Mar 27, 2011 at 10:52 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote:

Re: [web2py] web2py 1.94.6

2011-03-27 Thread Massimo Di Pierro
I can do it. Do you want to be in charge of it? Massimo On Mar 27, 2011, at 12:43 PM, Praneeth Bodduluri wrote: python setup.py sdist upload

[web2py] Re: web2py 1.94.6

2011-03-27 Thread VP
Massimo: I don't know if this should be considered a bug, but it appears requires_login() redirects to default/user/login if a not-logged-in user accesses a page that requires login. The problem is if the log- in function is not with the default controller and/or not called user, the redirect

[web2py] How suitable would Web2Py be for building a federated search engine?

2011-03-27 Thread NoviceSortOf
I'm curious if anybody has built a federated search engine or a front end for a federated search engine with Web2py? Had conversation about this with a client today who suggested Django as a possible framework. My initial reaction was that Django was more invested in content management than

[web2py] View for 1:n dataset

2011-03-27 Thread asklucas
Hello! I created an app using the wizard. I'd like to create a general view for a record and its sub-records (1:n relation). Unfortunately I tend to creating Spaghetti-code and the solution is quite messy. Could you suggest any solution that is simpler? Is it possible to reuse this for

[web2py] Setup Script: Ubuntu + Nginx + uWSGI

2011-03-27 Thread pbreit
I did a little more work on a setup script for Ubuntu + Nginx + uWSGI. Please let me know if you experience any problems or have any suggestions. I'm fairly new to this. + Tested on Ubuntu 10.04 (Rackspace Cloud) + Nginx 0.8.54 + SSL (self-signed) + uWSGI 0.9.7.1 + Postgres 8.4 + Web2py Current

[web2py] Re: web2py fabric, pip, virtualenv, virtualenvwrappers deployment scripts

2011-03-27 Thread Christopher Steel
If you are running OS X 10.04 this worked well for me : http://universalcake.blogspot.com/2011/03/installing-python-and-pil-on-os-x-104.html On Mar 25, 2:50 pm, pbreit pbreitenb...@gmail.com wrote: I had a lot of trouble getting reliable installs of PIL, especially on my Mac. What I currently

[web2py] Re: Setup Script: Ubuntu + Nginx + uWSGI

2011-03-27 Thread Anthony
Once this has been tested/refined, it might be a nice addition to the /web2py/scripts folder. On Sunday, March 27, 2011 3:29:43 PM UTC-4, pbreit wrote: I did a little more work on a setup script for Ubuntu + Nginx + uWSGI. Please let me know if you experience any problems or have any

[web2py] Re: How suitable would Web2Py be for building a federated search engine?

2011-03-27 Thread Massimo Di Pierro
consider this proof of concept: db.define_table('document',Field('title'),Field('body')) db.define_table('peer',Field('url')) def index(): return dict(form=crud.create(db.document) def search(): from gluon.dal import Rows import xmlrpclib form = SQLFORM.factory(Field('keyword'))

[web2py] Re: Setup Script: Ubuntu + Nginx + uWSGI

2011-03-27 Thread Massimo Di Pierro
Let me know when you think this is a ready for inclusion. I agree with Anthony, it would be a valuable addition to scrips/ On Mar 27, 2:29 pm, pbreit pbreitenb...@gmail.com wrote: I did a little more work on a setup script for Ubuntu + Nginx + uWSGI. Please let me know if you experience any

[web2py] Funny behavior with referenced Field display if writable=False

2011-03-27 Thread szimszon
Hi! I use Version 1.94.6 (2011-03-27 18:20:38). I have in db: - db.define_table( 'mail_domain', Field( 'domainname', 'string', label =

[web2py] Re: Setup Script: Ubuntu + Nginx + uWSGI

2011-03-27 Thread LightOfMooN
It needs something like client_max_body_size 100M; in nginx.conf to avoid error: 413 Request Entity Too Large (for example, try to install app with 6mb or upload big file) On 28 мар, 01:53, Massimo Di Pierro massimo.dipie...@gmail.com wrote: Let me know when you think this is a ready for

[web2py] Re: How suitable would Web2Py be for building a federated search engine?

2011-03-27 Thread Massimo Di Pierro
Errata consider this proof of concept: db.define_table('document',Field('title'),Field('body')) db.define_table('peer',Field('url')) def index(): return dict(form=crud.create(db.document) def search(): from gluon.dal import Rows import xmlrpclib form =

Re: [web2py] Re: What is the convention for using web2py/site-packages for GAE?

2011-03-27 Thread Jonathan Lundell
On Mar 25, 2011, at 3:53 PM, ChrisM wrote: wondering if this has been resolved as i have copied a package into site packages using latest web2py and GAE dev_appserver cant find it. Try logging sys.path and see if site-packages is there. You should see the web2py root, gluon, and

Re: [web2py] web2py 1.94.6

2011-03-27 Thread Praneeth Bodduluri
Hello Massimo, I can help maintain the PyPI uploading for every new revision. -- Praneeth IRC: lifeeth On Sun, Mar 27, 2011 at 11:17 PM, Massimo Di Pierro massimo.dipie...@gmail.com wrote: I can do it. Do you want to be in charge of it? Massimo On Mar 27, 2011, at 12:43 PM, Praneeth

[web2py] Re: Not sure of the etiquette for asking about an issue...

2011-03-27 Thread howesc
Mike, asking is always a good thing. lots of stuff flys by and sometimes things fall through the cracks. i just looked at your bug report, and honestly am having trouble following it (which might be why it has not been addressed yet). can you post the table definition and a post that fails?

[web2py] Re: add single pseudo-field to SQLFORM

2011-03-27 Thread Brian Will
Thanks, everyone. That's what I was looking for. On Mar 27, 9:50 am, villas villa...@gmail.com wrote: Thanks Denes. It is very frustrating when this kind of information is not readily available, so I have added this pearl of wisdom to the book. I appreciate that what I have written is not

[web2py] Re: Not sure of the etiquette for asking about an issue...

2011-03-27 Thread Massimo Di Pierro
I am pretty sure I responded to this but my response disappeared! My response was something like: I apologize this was overlooked. We will take care of it asap. Massimo On Mar 26, 3:35 pm, tiny mikepe...@gmail.com wrote: Hi- I reported an issue on the Google projects issues list (#150) on

[web2py] Re: add single pseudo-field to SQLFORM

2011-03-27 Thread Brian Will
One small problem with this: my checkbox is now validated with onvalidate which only runs when everything else validates. I want the 'must agree to terms' error to popup any time the form is submitted without the checkbox checked, not just when it's the only think that doesn't validate. If I could

[web2py] From cherokee (uwsgi) to nginx (uwsgi)

2011-03-27 Thread Jose
Hello, Referring to the thread [1], I'm a bit lost. My current setup in cherokee is as follows: file /web2py/config.xml uwsgi pythonpath/home/web2py//pythonpath modulewsgihandler/module socket/tmp/web2py.sock/socket master/ processes15/processes

[web2py] Re: add single pseudo-field to SQLFORM

2011-03-27 Thread DenesL
Actually the insert index depends on the formstyle. It should be -2 for formstyle='table2cols' as above. That has to be changed to -1 for formstyle='table3cols'. I think this is explained somewhere else in the manual but form[0] is the TABLE and form[0][0] would be the first row (TR), etc. When

[web2py] args(0) is always None??

2011-03-27 Thread niknok
I have this function that displays several fields from two databases. but I couldn't get it to do the following: 1) the previous question button actually causes an error. how come my session.item_id is always zero when I thought I was passing an incrementing value session.item_id+1 . 2) when i

[web2py] Re: add single pseudo-field to SQLFORM

2011-03-27 Thread DenesL
On Mar 27, 6:51 pm, Brian Will brian.thomas.w...@gmail.com wrote: BTW, I got confused by INPUT's value arg. I kept treating it like _value until I realized that value is only meant to be set to True to turn the checkbox on by default. Maybe deprecate 'value' in favor of 'prechecked' for

[web2py] Re: add single pseudo-field to SQLFORM

2011-03-27 Thread Anthony
You can also use the .element and .elements methods of helper objects to find particular form elements without needing to know exactly where they are, as explained in http://web2py.com/book/default/chapter/05#Server-side-DOM-and-Parsing and

[web2py] Re: getting fields created by SQLFORM but which are not in the form

2011-03-27 Thread kawate
sorry if i misunderstand your question, this can be your help. http://web2py.com/book/default/chapter/07#SQLFORM-and-insert/update/delete says SQLFORM creates a new db record when the form is accepted. Assuming 1. form=SQLFORM(db.test) , then the id of the last-created record will be accessible

[web2py] Re: Cherokee server locking while upload

2011-03-27 Thread Jose
Thank you very much.

[web2py] Pls Help. I can not change the background color of the flash message

2011-03-27 Thread Pystar
Hi, I have tried to change the background image of response.flash, but no matter what I do, its just not working. I have tinkered with the base.css file, everything. No changes reflected. Can anyone help out? thanks Pystar

[web2py] Re: add single pseudo-field to SQLFORM

2011-03-27 Thread villas
Hi Denes, You are right, we should at least point out that this example depends on the formstyle. I have altered the book accordingly. Thanks, D On Mar 28, 1:07 am, DenesL denes1...@yahoo.ca wrote: Actually the insert index depends on the formstyle. It should be -2 for formstyle='table2cols'

[web2py] Re: Pls Help. I can not change the background color of the flash message

2011-03-27 Thread Anthony
If you're using the 'welcome' app as the base, then in the 'web2py specific' section near the end of 'base.css', you can change the 'background' option of 'div.flash'. Note, you'll probably have to reload the page to see the change take effect. Anthony On Sunday, March 27, 2011 8:45:02 PM

[web2py] Re: How to build windows binary yourself?

2011-03-27 Thread Brian M
Massimo, I'll be emailing you a revised script based off of Praneeth's standalone_exe.py shortly. I decided to make it a bit more interactive Features: 1) Creates web2py.exe with py2exe 2) Offers to remove the Windows DLLs that py2exe includes but are likely to have licensing issues. 3) Offers

[web2py] Re: How to build windows binary yourself?

2011-03-27 Thread Massimo Di Pierro
Fantastic. Yes something got out of sync. I will remove the unwanted files. On Mar 27, 2011, at 8:23 PM, Brian M wrote: Massimo, I'll be emailing you a revised script based off of Praneeth's standalone_exe.py shortly. I decided to make it a bit more interactive Features: 1) Creates

[web2py] Re: Pls Help. I can not change the background color of the flash message

2011-03-27 Thread Pystar
Did that, it didnt work.in previous version, it used to work for me. I dont know what I am doing wrong. Disclaimer, I included blueprint css framework into the page I am working on. On Mar 28, 2:21 am, Anthony abasta...@gmail.com wrote: If you're using the 'welcome' app as the base, then in the

[web2py] Re: Pls Help. I can not change the background color of the flash message

2011-03-27 Thread DenesL
Changing base.css has no effect. I suspect the css is being modified by the jQuery effects applied to the flash div but I have not been able to prove it. On Mar 27, 9:21 pm, Anthony abasta...@gmail.com wrote: If you're using the 'welcome' app as the base, then in the 'web2py specific' section

[web2py] Re: Pls Help. I can not change the background color of the flash message

2011-03-27 Thread Pystar
Hope this isnt a bug ? On Mar 28, 2:34 am, DenesL denes1...@yahoo.ca wrote: Changing base.css has no effect. I suspect the css is being modified by the jQuery effects applied to the flash div but I have not been able to prove it. On Mar 27, 9:21 pm, Anthony abasta...@gmail.com wrote:

[web2py] Re: args(0) is always None??

2011-03-27 Thread DenesL
The code is all messed up in the post above. Could you repost to pastebin.com for example and copy the link here?. On Mar 27, 8:09 pm, niknok nikolai...@gmail.com wrote: I have this function that displays several fields from two databases. but I couldn't get it to do the following: 1) the

[web2py] Re: Pls Help. I can not change the background color of the flash message

2011-03-27 Thread Anthony
Hmm, I just tried it in the current 'welcome' app (1.94.5), and changing the background color in div.flash in base.css works for me. Maybe you've got another div.flash defined somewhere else that's overriding the one in base.css. You could try adding '!important' to the declaration in base css

[web2py] Re: Pls Help. I can not change the background color of the flash message

2011-03-27 Thread DenesL
Now it works... grrr. Restarting web2py the browser (set to clear all on closing) did it for me. On Mar 27, 9:34 pm, DenesL denes1...@yahoo.ca wrote: Changing base.css has no effect. I suspect the css is being modified by the jQuery effects applied to the flash div but I have not been able

[web2py] Re: Pls Help. I can not change the background color of the flash message

2011-03-27 Thread Pystar
Awesome!!!. it works, I actually had 2 base.css files, and one was overiding the other. Thanks for the reponses, this community rocks. Pystar, Lagos, Nigeria, West Africa. On Mar 28, 2:44 am, Anthony abasta...@gmail.com wrote: Hmm, I just tried it in the current 'welcome' app (1.94.5), and

[web2py] Re: Pls Help. I can not change the background color of the flash message

2011-03-27 Thread Pystar
This community really rocks!!! thanks guys, just tweeted about this. On Mar 28, 2:55 am, Pystar aitoehi...@gmail.com wrote: Awesome!!!. it works, I actually had 2 base.css files, and one was overiding the other. Thanks for the reponses, this community rocks. Pystar, Lagos, Nigeria, West

[web2py] Help needed on 3rd party authentication and links

2011-03-27 Thread Pystar
I have asked this question in the past but did not get an appropriate response. I would like to know how a site like tenthrow.com, which was built with web2py, incorporates third party authentication mechanisms like Twitter, Facebook and Google and local authentication on the site? If the tenthrow

[web2py] Re: How to build windows binary yourself?

2011-03-27 Thread Brian M
http://code.google.com/p/web2py/issues/detail?id=224 Issue created so this doesn't get lost. (script is attached if anyone wants it)

[web2py] ExtJS / qooxdoo - Python wrapper

2011-03-27 Thread Indra Gunawan
Hi, wondering is there exists ExtJS or Qooxdoo wrapper for Python? I know some but its Pascal wrapper (take a look how they work/wrap), they parse ExtJS classes source code and create ObjectPascal classes code, this produced classes interface ability to produce JS code

[web2py] Re: Help needed on 3rd party authentication and links

2011-03-27 Thread Anthony
On Sunday, March 27, 2011 10:18:42 PM UTC-4, Pystar wrote: I have asked this question in the past but did not get an appropriate response. I would like to know how a site like tenthrow.com, which was built with web2py, incorporates third party authentication mechanisms like Twitter,

[web2py] My little Python projects

2011-03-27 Thread pierreth
Hello, I updated my blog to talk about some Python projects I started. So take a look and don't be afraid to comment. If you think these projects can be integrated in another bigger project, suggestions are welcome. Note that Python script project to create Eclipse project from web2py

[web2py] Re: Help needed on 3rd party authentication and links

2011-03-27 Thread pbreit
tenthrow.com appears to be down. It looks like you were not interested in Janrain. There are some other approaches: http://web2py.com/book/default/chapter/08#Integration-with-OpenID,-Facebook,-etc. Although it was not clear to me from any docs or gluon code how you could, for example, code

[web2py] Re: Pls Help. I can not change the background color of the flash message

2011-03-27 Thread pbreit
Isn't it this CSS in static/css/base.css? Also, If you have any interest in CSS, Chrome/Safari have an Inspect Element command and Firefox has the terrific Firebug add on. These are all must-have tools for working with web page styles. /*** web2py specific ***/ div.flash {

[web2py] Re: args(0) is always None??

2011-03-27 Thread pbreit
Yeah, it looks like the code didn't come through very well. Pastebin would be good or go to groups.google.com where you can paste it and format it as Courier New font. I'd try to stay away from using 0 in your business logic. It might not always do what you expect since it can have different