Awesome! Thank you for all your help.

On Jun 9, 11:16 pm, mdipierro <[email protected]> wrote:
> > And if you want to enforce a facebook login before using the app, you
> > would have to call require_facebook_login(request,facebook_settings)
> > in every action you write.
> > That is not very DRY.
>
> Not necessarily. In web2py, you can put the logic in a controller file
> outside any action and it will apply to all actions in the controller.
> Or you can put the logic in a model file and it will apply to every
> action of every controller.

Reply via email to