After logging in, the user has access to a set of drafts they created. These are stored in the following:
class Draft(models.Model):
user = models.ForeignKey(User)
title = models.CharField(max_length=30)
content = models.TextField()
The user should be able to go to /drafts to access their drafts. How can I use request.user to filter through the drafts?
In your view you would do:
and then return drafts to your template and loop through it.