Ticket #27424: 0002_remove_content_type_name.py
| File 0002_remove_content_type_name.py, 524 bytes (added by , 10 years ago) |
|---|
| Line | |
|---|---|
| 1 | # -*- coding: utf-8 -*- |
| 2 | from __future__ import unicode_literals |
| 3 | |
| 4 | from django.db import migrations, models |
| 5 | |
| 6 | |
| 7 | class Migration(migrations.Migration): |
| 8 | |
| 9 | dependencies = [ |
| 10 | ('contenttypes', '0001_initial'), |
| 11 | ] |
| 12 | |
| 13 | operations = [ |
| 14 | migrations.AlterModelOptions( |
| 15 | name='contenttype', |
| 16 | options={'verbose_name': 'content type', 'verbose_name_plural': 'content types'}, |
| 17 | ), |
| 18 | migrations.RemoveField( |
| 19 | model_name='contenttype', |
| 20 | name='name', |
| 21 | ), |
| 22 | ] |