I try to move my flask app to Google AppEngine, in fact, I start a new blank project ...
I have these decorators:
Falcet import redirect, request, abort def login_required (func) from users of Google.appengine.api import from Funnelcast import From "login credentials" @ (franc) DEF decorated_view (* args, ** quargas): if not user.gate_ current_user (): Direct redirect (users.create_login_url (request.url)) Return function (* Elghs, ** quargas)
But I want to create my user model in "database" with some credentials , Such as password, facebook id and some other fields.
How can I create a user model, flask + in GE, and can I use it in my application?
Thanks !
No comments:
Post a Comment