finally solved ! with a different approach alltogether !
I have a short sign-up form and a long sign-up form for the same auth_user
table !
the short sign-up form deals with the first fields with requires defined in
the model while the additional fields do not have any requires and most
are se
After a night sleep ...
I woke up ... read the code again .. and bingo .. no errors .. it is
almost fixed
with this :
> ...
> if isinstance(fields,tuple):
> mytables = ['auth_user','user_info']
> form_fields = []
> [form_fields.extend([db[t][f] for f in db[t].f
Hello Massimo,
I think I am onto something !
I have modified my model as follows :
defaultfoto = [ 'defaultuser.png','defaultplayer.png','defaultcoach.png']
defaultuserpics = { 0:IMG(_src=URL('static','images/'+ defaultfoto[0])),
1:IMG(_src=URL('static','images/'+ default
The mytables variable ony has values in steps 0,1 but you loop over it for
insert only in step 2 (when it is not defined). You do not get an error
probably because it already defined in the outer scope.
On Wednesday, 3 October 2012 06:23:36 UTC-5, Don_X wrote:
>
> Here is another controller I t
Here is another controller I tried, and I still get the same results ( no
data is recorder in the tables, no errors or ticket given ) and on the last
submit button .. nothing happens :
def register():
>import os
>STEPS = {0:
> ('Iagreeto','first_name','last_name','email','email_ch
Actually, when the tables are used by themselves ! with a simple controller
The first one ( auth_user ) works perfectly ... datas are recorded
but the second one ( user_info ) gives me a clear error on 2.0.9 stable
version
Unable to handle upload
but with the codes of the controller shown abov
6 matches
Mail list logo