old_contents: from django.contrib.auth.models import User
  from django.db import models
  
  
  class Discussion(models.Model):
      name = models.CharField(max_length=255)
      slug = models.SlugField()
  
      def __unicode__(self):
          return self.name
  
  class Post(models.Model):
      discussion = models.ForeignKey(Discussion)
      name = models.CharField(max_length=255)
      slug = models.SlugField()
  
      def __unicode__(self):
          return self.name
  
  class Comment(models.Model):
      post = models.ForeignKey(Post)
      user = models.ForeignKey(User)
      body = models.TextField()
  
      def __unicode__(self):
          return 'Comment on %s by %s' % (self.post.name, self.user)
  
  
new_contents: from django.contrib.auth.models import User
  from django.db import models
  
  
  class Discussion(models.Model):
      name = models.CharField(max_length=255)
      slug = models.SlugField()
  
      def __unicode__(self):
          return self.name
  
  
  class Post(models.Model):
      discussion = models.ForeignKey(Discussion)
      name = models.CharField(max_length=255)
      slug = models.SlugField()
  
      def __unicode__(self):
          return self.name
  
  
  class Comment(models.Model):
      post = models.ForeignKey(Post)
      user = models.ForeignKey(User)
      body = models.TextField()
  
      def __unicode__(self):
          return 'Comment on %s by %s' % (self.post.name, self.user)
  
  
subject: Add correct spacing