Good question. Not sure there is a way that is best.
You are free to use URL everywhere but often it is not-necessary,
specifically because all static files have the same prefix. It is therefore
faster and more concise to use the above syntax.
On Sunday, 19 January 2020 09:35:27 UTC-8, Jim S
I would recommend you do something like this
@action('index')
@action.uses('index.html', session)
def index():
...
return dict(session=dict(session))
This will pass a shallow copy of the session to the view. You will be free
to read from the session in index.html but you should not
You should use the py4web documentation. Also please report any error you
find.
On Tuesday, 14 January 2020 22:03:59 UTC-8, Andrew Rogers wrote:
>
> Hi
>
> Is the documentation for web2py still mostly relevant for py4web?
>
> Thanks
> Andrew
>
> On Thursday, 12 December 2019 20:47:05 UTC+6:30,
Hi Nbush,
I tried all the steps mentioned here, but for me, these steps are not
working even for a given example.
SO link which explains my attempt and steps:
https://stackoverflow.com/q/59749220/6299857
Can you please explain what I am missing over here or working example of
web2py
Hello John! did you solve it? I have the same problem.
El jueves, 26 de septiembre de 2019, 6:05:52 (UTC-3), John Bannister
escribió:
>
> Hi Massimo,
>
> Have one more question which may or may not be related.
>
> I have multiple controllers all including the same layout.html. In the
>
Hi Folks, I have an existing python application that reads data from
industrial controllers and publishes it to a message queue. The application
is currently headless and logs errors and events to a log file. I would
like to add a web interface to the application so that I can log into the
app
I had to copy it, the folder to Web2py modules folder for it to work. You
can also copy to Web2py site packages folder.
Regards
On Mon, Jan 20, 2020, 20:53 'Annet' via web2py-users <
web2py@googlegroups.com> wrote:
> Last week I upgraded my development environment from Mac OS X Mavericks -
>
Last week I upgraded my development environment from Mac OS X Mavericks -
Python 2.7 - Web2py 2.14.5 to
Mac OS X Catalina - Python 2.7 - Web2py 2.18.5, since then I have the
following issue:
Failure to connect, tried 5 times:
Traceback (most recent call last): File
Hi!
For our deploy installation I followed successfully the procedures in
documentation so now I have my server exposing the web2py root, now I
tried to configure a second host name using an apache reverse proxy
configuration to serve directly a specific application, is it possible?
Let's
Thank you very much. I will look into this.
What I was hoping for was an auto-reload the way Flask does it. If you're
in a dev environment it auto-reloads for you, no extra work on my part.
But, I'll check this out, it should save me quite a few extra keystrokes
-Jim
On Mon, Jan 20, 2020 at
in 2014 i did this "live reload thing" with web2py
https://www.youtube.com/watch?v=zt5gnKk40Zw
Em seg., 20 de jan. de 2020 às 15:57, António Ramos
escreveu:
> I bet it can be done with https://gruntjs.com/ or https://gulpjs.com/ or
> the new kid https://parceljs.org/
>
>
>
> Em dom., 19
I bet it can be done with https://gruntjs.com/ or https://gulpjs.com/ or
the new kid https://parceljs.org/
Em dom., 19 de jan. de 2020 às 17:40, Jim S escreveu:
> Is there a way to get py4web to auto-reload when the source for an app has
> changed?
>
> -Jim
>
> --
> Resources:
> -
Good morning and thanks in advance for sharing your knowledge in this group.
Do any of you have a practical example where you can follow step by step
learning from the installation of py4web to the setting up of a site?
Thanks for the reply.
--
Resources:
- http://web2py.com
-
13 matches
Mail list logo