zero_shubham1

manage.py

Mar 12th, 2021 (edited)
992
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. import click
  2. from flask.cli import (
  3.     with_appcontext
  4. )
  5.  
  6.  
  7. @click.command("create_super_admin")
  8. @click.argument("user_name")
  9. @click.argument("password")
  10. @with_appcontext
  11. def create_super_admin(user_name, password):
  12.     print("ok ->", user_name, password)
  13.  
Add Comment
Please, Sign In to add comment