title: django.db.utils.IntegrityError:
body: <blockquote>
    <p>django.db.utils.IntegrityError: The row in table 'main_tutorial' with primary key '1' has an invalid foreign key: main_tutorial.tutorial_series_id contains a value 'tutorial_series_id' that does not have a corresponding value in main_tutorialseries.id.</p>
  </blockquote>
  
  <p>The above error shows up and cant migrate</p>
  
  <p>These are my models:</p>
  
  <pre><code>    from django.db import models
      from datetime import datetime
      #Create your models here.
  
      class TutorialCategory(models.Model):
          tutorial_category = models.CharField(max_length=200)
          category_summary = models.CharField(max_length=200)
          category_slug = models.CharField(max_length=200, default=1)
  
          class Meta:
              #Gives the proper plural name for admin
              verbose_name_plural = "Categories"
  
          def __str__(self):
              return self.tutorial_category
  
      class TutorialSeries(models.Model):
          tutorial_series = models.CharField(max_length=200)
          tutorial_category = models.ForeignKey(TutorialCategory, default=1,verbose_name="Category", on_delete=models.SET_DEFAULT)
          series_summary = models.CharField(max_length=200)
  
          class Meta:
              #Otherwise we get "Tutorial Serie*ss* in admin"
              verbose_name_plural = "Series"
  
          def __str__(self):
              return self.tutorial_series
  
      class Tutorial(models.Model):
          tutorial_title = models.CharField(max_length=200)
          tutorial_content = models.TextField()
          tutorial_published = models.DateTimeField("date published", default = datetime.now())
          tutorial_series = models.ForeignKey(TutorialSeries, default=1, verbose_name="Series", on_delete=models.SET_DEFAULT)
          tutorial_slug = models.CharField(max_length=200,default=1)
  
          def __str__(self):
              return self.tutorial_title
  </code></pre>