Update sites -> migrations

This commit is contained in:
Saurabh Kumar 2015-04-26 16:29:31 +05:30
parent b6e5a995ef
commit 948200f4cf

View File

@ -14,16 +14,18 @@ class Migration(migrations.Migration):
migrations.CreateModel( migrations.CreateModel(
name='Site', name='Site',
fields=[ fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), ('id', models.AutoField(verbose_name='ID', primary_key=True, serialize=False, auto_created=True)),
('domain', models.CharField(max_length=100, verbose_name='domain name', validators=[django.contrib.sites.models._simple_domain_name_validator])), ('domain', models.CharField(verbose_name='domain name', max_length=100, validators=[django.contrib.sites.models._simple_domain_name_validator])),
('name', models.CharField(max_length=50, verbose_name='display name')), ('name', models.CharField(verbose_name='display name', max_length=50)),
], ],
options={ options={
'ordering': ('domain',),
'db_table': 'django_site',
'verbose_name': 'site',
'verbose_name_plural': 'sites', 'verbose_name_plural': 'sites',
'verbose_name': 'site',
'db_table': 'django_site',
'ordering': ('domain',),
}, },
bases=(models.Model,), managers=[
(b'objects', django.contrib.sites.models.SiteManager()),
],
), ),
] ]