muhammad_nasif

update_employees

Dec 11th, 2020
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. def update_employees(request , id):
  2.     if request.session['username'] != "cm_abrar":
  3.         return redirect(customer_view.login)
  4.     else:
  5.         print("ID is : ")
  6.         print(id)
  7.         return redirect(show_employees)
Advertisement
Add Comment
Please, Sign In to add comment