title: How to link Django User model to certain Post models
body: <p>So let's say I have a model called &quot;Post&quot; that looks like this:</p>
  <pre><code>    class Post(models.Model):
              title = models.CharField(max_length=50)
              body = models.TextField()
  
              def __str__(self):
                     return self.title
  </code></pre>
  <p>now, say I have an option for users to create a Post on my site. How could I alter the standard User model and give it a characteristic containing all of the posts that that user has created. For example, say we have a user who has created a post. In the interactive shell that Django has, I could enter &quot;user.posts&quot; and It would pull up all the posts that that user has created. How could I go about this?</p>