Hi Luciano,
You said that right, web2py has a great community :) .. welcome
aboard. I'm sure you will find web2py a superb web development
framework.
I have been using web2py casually for the last one year or so, and on
a serious basis for the last 2 months.
If you are happy about the inbuilt cron
/default/chapter/29/7#Validators
On Feb 21, 12:51 pm, whowhywhat mads...@gmail.com wrote:
You can also just write a jquery validator for the same..
On Feb 21, 12:49 pm, whowhywhat mads...@gmail.com wrote:
This should work. Although it is ugly (it gives a error message under
all
Good tip Wikus..
you can also do the something similar with SQLFORM.factory and not
define in the model (that way no DB table is created)
in controller
MY_OPTIONS = [a,b,c]
form = SQLFORM.factory(
Field(my_options, list:string,
anybody .. please .. pretty please :)..
On Feb 21, 10:20 am, whowhywhat mads...@gmail.com wrote:
I need a web2py SQLFORM.grid to accept and process based on some
conditions, which need to be triggered based on some check boxes. I
have inserted these checkboxes into the form by doing something
the dict
if form[0].process(onvalidation=add_my_field)
On Feb 21, 10:09 am, whowhywhat mads...@gmail.com wrote:
anybody .. please .. pretty please :)..
On Feb 21, 10:20 am, whowhywhat mads...@gmail.com wrote:
I need a web2py SQLFORM.grid to accept and process based on some
I need a web2py SQLFORM.grid to accept and process based on some
conditions, which need to be triggered based on some check boxes. I
have inserted these checkboxes into the form by doing something like :
In the controller -
def my_grid():
form = SQLFORM.grid()
if len(request.args)1 and
please could post your controller code..
On Feb 21, 10:32 am, Sanjeet Kumar sanjeet@gmail.com wrote:
I have the multiple check-box in one row in Controller I want to validate
it form controller when the user submit his request without selecting any
of the check-box than it should be shown
@gmail.com wrote:
TR(Type:,(TD(INPUT(_type=checkbox,_name=a,_value=a,_size=0),A))),
(TD(INPUT(_type=checkbox,_name=b,_value=b,_size=0),B)),
(TD(INPUT(_type=checkbox,_name=c,_value=c,_size=0),C))),
TR(,INPUT(_type=submit,_value=SUBMIT ))
On Tue, Feb 21, 2012 at 11:28 AM, whowhywhat mads
You can also just write a jquery validator for the same..
On Feb 21, 12:49 pm, whowhywhat mads...@gmail.com wrote:
This should work. Although it is ugly (it gives a error message under
all the checkboxes :P ).. but does validate as you require. Please
check and let me know.
def
its share of bad days..
On Feb 5, 6:47 pm, Alan Etkin spame...@gmail.com wrote:
Congratulations. I tried to open the url of the project and it returns
a 404 error.
On 4 feb, 12:54, whowhywhat mads...@gmail.com wrote:
Dear Web2py community,
I just finished writing a web2py
Dear Web2py community,
I just finished writing a web2py authentication plugin (custom
authentication) to authenticate using BrowserID accounts (https://
browserid.org). BrowserID is a project by Mozilla Labs
(mozillalabs.org). It aims to provide a de-centralized, free, easy to
use authentication
wow! looks really cool. Thanks for sharing Massimo. I have been
playing a bit with Phonegap and JQTouch. This looks promising.
On Feb 3, 9:53 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
http://www.lungojs.com/
Thanks for the suggestions Alan.
There is a CRYPT helper object of web2py that can be instanitated with
different options. It is used for standard authentication. (I am not
sure if if can be of use for
AES)http://web2py.com/examples/static/epydoc/web2py.gluon.validators.CRYP...
I do not
motp_auth(..., userfield=email)
And in the custom authentication code's query:
db(db.auth_user[userfield] == value)...
Ahh yes :D .. will try that, thanks a lot!
just finished writing a motp (http://motp.sourceforge.net/)
authentication plugin for web2py. Where do i contribute this code?
I would appreciate if some one tests this and gives me some feedback.
I have uploaded the code to Google code. project is
https://web2py-motp-auth.googlecode.com
you can
nice tip. thanks for sharing!
On Jan 29, 1:51 pm, guruyaya guruy...@gmail.com wrote:
I've made a mistake in my tip, please replace:
db.comment._common_filter = inherit_common_filter(db, db.comment)
with:
db.comment._common_filter = inherit_common_filter(db,
db.comment.post)
Sorry for
.
Calculated by
md5('epoch_time'[:-1]+'motp_secret'+'motp_pin').hexdigest()[:6]
now my question:
- how can i retrieve the motp_pin and motp_secret from the auth
username table in the custom login method?
am i on the right path? please correct me if i am wrong
please help..
On Jan 8, 11:56 am, whowhywhat
Dear web2py community,
I am interested in using motp (motp.sourceforge.net) / google
authenticator (http://code.google.com/p/google-authenticator/) with my
web2py apps. Both motp and google authenticator have clients available
for every possible platform (android, ios, blackberry, j2me, java,
http://ajenti.org .. looks interesting. However, would be much more
elegant and simpler to extend if built with web2py :D ..
another interesting python library/framework for remote sysadmin/
remote execution manager which i just came across is http://saltstack.org/
Looks very useful and more
Thanks a lot for the prompt reply Cliff. The tip you gave me is something i
did not know about and will be handy.. However this is useful to modify the
grid in itself. I need some way to modify the subsequent Create, Edit and
Update pages (if grid is editable). That is if i click on the add
i voted :) .. web2py deserves support from every decent IDE
i am trying to figure out the SQLFORM.grid from the source. The create and
update forms are generated using SQLFORM and not crud.. my mistake thinking
this was done by CRUD. I guess i will need to customize the form by passing
form.create_form.append(whatever) .. is this the right way? .. i
:) .. that sounds right.. i guess i can just add some jquery in the view
with a condition to check if the view is for edit or create form. The
jquery could just insert the checkbox (if married etc.).. if checked i
could use jquery to un-hide the spouse name field row.
I will also try out the
wow .. it works! :) ...
i just added the following in the controller (after calling SQLFORM.grid):
#check if form is a create form
if len(request.args)1 and request.args[-2]=='new' and form.create_form:
my_extra_element =
I could not find any post/documentation on how the create, edit and update
forms generated by SQLFORM.grid could be customized. I am assuming that it
is similar to CRUD form customization. However I have not been able to
figure it out.
For example if i wished to have a optional field exposed
use the Firefox scrapbook extension (https://addons.mozilla.org/en-US/
firefox/addon/scrapbook/)..
that way you could annotate, highlight etc.
On Nov 10, 4:21 am, BrendanC bren...@gmail.com wrote:
I don't mind buying the updated docs once they are available. (I'm thinking
of some sort of local
im located at Ahmedabad about 340 miles from Mumbai
On Feb 21, 10:43 pm, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
If you are there please contact me.
Massimo
i want to try and avoid using janrain RPX. Is it possible to use
openid authentication for web2py and use the google accounts by
passing the google accounts openid URL (https://www.google.com/
accounts/o8/id). I tried using the example given in the web2py book
(chapter 8), but this does not seem
=ar...
2011/2/14 whowhywhat mads...@gmail.com
Solved the problem! :) .. wsgi has a option to explicitly pass an
environment variable (given in the commandline).
Once i passed the http_proxy variable by this method web2py works
fine.
I think the default uwsgi wizzard in cherokee
to work.
i finally have cherokee + uwsgi + web2py working absolutely fine (with
proxy etc.)
will document everything and post it. thanks for everything.
On Feb 12, 8:47 pm, whowhywhat mads...@gmail.com wrote:
Luis i did use the web2py auto config script to try out apache with
WSGI.
I too
consumption and increase performance.
2011/2/12 whowhywhat mads...@gmail.com
Thanks for the quick replies.
As Luis mentions i have used export http_proxy (but in /etc/
environment and in the startup script of cherokee). I will try
defining in /etc/profile
i did some further testing
web2py is the first framework i actually enjoy using. :) .. been
advocating it to everyone i meet these days. I sincerely thank the
entire web2py community for everything.
I have been developing a small web2py application for intranet use at
the place where i work. During development i used
should not need a proxy server or any proxy configuration as far as I
can tell (and I am not sure about your setup). This looks more of a
firewall issue.
On Feb 11, 5:19 am, whowhywhat mads...@gmail.com wrote:
web2py is the first framework i actually enjoy using. :) .. been
advocating
33 matches
Mail list logo