old_contents: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  import django.contrib.sites.models
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Site',
              fields=[
                  ('id', models.AutoField(verbose_name='ID',
                                          primary_key=True, serialize=False, auto_created=True)),
                  ('domain', models.CharField(verbose_name='domain name', max_length=100,
                                              validators=[django.contrib.sites.models._simple_domain_name_validator])),
                  ('name', models.CharField(verbose_name='display name', max_length=50)),
              ],
              options={
                  'verbose_name_plural': 'sites',
                  'verbose_name': 'site',
                  'db_table': 'django_site',
                  'ordering': ('domain',),
              },
              managers=[
                  (b'objects', django.contrib.sites.models.SiteManager()),
              ],
          ),
      ]
  
new_contents: # -*- coding: utf-8 -*-
  from __future__ import unicode_literals
  
  import django.contrib.sites.models
  from django.db import migrations, models
  
  
  class Migration(migrations.Migration):
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Site',
              fields=[
                  ('id', models.AutoField(verbose_name='ID',
                                          primary_key=True, serialize=False, auto_created=True)),
                  ('domain', models.CharField(verbose_name='domain name', max_length=100,
                                              validators=[django.contrib.sites.models._simple_domain_name_validator])),
                  ('name', models.CharField(verbose_name='display name', max_length=50)),
              ],
              options={
                  'verbose_name_plural': 'sites',
                  'verbose_name': 'site',
                  'db_table': 'django_site',
                  'ordering': ('domain',),
              },
              managers=[
                  ('objects', django.contrib.sites.models.SiteManager()),
              ],
          ),
      ]
  
subject: Fix type in contrib.sites.migrations for Django 2.x compatibility