0👍
For assigning user, it should be like:
c.author= User.objects.filter(id= request.user.id)[0]
- [Answer]-Django template: filter in an other
- [Answer]-Python – how to correctly use htmlparser on alexa.com
Source:stackexchange.com
0👍
For assigning user, it should be like:
c.author= User.objects.filter(id= request.user.id)[0]