Django - South - Rename column
from south.db import db
db.rename_column('appname_tablename', 'oldColumn', 'newColumn')
:)
Written by Eric Carmichael
Related protips
1 Response

Very useful ;)
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#