Please try

  Field('file_data','blob',default=''))

On Sep 10, 10:57 am, ab <adam.ba...@googlemail.com> wrote:
> Hi
>
>   I found issue in database administration module and blob field for
> files storage
>
>   When model is defined as below
>
>  db.define_table('picture', Field('file','upload'))
>
>   there is no problem with inserting new records using 'database
> administration'
>
> but when model is defined to store files in database as below
>
> db.define_table('picture',
>   Field('file','upload',uploadfield='file_data'),
>   Field('file_data','blob'))
>
> 'database administration' can't insert new record.
>
> I don't know if this is issue or current limitation.
>
> Regards
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to