I am working on a house rental application, i want users to easily notify
one another of places they know via whatsapp, i have written the
functionality and this is how it should work:
Next to the rental amount is a whatsapp sharing link that when the user
clicks it carries forward all the renta
Not sure if I'm qualified to give tips here, but I had a one-time job that
timed out with out-of-memory error. To fix that, I cloned a copy of my site
(admin-console, manage, pack all), keeping the same database, then in db.py
replaced every instance of 'reference my_big_tables' with 'integer' i
Not yet. Will create one eventually but want to finish a couple of features
with support with this community
On Monday, 12 August 2019 07:38:46 UTC-7, En Ware wrote:
>
> Is there an IRC channel for py4web yet ? or an official group ?
>
> On Tuesday, July 30, 2019 at 1:38:05 AM UTC-5, Massimo Di
Hi everyone,
I use gloun.tools.Expose to expose a folder, the base directory is built with
variables, that are saved in the session. But, gloun.tools.Expose cleans the
session at its init function.
Usecase:
User clicks a link with GET variables, this is a call to a function in a
controller. The c
On Tuesday, July 30, 2019 at 7:08:43 PM UTC-7, Dave S wrote:
>
>
>
> On Monday, July 29, 2019 at 3:06:54 PM UTC-7, Dave S wrote:
>>
>>
>>
>> On Tuesday, April 23, 2019 at 8:00:44 PM UTC-7, Dave S wrote:
>>>
>>> I run web2py under nginx and uwsgi. The latter runs in master mode
>>> (rather than
100 images per page? What do your images look like? Are these icons? What size?
To prevent db scratching there is Cache-Control
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/lis
DAL(None) still works, you do need to do a bit of setting up if you want to
use it for forms, namely set the DAL default validators.
See how SQLFORM.factory does it:
https://github.com/web2py/web2py/blob/master/gluon/sqlhtml.py#L2053
--
Resources:
- http://web2py.com
- http://web2py.com/book (D
Yes, I want get from database many images (maybe not all, but 100 or 50
pictures). In your case for creating 1 page I need to do 101 or 51 query to
database. I want have one query and transfer row.recipes.IMAGE as variable
in img function. Somthing like that (but it's not work):
def index():
Is there an IRC channel for py4web yet ? or an official group ?
On Tuesday, July 30, 2019 at 1:38:05 AM UTC-5, Massimo Di Pierro wrote:
>
> to be clear... most of the docs is backported by web2py + explanation of
> sessions and @action decorator.
> Most of the new features are still undocumented
On Sunday, August 11, 2019 at 10:34:32 AM UTC-7, Jirawat Kusolpredee wrote:
>
> Access admin page -> edit -> versioning -> throw exception ??? versioning
> just doesn't work I never messing up the core ? What happened here ?
>
Source control? Use an external source control, like Tortoise HG or
I don’t quite understand what do you mean 'in cycle', do you want to
include all images in one html page?
to make img() more useful you can do this (for example)
def img():
id =request.args(0)
if id:
row = db(db.recipes.id == id).select(db.recipes.IMAGE).first()
11 matches
Mail list logo