hello i have this:
class Form_ins_mus(widgets.WidgetsList):
band=widgets.TextField(label='inserire nome band con la prima
lettera Maiuscola :')
nome_file=widgets.FileField('brano', label='Seleziona il File :')
form_inserimento_musica=widgets.TableForm(fields=Form_ins_mus(),
submit_text='Salva')
then i do this:
leggo = brano.file.read()
if i ask for the filename i do this name = brano.filename and is ok
but for ask the size i have try with brano.fileze and brano.size but i
get:
AttributeError, name
How i have to do for know the file size
Thanks
Luca
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---