How can I get information about the logged-in user in a Django application?
For example:
I need to know the username of the logged-in user to say who posted
For classed based views use self.request.user.id