Yes, I got bitten by this too. My opinion is that this decorator (and
others like it) should start commented out. These little obstacles can make
those first weeks unnecessarily harder.
On Wed, 23 Sep 2020, 1:18 pm BigBaaadBob, wrote:
> Yes, thanks. I’m just surprised this doesn’t work In the We
Yes, thanks. I’m just surprised this doesn’t work In the Welcome
application out of the box. I’m not writing a new application; I’m just
clicking on the buttons provided in unchanged freshly cloned code.
On Tuesday, September 22, 2020 at 11:04:00 AM UTC-7 Константин Комков wrote:
> Hello! You n
Hello! You need to comment decorator #@auth.requires_membership('admin') or
add your user in 'admin' group see chapter 9 Access Control in The book.
Also set table name, forexample:
tablename = 'auth_user'
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github
I don't know but it's not working:
SELECT(*years, _name='year', _id='year',
requires=IS_INT_IN_RANGE(request.now.year - 1, request.now.year + 1,
error_message="Year isn't correct!'"),
_class='form-control', **{'_v-model': 'year'})
--
Resources:
-
I just now cloned (recursive) the web2py distro, started it, and clicked on
the "grid example" button in the welcome application. I then registered
when asked to authenticate. I got redirected back to the welcome app index
page. I then click on the "grid example" button again and I get "Not
aut
5 matches
Mail list logo