Hello.
I have a web2py html page (e.g. idex.html) that has another page in iframe
within the app. After session timeout, I get redirected back to the login
page which works at the iframe page and not the main page.
I used this in the model.py:
auth.settings.expiration = 1800
The problem
Thank you Villas, you've been much helpful
On Thursday, July 23, 2020 at 2:05:49 PM UTC+2, villas wrote:
>
> As you've discovered, random doesn't work in this context. Make an array
> of class attendee numbers and then allocate the class which has the fewest
> students.
>
>
> On Thursday, 23
As you've discovered, random doesn't work in this context. Make an array
of class attendee numbers and then allocate the class which has the fewest
students.
On Thursday, 23 July 2020 12:50:00 UTC+1, mostwanted wrote:
>
> Well the whole concept behind this application was that allocation of
Well the whole concept behind this application was that allocation of
spaces in time, days & class rooms should be automatic, the user should
just select the lecturer, the subject & the period the subject takes
(Double session=2hrs, Single session=1hr) from there after the user submits
that
Suggestion:
Your idea of overriding the user's selections with random choices seems
strange.
Why not ask the user to specify a date and then show him which classes are
available nearest that date/time?
He can then choose one of those.
On Wednesday, 22 July 2020 19:04:27 UTC+1, mostwanted
Ubuntu 16
Dave S schrieb am Do., 23. Juli 2020, 11:29:
>
>
> On Thursday, July 23, 2020 at 2:15:43 AM UTC-7, mweissen wrote:
>>
>> Yes, I could use the scheduler. But it's a very small app (only 50 lines
>> of code) and I wanted to learn how to use cron.
>> Regards, Martin
>>
>>
>>
> What OS
On Thursday, July 23, 2020 at 2:15:43 AM UTC-7, mweissen wrote:
>
> Yes, I could use the scheduler. But it's a very small app (only 50 lines
> of code) and I wanted to learn how to use cron.
> Regards, Martin
>
>
>
What OS are you running on?
/dps
> AGRogers > schrieb am Do., 23. Juli
On Thursday, July 23, 2020 at 1:29:42 AM UTC-7, mostwanted wrote:
>
> Is there a way to define the port in a bat script that launches the app?
>
>
Of course. port is just a command line parameter for the web2py command,
which you can wrap in the bat Knowing what port to use is the tricky
Yes, I could use the scheduler. But it's a very small app (only 50 lines of
code) and I wanted to learn how to use cron.
Regards, Martin
AGRogers schrieb am Do., 23. Juli 2020, 10:56:
> Sorry, can't help there. I have just started to use the Scheduler which is
> part of web2py. It was easy to
Sorry, can't help there. I have just started to use the Scheduler which is
part of web2py. It was easy to setup and seems to work well. Is there a
reason you can't use it?
On Thu, 23 Jul 2020, 1:53 pm Martin Weissenboeck,
wrote:
> I use web2py with nginx.Now I need cron . I have read, that habe
Is there a way to define the port in a bat script that launches the app?
On Thursday, July 23, 2020 at 9:16:28 AM UTC+2, AGRogers wrote:
>
> I think you just need to run each on a different port.
>
> On Thu, 23 Jul 2020, 3:57 pm mostwanted, >
> wrote:
>
>> Hi Guys, how can i install 2 web2py
I think you just need to run each on a different port.
On Thu, 23 Jul 2020, 3:57 pm mostwanted, wrote:
> Hi Guys, how can i install 2 web2py binary standalone applications in one
> computer & start them at the same time without them interfering with one
> another?
>
> I am asking this because
I asked this in a previous question I posted but felt it may not be picked
up quick enough, I dont mean to be repetitive i just need help on it
immediately!
After a form has failed to save because that information already exists in
the database I wanna try & alter the value that determines a
13 matches
Mail list logo