• Jürgen Gmach's avatar
    Refactor is_accessible · 5d546b1d
    Jürgen Gmach authored
    Now, no more if statements are used.
    
    Also, this should be more readable, and even faster, as in case of any
    False value, the method can return early.
    
    modified:   examples/auth/app.py
    5d546b1d
Name
Last commit
Last update
..
appengine Loading commit data...
auth Loading commit data...
auth-flask-login Loading commit data...
auth-mongoengine Loading commit data...
babel Loading commit data...
custom-layout Loading commit data...
forms-files-images Loading commit data...
geo_alchemy Loading commit data...
methodview Loading commit data...
mongoengine Loading commit data...
multiple-admin-instances Loading commit data...
peewee Loading commit data...
pymongo Loading commit data...
simple Loading commit data...
sqla Loading commit data...
sqla-association_proxy Loading commit data...
sqla-custom-inline-forms Loading commit data...
tinymongo Loading commit data...