Ticket #23160: 0002_rename_Foo_to_Bar.py

File 0002_rename_Foo_to_Bar.py, 281 bytes (added by whitews@…, 10 years ago)

migration file to rename model

Line 
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import models, migrations
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('myapp', '0001_initial'),
11 ]
12
13 operations = [
14 migrations.RenameModel('Foo', 'Bar')
15 ]
Back to Top