File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ def set_plugin_meta(self):
157
157
if (table_name not in table_names
158
158
and splitter in table_name ):
159
159
old_db_name = table_name
160
- table_name .split (splitter , 1 )
160
+ splitted = table_name .split (splitter , 1 )
161
161
table_name = 'cmsplugin_%s' % splitted [1 ]
162
162
if table_name in table_names :
163
163
att .rel .through ._meta .db_table = table_name
@@ -169,7 +169,7 @@ def set_plugin_meta(self):
169
169
if (table_name not in table_names
170
170
and splitter in table_name ):
171
171
old_db_name = table_name
172
- table_name .split (splitter , 1 )
172
+ splitted = table_name .split (splitter , 1 )
173
173
table_name = 'cmsplugin_%s_items' % splitted [1 ]
174
174
if table_name in table_names :
175
175
att .through ._meta .db_table = table_name
You can’t perform that action at this time.
0 commit comments