old_contents: """Test model definitions."""
  
  from __future__ import unicode_literals
  
  from django.core.management import call_command
  from django.db import models
  
  from el_pagination import utils
  
  
  def make_model_instances(number):
      """Make a ``number`` of test model instances and return a queryset."""
      for _ in range(number):
          TestModel.objects.create()
      return TestModel.objects.all()
  
  
  class TestModel(models.Model, utils.UnicodeMixin):
      """A model used in tests."""
  
      def __unicode__(self):
          return 'TestModel: {0}'.format(self.id)
  
  
  call_command('syncdb', verbosity=0)
  
new_contents: """Test model definitions."""
  
  from __future__ import unicode_literals
  
  from django.core.management import call_command
  from django.db import models
  
  from el_pagination import utils
  
  
  def make_model_instances(number):
      """Make a ``number`` of test model instances and return a queryset."""
      for _ in range(number):
          TestModel.objects.create()
      return TestModel.objects.all()
  
  
  class TestModel(models.Model, utils.UnicodeMixin):
      """A model used in tests."""
  
      def __unicode__(self):
          return 'TestModel: {0}'.format(self.id)
  
  
  call_command('migrate', verbosity=0)
  
subject: replace syncdb for migrate