1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #22602 -- Improved code coverage of makemigrations command tests.

This commit is contained in:
Huu Nguyen
2014-05-20 07:29:32 -07:00
committed by Tim Graham
parent be88b062af
commit f851a954ac
9 changed files with 326 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('migrations', '0002_second'),
]
operations = [
migrations.CreateModel(
name='ModelWithCustomBase',
fields=[
('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
],
options={
},
bases=(models.Model,),
),
migrations.DeleteModel(
name='Author',
),
migrations.DeleteModel(
name='Book',
),
]