Ok, thanks.
terça-feira, 7 de Maio de 2019 às 04:17:42 UTC+1, Massimo Di Pierro
escreveu:
>
> The wizard is not very well maintained but the uuid is useful. You can use
> it for example to encrypt sessions.
>
>
> On Monday, 6 May 2019 10:28:57 UTC-7, jcrm...@gmail.com
> wrote:
>>
>> Hello,
>>
Thanks guys but this link seems to have solved the problem
https://groups.google.com/d/msg/web2py/PS9QhsdsQfM/hJplwLYRBAAJ
I am able to send right now
Regards;
Mostwanted
On Monday, May 6, 2019 at 3:49:33 PM UTC+2, Leonel Câmara wrote:
>
> If you don't send too many emails I recommend using spa
Hello,
I was able to change the time zone of the consoles to UTC+1 in PythonAnywhere,
but the web2py apps are still in UTC.
Does anyone know how I can change make the web2py apps comply?
I was told to add this
os.environ["TZ"] = "Europe/Lisbon"
to the start of wsgi adapter (located at /var/www)
Hi,
I' new to web2py and I try to follow Massimo Di Pierro video on
YouTube/Vimeo.
When I change in db1.py the 4 following 4 rows:
Field('dateofcreation', 'datetime'),
Field('created_by', 'reference auth_user'),
Field('modified_by', 'reference auth_user'),
Field('modified_on', 'datetime'))
with
a
auth_signature creates these 4 fields:
created_on
created_by
modified_on
modified_by
You are trying to access a field called dateofcreation which doesn't exist.
In default\index replace dateofcreation with created_on.
terça-feira, 7 de Maio de 2019 às 15:52:05 UTC+1, Fabio Gubler escreveu:
>
>
I was able to solve it by adding
time.tzset()
after the
os.environ["TZ"] = "Europe/Lisbon"
in the wsgi configuration file (it's accessible in the Web tab).
terça-feira, 7 de Maio de 2019 às 14:21:07 UTC+1, jcrm...@gmail.com
escreveu:
>
> Hello,
>
> I was able to change the time zone of the conso
I had a look at xhtml2pdf and I am not sure how to implement it in my
web2py application.
Do you save the PDF as a file or output it to the browser?
Do you use the html generated by the web2py view and have the function
calls in a view or do you generate the HTML another way in a controller
funct
I have both ways in different apps.
To save to a file use like this
from xhtml2pdf.pisa import CreatePDF
...
# Type is _io.BufferedWriter.
with open(pdf_pn, 'wb') as f_out: # type: BinaryIO
created_ok = CreatePDF(html, dest=f_out)
To show the PDF on the browser use like this
from io import
Hello, im have the same problem. Version 2.18.5.. did you resolve it??
Thanks!!
El viernes, 5 de octubre de 2018, 12:00:05 (UTC-3), sandeep patel escribió:
>
>
> Hello,
>
> I am using bootstrap3_stacked formstyle in grid. Everything works fine
> except one thing (calendar size) please refer imag
Hello,
I use web2py (2.16.1) on 2 environments:
1. Embedded Rocket wsgi server
2. Deployed on nginx+uwsgi
I have the same application on both env, connected to the same database.
The application uses Basic Authentication, like in the example:
def f1():
auth.basic() if auth.user:
*##
Thanks for you answer.
It solved my problem.
Have a good day.
On Tue, 7 May 2019 at 19:30, wrote:
> auth_signature creates these 4 fields:
> created_on
> created_by
> modified_on
> modified_by
>
> You are trying to access a field called dateofcreation which doesn't exist.
> In default\index repl
11 matches
Mail list logo