X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/58e0903a3f0e1e105a11638b18b588e9eb6a8b9e..ec8cad46977a27be477df04381deb4079fb87579:/apps/toolbar/migrations/0003_button_key_rename_to_accesskey.py diff --git a/apps/toolbar/migrations/0003_button_key_rename_to_accesskey.py b/apps/toolbar/migrations/0003_button_key_rename_to_accesskey.py index 0d2e9068..7a0961d9 100644 --- a/apps/toolbar/migrations/0003_button_key_rename_to_accesskey.py +++ b/apps/toolbar/migrations/0003_button_key_rename_to_accesskey.py @@ -5,18 +5,18 @@ from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): - + def forwards(self, orm): - + # Deleting field 'Button.key' db.rename_column('toolbar_button', 'key', 'accesskey') - - - def backwards(self, orm): + + + def backwards(self, orm): db.rename_column('toolbar_button', 'accesskey', 'key') - - + + models = { 'toolbar.button': { 'Meta': {'object_name': 'Button'}, @@ -43,5 +43,5 @@ class Migration(SchemaMigration): 'name': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True'}) } } - + complete_apps = ['toolbar']