Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Login(View):
- def get(self,request):
- username=request.GET['username']
- password=request.GET['password']
- return login_f(username,password)
- def login_f(username,password):
- print(username,password)
- db.employee.insert([{"Username":username,"Password":password,"employee age": 24}])
- db.employee.update([{"Username":"username"},{"$set",{"Username":" ","Password":" "}}])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement