Groups
Groups
Sign in
Groups
Groups
web2py-users
Conversations
Labels
About
Send feedback
Help
csv upload limit
24 views
csv
import
upload
Skip to first unread message
Yebach
unread,
Jul 26, 2015, 9:47:47 AM
7/26/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users
Hello
How can i limit the number of rows user can upload trough .import_from_csv_file(request.vars.csvfile.file, delimiter=";")
i tried with counting rows and setting limit but this way the records are not imported even if they are below the limit number
(see post
https://groups.google.com/forum/#!searchin/web2py/yebach%7Csort:date/web2py/FhgWebuuk4o/sf9dVT05EnYJ
)
any suggestions?
Thank you
Derek
unread,
Jul 28, 2015, 4:22:00 PM
7/28/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to web2py-users, vid....@gmail.com
There's no way. You could modify the 'base.py' of pydal to add it... It looks like it will stop on a line if the whole line is this:
END
Reply all
Reply to author
Forward
0 new messages