>
> hi guys sorry to intrude, i have a problem here
>
db.define_table('stock_status',
Field('Date', 'datetime', default=request.now, writable=False),
Field('SN'),
Field('item_description'),
Field('Quantity','integer'),
Field('UOM'),
Field('stockIN','integer'),
Field('st
I I'll give it a try @ron
On Jun 23, 2017 06:20, "Ron Chatterjee" wrote:
> Does this help?
>
> http://www.web2pyslices.com/slice/show/2018/plugin-manage-groups
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
>
I find wrb2admin easier to understand and use. Is there a simplified
way/explanation on how to use after installing. e.g. Www.vimeo.com/60895953
Regards
On Jun 23, 2017 06:20, "Ron Chatterjee" wrote:
Does this help?
http://www.web2pyslices.com/slice/show/2018/plugin-manage-groups
--
Resources:
i think this guy is working on the flatpickr datepicker but could use some
help
https://github.com/web2py/web2py/issues/1646
On Monday, June 5, 2017 at 10:39:11 AM UTC+2, Karoly Kantor wrote:
>
> Dear Massimo,
>
> I saw your question in the developers group where I cannot post, therefore
> i d
I have a fairly straight forward table, and a fairly easy db query:
db(db.segment.parent == request.vars.id).select()
For my use case, this returns a Rows object of 3 to 10 Row objects, and I
do some simple calculations.
for row in rows:
if row.x:
term1 = row.term
if row.y:
term2 =
So I have a form with field which looks like this. I want the error message
to display in red though, how do I do it? Thanks.
edit_user_form= SQLFORM.factory
(
Field('name', 'string', requires=IS_NOT_EMPTY(error_message='Enter
your name'))
)
--
Resources:
- http://web2py.com
- http://w
It can be cool to have best practices documentations too;
Unit testing(with auth,decorated methods...),
Continuous Integration(Either travis-ci or jenkins...),
because web2py may have many features but the documentation is still very
poor.
kr,
Oasis
On Monday, June 5, 2017 at 10:39:11 AM UTC
For what it's worth, I disagree with the last statement completely. I've
used other frameworks and feel the documentation for web2py is far superior.
Some best practices docs would be nice but that hardly qualifies as poor
documentation.
-Jim
On Friday, June 23, 2017 at 3:04:11 PM UTC-5, Oas
I'm planning to have 2 servers hosting web2py for load balancing and high
availability. Will sessions be persistent across both servers? If not, then I
need to make sure the load balancer always direct the same user session to the
same server? Is my understanding correct?
--
Resources:
- http:
That is best handled via CSS. The error div will have class "error", so you
can use that to specify a CSS rule.
Anthony
On Friday, June 23, 2017 at 3:44:38 PM UTC-4, Simona Chovancová wrote:
>
> So I have a form with field which looks like this. I want the error
> message to display in red thou
Either store sessions in the database or use stick sessions. See
http://web2py.com/books/default/chapter/29/13/deployment-recipes#Efficiency-and-scalability.
Anthony
On Friday, June 23, 2017 at 4:12:37 PM UTC-4, briann...@gmail.com wrote:
>
> I'm planning to have 2 servers hosting web2py for loa
Hi Dave,
Open your app on the commandline:
python web2py.py -S yourapp -M
Experiment a little...
1. for i, row in enumerate(rows)
2. rows[0].test = 'whatever'
On Friday, 23 June 2017 17:29:00 UTC+1, Dave S wrote:
>
> I have a fairly straight forward table, and a fairly easy db query:
> db
How to decide which method to used - shared folder or database?
On Jun 23, 2017 4:21 PM, "Anthony" wrote:
> Either store sessions in the database or use stick sessions. See
> http://web2py.com/books/default/chapter/29/13/
> deployment-recipes#Efficiency-and-scalability.
>
> Anthony
>
> On Friday
On Friday, June 23, 2017 at 4:01:05 AM UTC-4, kesh wrote:
>
> hi guys sorry to intrude, i have a problem here
>>
> db.define_table('stock_status',
> Field('Date', 'datetime', default=request.now, writable=False),
> Field('SN'),
> Field('item_description'),
> Field('Quantity','intege
On Friday, June 23, 2017 at 1:35:23 AM UTC-4, T.R.Rajkumar wrote:
>
> Anthony, When I comment out auth and in model amc/amc.py I add this
> from gluon.storage import Storage
> from gluon.utils import web2py_uuid
> if not 'auth' in session:
> session.auth = Storage(hmac_key=web2py_uuid())
>
Try
Hello,
How can someone implement a token based authentication in web2py;
Both token generation and authorization?
kr,
Oasis
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
On Friday, June 23, 2017 at 1:49:17 PM UTC-7, Oasis Agano wrote:
>
> Hello,
>
> How can someone implement a token based authentication in web2py;
> Both token generation and authorization?
>
>
gluon/tools.py line 1132 covers the JWT support Niphlod added.
(line 1132 in version 2.14.6, that is)
No
On Friday, June 23, 2017 at 1:24:30 PM UTC-7, villas wrote:
>
> Hi Dave,
>
> Open your app on the commandline:
>
> python web2py.py -S yourapp -M
>
> Experiment a little...
>
> 1. for i, row in enumerate(rows)
> 2. rows[0].test = 'whatever'
>
I've kinda already done that. No tee-shirt appeare
Yes, perfect Anthony. Thanks a lot for forbearing with me. Anyway it is my
pleasure to learn from the group.
I put the above code in my login action as below. It is working perfectly.
from gluon.storage import Storage
from gluon.utils import web2py_uuid
def login():
form = FORM(TABLE(
19 matches
Mail list logo