On Wednesday, September 11, 2019 at 1:55:04 PM UTC-7, Steve wrote:
>
> Hi Dave,
>
> After performing a Fake_migration_all=True the Db files where created in
> de app/databases folder.
> So, in de admin i can see all of the tables.
>
> But, unfortunatly the tables where NOT created in the MyS
Auth.iser.id works.
Just the cPickle issues.
Maybe I'll be on and off asking more about it.
Regards
On Thu, 12 Sep 2019, 09:16 Massimo Di Pierro
wrote:
> wow that is a very old app. It has some good ideas but it also has bugs.
> It was a proof of concept. I believe person_id in that context sho
for item1 in item1:
I mentioned this to you before -- please do not do this!
It is a really bad practice which will cause terrible problems for you.
For example, do this instead:
for i in item1:
Best wishes for your program.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documen
Thank you everyone for your input, i was finally was able to solve my
problem, i added these two lines & erased everything else (smile) & it
worked like a charm.
diff=db.product(key).amount-value
db(db.product.id==db.product(key).id).update(amount=diff)
The whole code:
total = sum(db.product(id)
Sorry @villas its just a bad habit that i have somehow over time gotten
used to but i will heed your advice, thank you.
Mostwanted
On Thursday, September 12, 2019 at 12:43:29 PM UTC+2, villas wrote:
>
> for item1 in item1:
>
> I mentioned this to you before -- please do not do this!
> It is a
Well done for getting it working...
We're all learning from each other here! :)
On Thursday, 12 September 2019 12:27:27 UTC+1, mostwanted wrote:
>
> Sorry @villas its just a bad habit that i have somehow over time gotten
> used to but i will heed your advice, thank you.
>
> Mostwanted
>
> On Th
I liked it.
Much more faster and responsive.
I didn't get how use search properly.
I have on suggestion for letting grid more mobile friendly.
Take a look at this snippet https://codepen.io/andornagy/pen/EVXpbR
It is pure CSS.
It transform columns into rows in a card style table.
I have used it,
We have looked in this further, and due to the autoincremented ID fields in
the Auth tables, we are going to have a very complicated release process.
The problem is that the ID will be used in all references to the users and
groups but between pillars (DEV,ACC,PRO) the ID's may not be the same w
It's done.
But I have a question: where will we put component styling?
I add an table.css file and linked in layout.html but I think it belongs to
the component.
I wish we would use Vue SFC format.
Now is possible to use SFC components without using bundlers.
Em qui, 12 de set de 2019 às 09:52,
In my database i have items i am selling, one of the fields is quantity
which refers to the number of items still available for purchase, what i
want is for that item not to be displayed when quantity reaches 0.
Initially i had the items get deleted when quantity is zero until i
realized that t
Hi Massimo,
Some feedback for you on the new grid (which is looking very cool) and which I
played with a bit today.
Basically I connected to a MySQL db and loaded some existing medium sized
tables (~400K records) and sort of compared it with web2py grid (standard
web2py) and also datat
Thank you. very valuable feedback. The point of the new grid is that it
comes with a mtable.html template. We can change it to make it look more
datatable.
On Thursday, 12 September 2019 09:53:36 UTC-7, John Bannister wrote:
>
> Hi Massimo,
>
>
>
> Some feedback for you on the new grid (which
This is really cool. I will make a version of mtable.html that uses it.
On Thursday, 12 September 2019 05:52:52 UTC-7, Carlos Costa wrote:
>
> I liked it.
> Much more faster and responsive.
>
> I didn't get how use search properly.
>
> I have on suggestion for letting grid more mobile friendly.
>
To clarify.
I do not like SFC because I do not think js and html belong to the same
file. py4web has a utils.js which implements a TFC Two-File-Components (I
claim copyright). This is undocumented and you will not see it in other vue
apps.
Basically each component has on js and one html file.
Please do. KPax had some good idea. It should be ported to py4web.
On Thursday, 12 September 2019 02:09:14 UTC-7, Lovedie JC wrote:
>
> Auth.iser.id works.
> Just the cPickle issues.
> Maybe I'll be on and off asking more about it.
> Regards
>
>
> On Thu, 12 Sep 2019, 09:16 Massimo Di Pierro
If anyone facing the same problem here what I did seem that mod_wsgi was
obsoleted so I solved the problem by migrated to nginx with uwsgi.
On Monday, August 12, 2019 at 12:34:32 AM UTC+7, Jirawat Kusolpredee wrote:
>
> I'm running a web server and do a port forward from router to server.
> My I
16 matches
Mail list logo