fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'mass_edit'
[redakcja.git]
/
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
0d2e906
..
7a0961d
100644
(file)
--- 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):
from django.db import models
class Migration(SchemaMigration):
-
+
def forwards(self, orm):
def forwards(self, orm):
-
+
# Deleting field 'Button.key'
db.rename_column('toolbar_button', 'key', 'accesskey')
# 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')
db.rename_column('toolbar_button', 'accesskey', 'key')
-
-
+
+
models = {
'toolbar.button': {
'Meta': {'object_name': 'Button'},
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'})
}
}
'name': ('django.db.models.fields.CharField', [], {'max_length': '64', 'primary_key': 'True'})
}
}
-
+
complete_apps = ['toolbar']
complete_apps = ['toolbar']