[web2py] Re: GAE Launcher error trying to import from _ctypes

2010-07-10 Thread mdipierro
I do not understand why don't they check the Python version and report a wrong version as an error? On 10 Lug, 23:32, MikeEllis wrote: > Solved.  GAE doesn't like 2.6 on OS X.   Changing to 2.5 via the > Preferences dialog in Launcher fixed it (but I had to quit and restart > the Launcher app for

[web2py] Re: may be a bug, fail after upgrade

2010-07-10 Thread mdipierro
This appears to be a problem with a validator. Can you show us the model? On 10 Lug, 22:13, Frank wrote: > I upgrade web2py from 1.74.6 to 1.79.2,when I click link href="/{{=request.application}}/appadmin/index">database and choose a > database named users_group to open which works well in 1.74.

[web2py] Re: Fix for web2py to allow sqlite to directly import foreign integer keys correctly

2010-07-10 Thread mdipierro
Thanks! Now fixing it in trunk. On 10 Lug, 21:57, John Heenan wrote: > If you want to import foreign integer keys directly into sqlite > without web2py but rely on the schema produced by web2py then a change > is required to the sqlite schema produced by web2py. > > The easiest solution is simply

[web2py] Re: crud.update not updating image correctly?

2010-07-10 Thread mdipierro
form = crud.update(db.Item, item,next=URL(r=request)) but this should be considered a bug in sqlhtml.py and I will try fix it. On 10 Lug, 20:06, Rob wrote: > db: > db.define_table('Item', >                 Field('description'), >                 Field('need', 'boolean'), >                 Field(

[web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-10 Thread mdipierro
You did not say so before. Forget the action. In views.html: {if auth.user:}} {{=T('Welcome %s',auth.user.first_name)}} [{{=A(T('logout'),_href=URL(r=request,c='default',f='user/ logout'))}}] {{else}} {{form=auth.login()}} <<< {{=form.custom.begin}} Usern

[web2py] Re: Separating login and registration pages

2010-07-10 Thread mdipierro
Right now the view user.html contains {{=form}} You can replace by a custom form depending on the specific case {{if request.args(0)=='login':}} custom form for login {{elif reqquest.args(0)=='profile':}} ... {{pass}} On 10 Lug, 18:31, elfuego1 wrote: > But where do I have to put my customiz

[web2py] Re: GAE Launcher error trying to import from _ctypes

2010-07-10 Thread MikeEllis
Solved. GAE doesn't like 2.6 on OS X. Changing to 2.5 via the Preferences dialog in Launcher fixed it (but I had to quit and restart the Launcher app for it to take effect). More on this issue at http://code.google.com/p/googleappengine/issues/detail?id=985 if anyone cares. Cheers, Mike On Ju

[web2py] GAE Launcher error trying to import from _ctypes

2010-07-10 Thread MikeEllis
I'm trying to get started with GAE. Just downloaded GAE SDK 1.3.5 and installed on OS X 10.6.4. Seems to be working for a trivial hello world example that doesn't use web2py but I can't get any of my web2py apps to run, even a brand new one created with the admin interface. Dies importing from g

[web2py] may be a bug, fail after upgrade

2010-07-10 Thread Frank
I upgrade web2py from 1.74.6 to 1.79.2,when I click link database and choose a database named users_group to open which works well in 1.74.6, it failed in 1.79.2.please note db.users_group is not empty and the function of program works well in 1.79.2 but if you goto admin, and open datatbase users_

[web2py] Fix for web2py to allow sqlite to directly import foreign integer keys correctly

2010-07-10 Thread John Heenan
If you want to import foreign integer keys directly into sqlite without web2py but rely on the schema produced by web2py then a change is required to the sqlite schema produced by web2py. The easiest solution is simply to modify the following lines in gluon \dal.py and in the legacy gluon\sql.py f

[web2py] crud.update not updating image correctly?

2010-07-10 Thread Rob
db: db.define_table('Item', Field('description'), Field('need', 'boolean'), Field('image', 'upload')) controller: def update(): item = request.args(0) form = crud.update(db.Item, item) return dict(form=form) When I upload a different ima

Re: [web2py] Re: markmin, t2, t3, cube9 etc. (important update)

2010-07-10 Thread Álvaro Justen
I like so much the name cube9! PLEASE don't put it 'cu29' because 'cu' in Portuguese is...well, not a good word. :-) -- Álvaro Justen - @turicas  http://blog.justen.eng.br/  21 9898-0141

Re: [web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-10 Thread Phyo Arkar
Any other place to define the {{form=auth()}} globally ? I tried adding in model but it makes json service stop working. i defined it in global scope of default but it wont work. On Sat, Jul 10, 2010 at 11:37 PM, Phyo Arkar wrote: > What i am trying to do is include login/logout form in Every vie

[web2py] Re: Web2py on port 80 with non-root, setuid, possible?

2010-07-10 Thread Graham Dumpleton
Use Apache/mod_wsgi instead then to host your WSGI application. That or just setup Apache by itself to proxy to your standalone WSGI application listening on a different port. On Jul 11, 1:24 am, Álvaro J. Iradier wrote: > Well the problem is non-root users can't use ports < 1024, and I want > to

Re: [web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-10 Thread Phyo Arkar
What i am trying to do is include login/logout form in Every view so i am putting it in layout.html . Thats why it is confusing. Lol , but i finally got it working , Thank you Prof! i added {{form=auth()}} inside there.. {if auth.user:}} {{=T('Welcome %s',auth.user.first_name)}} [{{=A(

[web2py] Re: Separating login and registration pages

2010-07-10 Thread elfuego1
But where do I have to put my customized registration form code to have it working and not disturbing any other part of the framework? Please write me where to place it and I'll put it there. On 11 Lip, 00:54, mdipierro wrote: > form=auth() makes ONE form based on request.args(0) > You can make

[web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-10 Thread mdipierro
What is confusing you is that you think auth() generates a form. No. Auth() degenerates different forms (depending on the URL) and process them too. You have two options: 1) leave the action alone and work on the view only 2) modify both. Let's consider option 1 for now: def user(): return dict(fo

Re: [web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-10 Thread Phyo Arkar
I am stuck .. Tried without accepts , i tried this way , and still not working.. def user(): form = auth() if request.args(0)=='login': if auth.is_logged_in(): SESSION.flash="Logged In successfully" redirect('/sExtract/default/index') return dict( logi

[web2py] Re: question about scale

2010-07-10 Thread mdipierro
On 10 Lug, 17:49, Luis Díaz wrote: > I have no problems .. > > sole wonder > better performance if I run python directly web2py? (Is what I have thought > to ask) I do not know for sure. I think for dynamic pages pure python server (Rocket) should be faster than apache but you have less protectio

[web2py] Re: Separating login and registration pages

2010-07-10 Thread mdipierro
form=auth() makes ONE form based on request.args(0) You can make specific forms form=auth.login() form=auth.register() form=auth.profle() etc. Make the form you what. Where you want and customize them. Just do NOT CALL form.accepts(). because this is done automatically, as in CRUD. Massimo

Re: [web2py] Re: question about scale

2010-07-10 Thread Luis Díaz
I have no problems .. sole wonder better performance if I run python directly web2py? (Is what I have thought to ask) I like what the bottleneck, because the user can enjoy music from the application I further commented that my application was thought initially to 160 users .. where does this f

[web2py] Re: Separating login and registration pages

2010-07-10 Thread elfuego1
I'm just wondering why it has to be so tedious and hard to get to know things. Usualy Python alone is rather instinctive to me, but I can'f find a decent follow up or tutorial how to customize a simple form... On 11 Lip, 00:45, elfuego1 wrote: > But where do I have to put my customized registrat

[web2py] Re: Separating login and registration pages

2010-07-10 Thread elfuego1
But where do I have to put my customized registration form code? I describe what I can see right now. On login page I have login form and registration form (both default, based on db.auth_user structure). On registration page I have registration form (again default, based on db.auth_user structure)

[web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-10 Thread mdipierro
Yes. you just do not call form.accepts because it is done inside auth() already. On 10 Lug, 17:40, Phyo Arkar wrote: > SO thats not possible to customize using HTML forms ?? > > On Sat, Jul 10, 2010 at 10:26 PM, mdipierro wrote: > > You cannot do this: > > >    form = auth() > >    if form.accep

Re: [web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-10 Thread Phyo Arkar
SO thats not possible to customize using HTML forms ?? On Sat, Jul 10, 2010 at 10:26 PM, mdipierro wrote: > You cannot do this: > >form = auth() >if form.accepts( request.vars, formname = 'login'): > > because there already an accept into auth() > > On 10 Lug, 11:35, Phyo Arkar wrote:

[web2py] Re: Separating login and registration pages

2010-07-10 Thread mdipierro
No. I am assuming the regular user method. I think it should work. On 10 Lug, 17:37, elfuego1 wrote: > Should I somehow define my registration form in the Controller (in > user method)? > > On 11 Lip, 00:31, elfuego1 wrote: > > > Now I have registration form on login and registration pages. > >

[web2py] Re: question about scale

2010-07-10 Thread mdipierro
Can you please clarify. Are you having problems or is it working fine for you? On 10 Lug, 17:32, Luis Díaz wrote: > the same happens? if you run the application directly with python without > using apache? > > in my job application can be used by about 160 users simultaneously .. > download > m

[web2py] Re: Separating login and registration pages

2010-07-10 Thread elfuego1
Should I somehow define my registration form in the Controller (in user method)? On 11 Lip, 00:31, elfuego1 wrote: > Now I have registration form on login and registration pages. > > On 11 Lip, 00:27, mdipierro wrote: > > > {{if request.args(0)=='login':}}{{=auth.register()}}{{pass}} > > > > {

Re: [web2py] Re: question about scale

2010-07-10 Thread Luis Díaz
the same happens? if you run the application directly with python without using apache? in my job application can be used by about 160 users simultaneously .. download music, send messages, among other things original Spanish translated with google -- Díaz Luis TSU Analisis de Sistemas Universid

[web2py] Re: multiple checkboxes

2010-07-10 Thread Rob
Thanks again. > > SQLFORM(...,hidden=dict(a="b") > I would never have guessed that! But after reading: http://groups.google.com/group/web2py/browse_thread/thread/401b4c192871194c/0758463de805d92b, I don't think sqlform.factory is able to do what I want it to do. I want to basically display ALL

[web2py] Re: Help in getting csv-download to work

2010-07-10 Thread mdipierro
I think Download as csv- file On 10 Lug, 15:54, Johann Spies wrote: > I would appreciate help to get csv-download to work please. > > The following in my controller: > > def search_filled_in_forms(): >     sp = request.vars.sp >     form_id = request.vars.form_id.lower() >     title = request.va

[web2py] Re: Separating login and registration pages

2010-07-10 Thread elfuego1
Now I have registration form on login and registration pages. On 11 Lip, 00:27, mdipierro wrote: > {{if request.args(0)=='login':}}{{=auth.register()}}{{pass}} > > {{=T( 'Registration form' )}} > {{=form}} > > ? > > On 10 Lug, 11:39, elfuego1 wrote: > > > User methon in Controller "default.py"

[web2py] Re: Separating login and registration pages

2010-07-10 Thread mdipierro
{{if request.args(0)=='login':}}{{=auth.register()}}{{pass}} {{=T( 'Registration form' )}} {{=form}} ? On 10 Lug, 11:39, elfuego1 wrote: > User methon in Controller "default.py": > > def user(): >     form=auth() >     form[0][-1] > [1].append(INPUT(_type="button",_value="Cancel",_onclick="wind

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-10 Thread weheh
Pepe, that's exactly what I was thinking. I haven't done anything like this myself, so I have no experience. However, my assumption is that should the number of hits get large enough, then whoever sets up the app will have to start paying Google for bandwidth, etc. I have no idea how expensive this

[web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-10 Thread mdipierro
You cannot do this: form = auth() if form.accepts( request.vars, formname = 'login'): because there already an accept into auth() On 10 Lug, 11:35, Phyo Arkar wrote: > Thanks  alot Massimo! > > Still there is one problem. > > When tried to login .  It do not try to authenticate , instea

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-10 Thread Pepe
can cube2py run in google app Engine?? if yes: why not run it on GAE to start from?? regards! Pepe On Jul 10, 2:01 pm, weheh wrote: > No, I don't think Pyforum is the answer. I am calling for a reference > manual. The existing documentation is slanted a little more towards a > tutorial form. I

[web2py] Re: Dynamically set value of one drop down list based on value of another drop down list

2010-07-10 Thread weheh
Acculon, that is helpful, though not exactly what I need. Anyway, I'm making some progress. Does anyone know exactly how to replace the contents of a SELECT? In other words, I have a bunch of options that I want to build up then pass back via AJAX to the select list. But I can't seem to get it to

[web2py] Help in getting csv-download to work

2010-07-10 Thread Johann Spies
I would appreciate help to get csv-download to work please. The following in my controller: def search_filled_in_forms(): sp = request.vars.sp form_id = request.vars.form_id.lower() title = request.vars.title.lower() date = request.vars.date query = (db.evaluation_form.service

[web2py] Re: Dynamically set value of one drop down list based on value of another drop down list

2010-07-10 Thread accu...@inbox.com
This may be what you are looking for: http://groups.google.com/group/web2py/msg/1c4897120e4f124b http://groups.google.com/group/web2py/browse_thread/thread/4a6149ddcbb768db/f7322b11e9216e34?lnk=gst&q=genera#f7322b11e9216e34 On Jul 10, 8:12 pm, weheh wrote: > This is an old issue that I'm fin

[web2py] Problem with form.custom.dspval[]?

2010-07-10 Thread weheh
I'm testing out SQLFORM.custom.dspval['fieldname'] and SQLFORM.custom.impval['fieldname'] and in both cases, I'm getting the same value. I don't know if it matters, but I've declared Field('fieldname',db.othertable,requires=IS_IN_DB(db,'othertable.id','% (name)s')).

[web2py] Re: multiple checkboxes

2010-07-10 Thread Rob
> > 2) Since we're building the form with values from the DB in the > > beginning of the function, then updating the DB, then returning the > > form, the view gets a stale copy of the form.  I guess you could solve > > this with a redirect if form.accepts() is true?  Seems hackish... > > Can you p

[web2py] Re: Dynamically set value of one drop down list based on value of another drop down list

2010-07-10 Thread weheh
It seems like this is such a common occurrence and that so many people have asked about this already, that there isn't some kind of native helper function within web2py that does this dynamically. Seems like this capability should be specified as an argument(s) to a requires statement: db.animal.r

[web2py] Re: Dynamically set value of one drop down list based on value of another drop down list

2010-07-10 Thread weheh
Hi Nathan -- yes I studied it pretty carefully. Can't say I understand the whole thing, but I think it's more complicated than I need, frankly. I've been trying to figure out whether I can do this with a mixture of jQuery and a custom widget. Right now, I'm thinking the jQuery is all I really need.

[web2py] Re: Dynamically set value of one drop down list based on value of another drop down list

2010-07-10 Thread mr.freeze
Have you seen this?: http://www.web2pyslices.com/main/slices/take_slice/85 On Jul 10, 1:12 pm, weheh wrote: > This is an old issue that I'm finally getting back to. I've researched > this forum heavily for indications about how to do this and have > concluded that perhaps there is some new functi

[web2py] Re: Beginner Question

2010-07-10 Thread ra3don
Thanks for the help guys, i'll look at the provided resources. I think i made the mistake of not learning enough python before starting web2py :( On Jul 9, 2:16 pm, weheh wrote: > I think it's time > ...http://groups.google.com/group/web2py/browse_thread/thread/e2e19e698d... > > > > > IS_IN_DB()

[web2py] Re: markmin, t2, t3, cube9 etc. (important update)

2010-07-10 Thread weheh
I am very impressed by the capabilities of this system. Less so by the name, which is non-descriptive and possibly confusing to newbies, like T2 and T3 in the past. I think it will be more self-descriptive if the name has wiki or some variant thereof in it. Nothing great is coming to mind, but I'll

[web2py] the new '_last_reference' property begs a 'nativeRef' type

2010-07-10 Thread dlypka
# I believe the new '_last_reference' property still needs a 'nativeRef' type # added to web2py in order to take full advantage of it: # # For running web2py on Google App Engine: # I coded and successfully tested a GAE-specific proof of concept as follows: db.define_table('ParentTable',

[web2py] Dynamically set value of one drop down list based on value of another drop down list

2010-07-10 Thread weheh
This is an old issue that I'm finally getting back to. I've researched this forum heavily for indications about how to do this and have concluded that perhaps there is some new functionality in web2py that will accomplish this for me automatically. The issue is I want a form with two drop downs wh

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-10 Thread weheh
No, I don't think Pyforum is the answer. I am calling for a reference manual. The existing documentation is slanted a little more towards a tutorial form. I'm looking for a very dense, concise, and heavily cross-indexed document/database of web2py statements and their attributes, along with example

[web2py] the new '_last_reference' property begs a 'nativeRef' type

2010-07-10 Thread dlypka
# I believe the new '_last_reference' property still needs a 'nativeRef' type # added to web2py in order to take full advantage of it: # # For running web2py on Google App Engine: # I coded and successfully tested a GAE-specific proof of concept as follows: db.define_table('ParentTable',

[web2py] the new '_last_reference' property begs a 'nativeRef' type

2010-07-10 Thread dlypka
# I believe the new '_last_reference' property still needs a 'nativeRef' functionality # added to web2py in order to take full advantage of it: # I coded and successfully tested a proof of concept as follows: db.define_table('ParentTable', # NOTE: web2py provides the 'id' column au

Re: [web2py] Re: web2py Reference Manual -- a call to arms

2010-07-10 Thread Bruno Rocha
http://www.pyforum.org/ Pyforum, could be a start! with little changes and putting it running on Google App Engine. 2010/7/10 weheh : > How shall we do the hosting? Who should administer the site? What to > call it? Shouldn't it be under web2py.com/reference_manual or some > such? > > On Jul 10

[web2py] the new '_last_reference' property begs a 'nativeRef' type

2010-07-10 Thread dlypka
# I believe the new '_last_reference' property still needs a 'nativeRef' functionality # added to web2py in order to take full advantage of it: # I coded and successfully tested a proof of concept as follows: db.define_table('ParentTable', # NOTE: web2py provides the 'id' column

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-10 Thread weheh
How shall we do the hosting? Who should administer the site? What to call it? Shouldn't it be under web2py.com/reference_manual or some such? On Jul 10, 12:26 pm, mdipierro wrote: > You can but set > > plugin_wiki_level=1 to disable embedded widgets for security > > On 10 Lug, 10:28, weheh wrote

Re: [web2py] new welcome (scaffolding) app

2010-07-10 Thread Jason Brower
+1!!! On Fri, 2010-07-09 at 21:28 -0300, Bruno Rocha wrote: > Is there any chance to have that options for choose just at the moment > of app creation? > > we put the name for the application, then check what do we want to have > within. > > May be choosing a completely blank new app or a compl

[web2py] Re: Separating login and registration pages

2010-07-10 Thread elfuego1
User methon in Controller "default.py": def user(): form=auth() form[0][-1] [1].append(INPUT(_type="button",_value="Cancel",_onclick="window.location='%s';"%URL(r=request,f='index'))) return dict(form=form) In my View "user.html" I had added: {{if request.args(0)=='login':}}{{=auth.lo

Re: [web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-10 Thread Phyo Arkar
Thanks alot Massimo! Still there is one problem. When tried to login . It do not try to authenticate , instead IT INSERTS A NEW RECORD!!! am i doing wrong ? OR is that a Serious Security Flaw??? here is my new code at layout.html : {{if not auth.user:}}

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-10 Thread mdipierro
You can but set plugin_wiki_level=1 to disable embedded widgets for security On 10 Lug, 10:28, weheh wrote: > Why not use cube2py as the > wiki?http://groups.google.com/group/web2py/browse_thread/thread/5b8481c484...

[web2py] Re: Separating login and registration pages

2010-07-10 Thread elfuego1
Where do I have to insert code of my customized registration form to have it work properly with default login form? On 10 Lip, 13:57, elfuego1 wrote: > I did it this way: > In my user.html I had added: {{if request.args(0)=='login':}} > {{=auth.login()}}{{pass}} > Now when I go to registration

[web2py] Re: new web2py site in Poland!

2010-07-10 Thread weheh
Congrats. Interesting design. Yeah web2py! On Jul 7, 4:46 pm, Kuba Kucharski wrote: > Hi, people, > > I would like to present you WRSZW project > > http://wrszw.pl > it is about events in Warsaw, capital of Poland, fully non-commercial > initiative of places in my city. > polish only but english

[web2py] Re: web2py Reference Manual -- a call to arms

2010-07-10 Thread weheh
Why not use cube2py as the wiki? http://groups.google.com/group/web2py/browse_thread/thread/5b8481c48478eed9/29a01260e7d38618#29a01260e7d38618

[web2py] Re: Web2py on port 80 with non-root, setuid, possible?

2010-07-10 Thread Álvaro J . Iradier
Well the problem is non-root users can't use ports < 1024, and I want to use port 80, so when running: ./web2py.py -p 80 --nogui web2py Enterprise Web Framework Created by Massimo Di Pierro, Copyright 2007-2010 Version 1.79.2 (2010-06-08 22:45:26) Database drivers available: SQLite3 Starting hardc

[web2py] Re: markmin, t2, t3, cube9 etc. (important update)

2010-07-10 Thread Scott
Thank you Massimo! My comments are below. > > - Can the tag cloud be made hyper-linkable?  That is to say, clicking > > on a word in the tag cloud might show a list of relevant tagged pages. > Can be done but right now there is a logic problem. Which pages should > the tags link to? I guess wiki

[web2py] Re: Separating login and registration pages

2010-07-10 Thread elfuego1
I did it this way: In my user.html I had added: {{if request.args(0)=='login':}} {{=auth.login()}}{{pass}} Now when I go to registration page I see only my custom registration form, BUT when I go to login page I see login as well as custom registration form. Do I have to move my registration form t

[web2py] Re: Separating login and registration pages

2010-07-10 Thread mdipierro
What's the controller? Anyway: You cannot have .. in there since it extends layout.html (html is in there already) Try this instead. {{extend 'layout.html'}} {{=form}} {{if request.args(0)=='login':}}{{=auth.register()}}{{pass}} On 10 Lug, 02:55, elfuego1 wrote: > I also have problem with subm

[web2py] Re: Separating login and registration pages

2010-07-10 Thread elfuego1
I also have problem with submit button. It doesn't work. My user.html content: {{extend 'layout.html'}} {{=lbl.login}} {{=wdgt.login}} {{=lbl.password}} {{=wdgt.password}} {{if form.errors.password2:}}NO MATCH{{pass}}

[web2py] Re: question about scale

2010-07-10 Thread mdipierro
I think there are two answers to the questions: - My answer. The bottleneck is always the database. - Some people have had problems with dropped request. We have not got the bottom of what causes it. I cannot reproduce the problem with my setup. In my experience for an average database driven appl

[web2py] question about scale

2010-07-10 Thread VP
hi everyone, I've been looking at web2py for a little while now, and am still learning. I'm thinking about using web2py to develop a simple social network app. My question is how many users can this app handle concurrently? Is web2py the bottleneck here? I am aim to get up to 500 users being ac

[web2py] Re: Separating login and registration pages

2010-07-10 Thread mdipierro
Can you show the user.html? On 10 Lug, 02:18, elfuego1 wrote: > One more thing. > At the bottom of my registration form there is {{=form}} code. > It seems that I need to redirect login link to completly different > page. > Can you show where do I need to make changes to have it working? > > On

[web2py] Re: Customizing Auth to use Username Instead of Email?

2010-07-10 Thread mdipierro
you still need auth.define_tables() after you define the custom tables. On 9 Lug, 22:59, Phyo Arkar wrote: > Hello Web2py > > I am having trouble with Auth form. As described in Web2py book , i added > this : > > in Model db.py: > > from gluon.tools import Auth > > auth = Auth(globals(),db)    

[web2py] Re: markmin, t2, t3, cube9 etc. (important update)

2010-07-10 Thread mdipierro
Answers below On 9 Lug, 21:42, Scott wrote: > I think this should replace the Welcome application and the > documentation should be integrated into the web2py book.  I'm > impressed with the complete rewrite!  I like the way that you get > web2py-admin-esque functionality without having to use th

[web2py] Re: multiple checkboxes

2010-07-10 Thread mdipierro
On 9 Lug, 17:50, Rob wrote: > Hi mdipierro, > > Thanks for the answer!  I have some questions. > > 1) using the SQLFORM syntax with list comprehension below, how do I > add additional fields?  I need to add 'hidden' fields that match the > name of the 'checkbox' fields - otherwise, non-checked i

[web2py] Re: Separating login and registration pages

2010-07-10 Thread elfuego1
One more thing. At the bottom of my registration form there is {{=form}} code. It seems that I need to redirect login link to completly different page. Can you show where do I need to make changes to have it working? On 10 Lip, 08:50, elfuego1 wrote: > Hi everybody, > > I had customized my regi