On Tuesday, May 28, 2019 at 11:00:42 PM UTC-7, Quang Lam wrote:
>
> Hi, i have a problem to display the CSV file stored in the table.
>
> the code below is in controller
>
> def view_performance():
> files = db.Pass_Configuration(request.args(0, cast=int)) or
> redirect(URL('index')) // g
Do we need to reinvent the wheel again ?
why not use for ex...
https://slack.com
or many others out there?
Em sex, 24 de mai de 2019 às 21:41, Dave S escreveu:
>
>
> On Friday, May 24, 2019 at 10:14:24 AM UTC-7, Ari Lion BR Sp wrote:
>>
>> In this while, please join us on our Telegram Group.
Hi i would like to download the CSV file store in the table but i have
problem with download
the code below is in the control, it gets the id from the URL and use
SQLFORM.Grid to display. in the performance file column, there is a file
link to download performance file but when i click on the f
Hi Dave
Could you please show me more detail in code since i need to download the
CSV file store in the table?
On Tuesday, May 28, 2019 at 11:00:42 PM UTC-7, Quang Lam wrote:
>
> Hi, i have a problem to display the CSV file stored in the table.
>
> the code below is in controller
>
> def view_p
ref:
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Exporting-and-importing-data
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues
i am running my web2py app in pythonanywhere.com ( cloud machine )
i have configured git in my *welcome* folder . i have not initalised
.ignore file to avoid anything like database , errors , sessions ,uploads .
so when i like to backup my app in pythonanywhere , i just used -> git add
. -> git c
Hi Steve, the code mentioned in the book is only for export to CVS file. my
situation is to download the CVS file stored in the table
On Wed, May 29, 2019 at 12:01 PM 黄祥 wrote:
> ref:
>
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Exporting-and-importing-data
>
On Wednesday, May 29, 2019 at 10:15:49 AM UTC-7, Quang Lam wrote:
>
> Hi Dave
>
> Could you please show me more detail in code since i need to download the
> CSV file store in the table?
>
Look at appadmin.py around line 5824. The file is in yourapp/controllers.
Basically:
get query
se
On Wednesday, May 29, 2019 at 1:07:21 PM UTC-7, Dave S wrote:
>
> [...]
>
> You may not want the 'Content-disposition' header -- it's setting
> attachment and filename.
>
> [...]
> But CSV is an ugly thing to show to a user; if the user needs query
> results in a table, then either SQLTABLE
Hi Dave, yeah, i changed to grid since it has the download function, but
when i click on it, it navigates me to the next page with the name of file
in URL and 404 not found. do you know how to fix this problem? you can see
my code in detail in the other post named CVS file download.
Thanks
On We
I don't agree this is reinvent the wheel.
Maybe Slack is reinventing the wheel.
Reinvent the wheel, from the Cambridge dictionary:
> to waste time trying to create something that someone else has already
> created
We are having a good experience with chat support on telegram group.
There is alre
I use Python's hashlib module. It contains pbkdf2.
segunda-feira, 27 de Maio de 2019 às 12:13:54 UTC+1, Константин Комков
escreveu:
>
> Can somebody told about free library for windows (.dll) which can generate
> hash of password like web2py (pbkdf2 + sha512)?
>
--
Resources:
- http://web2py.c
Do you have an error?
quarta-feira, 15 de Maio de 2019 às 06:29:02 UTC+1, Cris Fad escreveu:
>
> Dear all,
>
> I have problems to access web2py on apache throught https. I run
> setup-web2py-ubuntu.sh, in the folder web2py/scripts and while the http is
> responding correctly the https is not. I
for download all tables at once
try:
import StringIO
except ImportError:
from io import StringIO
def download_csv():
stream = StringIO.StringIO()
db.export_to_csv_file(stream,
delimiter = ',',
quotechar = '"',
Hi Steve, i did not mean to download all table, i just want to download the
csv file stored in PerformanceFile.
db.define_table( 'Pass_Configuration', Field('PassID',
'reference Pass', label=T('Pass'),
requires=IS_NOT_EMPTY()),
Fi
On Wednesday, May 29, 2019 at 3:10:36 PM UTC-7, João Matos wrote:
>
> Do you have an error?
>
>
Perhaps a snippet from the Apache logs.
But if this is a new installation, Nginx has much advantage.
Also, if admin access is being tried from a system other than the server,
SSL tunneling might be
If you can use web2py itself for this task, dot it like this:
hash = CRYPT()('text to hash')[0]
Em qua, 29 de mai de 2019 às 19:05, João Matos
escreveu:
> I use Python's hashlib module. It contains pbkdf2.
>
> segunda-feira, 27 de Maio de 2019 às 12:13:54 UTC+1, Константин Комков
> escreveu:
>>
I am trying to include Tabulator JS in layout.html but i can not make it
work.
If I include the files in the head section of view it works OK.
But if I include them on the head section of layout.html and then in view i
use extend 'layout.html' it can not find it.
In sure is me, but i can not
test so far so good in latest commits (138) using docker (ubuntu n debian),
a few error during test auth which i know is still work in progress or
prefer to report the error traceback too ?
*steps*
docker pull ubuntu
docker run -it --privileged ubuntu /bin/bash
apt update
apt install -y git pyth
I need to generate password and
print it for entrant and then take hash from password for writing to
database. But that program work on Windows and was written by delphi. Last
versions delphi have sha512 and pbkdf2 library but not our. Can you take
link by .dll file of the library for use it in del
It is bad policy for you to generate a password and give it to customers.
You should generate a one time token and allow your user to use the token
to set his own password using web2py. Web2py automatically stores it
encrypted using pbkdf2 + sha512.
hashlib is not good enough for passwords be
Feel free to submit a PR for docker.
Yes Auth is still in progress but if you have advice, known problems,
please let us know, Your tests help a lot.
Massimo
On Wednesday, 29 May 2019 18:16:48 UTC-7, 黄祥 wrote:
>
> test so far so good in latest commits (138) using docker (ubuntu n
> debian), a f
22 matches
Mail list logo