Hello
I am running a web2py app on azure, windows 10 64-bit
The app works fine if I access it from the server's browser but when
accessing it outside I am getting an error 403 - Forbidden. If I add app
name to the end of the URL I get an error 404.
Anybody had a problem like that?
Any sugges
You can solve this probem by adding the sitemap.xml and the robots.txt to
the routes.examply.py in
/home/your_app_name/application/init/routes.example.py
routes_in=(
('.*:/favicon.ico','/init/static/favicon.ico'),
('.*:/robots.txt','/init/static/robots.txt'),
('.*:/sitemap.xml','/init/sta
On Friday, June 22, 2018 at 10:30:33 AM UTC-4, Alex Glaros wrote:
>
> Sandeep:
>
> (1) what does the "P" and "B" stand for?
>
They are web2py HTML helpers for the and tags.
>
> (2) is there a related way to change font size for individual field names?
>
The best approach is to add an HTML cl
Is there a way to translate into a single DAL this sql query?
SELECT
SUM(IF(is_a = 'T',1,0)) as a,
SUM(IF(is_b = 'T',1,0)) as b
FROM table;
It counts the times is_a and is_b are True.
Fields 'is_a' and 'is_b' are declared in DAL as boolean.
Thank you
--
Resources:
- http://web2py.com
- ht
Sandeep:
(1) what does the "P" and "B" stand for?
(2) is there a related way to change font size for individual field names?
In the above example, I think the style statement needs an equal sign
instead of colon:
form_add_new_role_member_status =
SQLFORM.factory(db.role_member_status_i
That is not documented on the book got it working on my own way.
Thanks
El mié., 30 may. 2018 a las 18:25, Bryan Chance () escribió:
>
> if request.is_scheduler:
> db.commit()
>
> source: https://groups.google.com/forum/#!topic/web2py/ZDoDGH7DNjY
>
> On Wed, May 30, 2018 at 9:53 AM, Yoel B
base on the book, here is the default argument provide by anyserver.py
ref:
http://web2py.com/books/default/chapter/29/13/deployment-recipes#anyserver-py
think it need sudo (super user access) to run port < 1000, and
alternatively you can run gunicorn itself (without anyserver.py), of course
the
If yor are using SQLFROM than You can try this
labels={'field_name':P('name',B('*',_style:'color:red'))}
Best
On Tue, Jun 19, 2018 at 11:24 PM Tu Duong wrote:
> Hi, what is the best way to add red * (or any indication that the field is
> required for user) in the label of the required field? Th
Hi ,
how to run web2py with Gunicorn in HTTPS, can i add arguments in
anyserver.py ?
Thanks for your help in advance.
Jagadish
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/
On Friday, June 22, 2018 at 2:08:44 AM UTC-4, Yebach wrote:
>
> Hello
>
> In auth_event the password reset is not logged while all other user
> activities (user logged in, user changed password) are. Where (in which
> controller) would I insert onvalidation and onaccept callbacks?
>
Each Auth a
10 matches
Mail list logo