On Friday, October 20, 2017 at 6:42:17 PM UTC-7, 黄祥 wrote:
>
> i just interest for modif the 404 error not found, when trying to modif
> static/404.html, the result is not expected (no error traceback occur)
> e.g.
> *static/404.html*
> this page doesn't exist
>
> *result*
> invalid controller (12
i just interest for modif the 404 error not found, when trying to modif
static/404.html, the result is not expected (no error traceback occur)
e.g.
*static/404.html*
this page doesn't exist
*result*
invalid controller (123/index)
*expected result*
this page doesn't exist
any idea to achieve it
got it, pretty much clear, thanks anthony, massimo and bernhart, perhaps
for now i just stick with the bernhart code to transform markdown into html
in controller, because i don't know how to create generic.md (or
generic.markdown) that will transform markdown into html, hehe
thanks and best re
On Tuesday, October 17, 2017 at 5:29:24 PM UTC-4, 黄祥 wrote:
>
> why web2py can't render the views in markdown format that been assign
> (*.md) in most simple way?
> e.g.
> def testmd():
> response.view = 'default/testmd.md'
> #response.render = 'default/testmd.md'
> return locals()
>
>
there are a lot of fixes if search on your error string, plus
max_connections parm info is at
Postgres https://wiki.postgresql.org/wiki/Tuning_Your_PostgreSQL_Server
what is your max_connections set to now?
Alex Glaros
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation
On Friday, October 20, 2017 at 10:05:34 AM UTC-7, Yoel Benitez Fonseca
wrote:
>
> Nerver mind ... i have found app/static/503.html
>
> now ¿how to include images and souch ?
>
Just put those images in app/static (like the FB and Twitter logos), and
add a
in your 503.html file.
/dps
>
>
Nerver mind ... i have found app/static/503.html
now ¿how to include images and souch ?
2017-10-20 12:04 GMT-04:00 Yoel Benitez Fonseca :
> hi !
>
> How can i make a custom 'Temporarily down for maintenance' page ?
>
> --
> Msc. Yoel Benítez Fonseca
> Dpto. Informática. Redacción Adelante
> http:
hi !
How can i make a custom 'Temporarily down for maintenance' page ?
--
Msc. Yoel Benítez Fonseca
Dpto. Informática. Redacción Adelante
http://www.adelante.cu/
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https:/
By default, characters in args that do not match the '[^\w/.@=-]' regular
expression are replaced with underscores. To override that behavior, there
are two options:
1. In routes.py, set routes_apps_raw to a list of applications that will
handle their own args parsing. In those apps, the
If it is a scheduler execution, request.is_scheduler will be True.
Anthony
On Friday, October 20, 2017 at 9:09:40 AM UTC-4, Manuele wrote:
>
> Hi *!
>
> Is there a way to distinguish from within a function if it's run from
> the scheduler or not?
>
> thanks a lot
>
> M.
>
>
--
Resourc
I often get this error from the db engine of my pythonanywhere account
service
OperationalError: FATAL: remaining connection slots are reserved for
non-replication superuser connections
is there something quick to solve or by-pass it or do I need some
profiling to limitate requests to the d
Hi *!
Is there a way to distinguish from within a function if it's run from
the scheduler or not?
thanks a lot
M.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Rep
In case this helps anyone else, here is how I got it to work:
response.headers['Content-Type'] = 'application/octet-stream'
response.headers['Content-Disposition'] = 'attachment;filename=%s' %
file_name
file_reader = cloudstore.open(file_path)
return file_reader.read()
any other attempts to use
Hello in my app i need to share files with some clients that dont have
access to my app.
I will send a link directly to the file in the database that only the
destination can see
for example
i will send to customer A a link like
http://www.myapp.pt/xxxt/default/download/entities.file.bbsas17beb16
On Wednesday, October 18, 2017 at 5:12:35 AM UTC-7, Mirek Zvolský wrote:
>
> I have a form:
> SQLFORM.factory(*field_list)
>
> First item in field list is a foreign key to some table.
> I see the selected value and all possible selectable values great.
> Example: drink : watter from (watter, beer
15 matches
Mail list logo