old_contents: # -*- coding: utf-8 -*-
  from south.utils import datetime_utils as datetime
  from south.db import db
  from south.v2 import SchemaMigration
  from django.db import models
  
  
  try:
      from django.contrib.auth import get_user_model
  except ImportError: # django < 1.5
      from django.contrib.auth.models import User
  else:
      User = get_user_model()
  
  
  class Migration(SchemaMigration):
  
      def forwards(self, orm):
          # Adding model 'Follow'
          db.create_table(u'generic_follow_follow', (
              (u'id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
              ('user', self.gf('django.db.models.fields.related.ForeignKey')(related_name='following', to=orm["%s.%s" % (User._meta.app_label, User._meta.object_name)])),
              ('created', self.gf('django.db.models.fields.DateTimeField')(auto_now_add=True, blank=True)),
              ('target_content_type', self.gf('django.db.models.fields.related.ForeignKey')(to=orm['contenttypes.ContentType'])),
              ('target_object_id', self.gf('django.db.models.fields.PositiveIntegerField')()),
          ))
          db.send_create_signal(u'generic_follow', ['Follow'])
  
  
      def backwards(self, orm):
          # Deleting model 'Follow'
          db.delete_table(u'generic_follow_follow')
  
  
      models = {
          "%s.%s" % (User._meta.app_label, User._meta.module_name): {
              'Meta': {'object_name': User.__name__},
          },
          u'contenttypes.contenttype': {
              'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
              'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
              'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
          },
          u'generic_follow.follow': {
              'Meta': {'object_name': 'Follow'},
              'created': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
              u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
              'target_content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': u"orm['contenttypes.ContentType']"}),
              'target_object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
              'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'following'", 'to': "orm['%s.%s']" % (User._meta.app_label, User._meta.object_name)})
          },
      }
  
      complete_apps = ['generic_follow']
  
new_contents: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  from django.conf import settings
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('contenttypes', '0002_remove_content_type_name'),
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Follow',
              fields=[
                  ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                  ('created', models.DateTimeField(auto_now_add=True)),
                  ('target_object_id', models.PositiveIntegerField()),
                  ('target_content_type', models.ForeignKey(to='contenttypes.ContentType')),
                  ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.AlterUniqueTogether(
              name='follow',
              unique_together=set([('user', 'target_content_type', 'target_object_id')]),
          ),
      ]
  
subject: convert to django migrations