|
Hi there, I realized the database was not empty, I checked it out from launchpad along with the code, thats probably why my user was not made admin and the main page was not there, by flushing the database that was fixed, but the rest of the problems remain, for now. Actually, I coded the delete action for the logs, its pretty easy, I guess: just add in t4/controllers/default.py:43: @auth.requires(auth.is_admin) def delete(): crud.delete(db.t_page, int(request.args(1)), next=URL(r=request,f='logs',args=page_name)) Cheers! Julio Monteiro Júlio Monteiro wrote: Hello there, Massimo! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [web2py:34282] T4 Júlio Monteiro
- [web2py:34296] Re: T4 Júlio Monteiro
- [web2py:34331] Re: T4 Júlio Monteiro
- [web2py:34332] Re: T4 mdipierro
- [web2py:34333] Re: T4 mdipierro
- [web2py:34336] Re: T4 Júlio Monteiro
- [web2py:34338] Re: T4 mdipierro
- [web2py:34344] Re: T4 Júlio Monteiro
- [web2py:34335] Re: T4 Júlio Monteiro
- [web2py:34346] Re: T4 Júlio Monteiro
- [web2py:34348] Re: T4 Júlio Monteiro
- [web2py:34349] Re: T4 mdipierro

