1python django queries , queryset for shell
2---------------------------
3from home.models import SignupM
4SignupM.objects.all()
5from datetime import date
6SignupM.objects.create(timestamp=date.today(),username='myname',password='12345')
7SignupM.objects.all()[0].username
8SignupM.objects.all().first()
9SignupM.objects.all().last()
10SignupM.objects.filter(username='myname')
11SignupM.objects.filter(username='myname').update(username='newname')
12SignupM.objects.filter(username__startswith='newname')
13SignupM.objects.filter(username='newname').delete()