auth.settings.actions_disabled.append('profile')

On 12 Lug, 10:29, Jean-Guy <[email protected]> wrote:
> I get this error :
>
> AttributeError:'NoneType'object has no attribute'append'
>
> I put this :
>
> auth.settings.function_disabled.append('profile')
>
> In the db.py and in the user function...
>
> Jonhy
>
> On 2010-07-12 11:04, mdipierro wrote:
>
> > That line only links the edit profile page. To block it you need to
> > 1) remove the list (as you did) and
> > 2) auth.settings.function_disabled.append('profile')
>
> > On 12 Lug, 09:48, Jean-Guy<[email protected]>  wrote:
>
> >> Hello,
>
> >> It says here :http://web2py.com/book/default/section/8/1?search=profile
>
> >> That this line :
>
> >>http://.../[app]/default/user/profile
>
> >> Control if the user can or not edit their profile by exposing or not the
> >> function.
>
> >> I remove it but the users can still edit their profiles.
>
> >> Do I miss something?
>
> >> Jonhy

Reply via email to