migrating django-model field-name change without losing data

Changing the field name while keeping the DB field Adding an answer for Django 1.8+ (with Django-native migrations, rather than South). Make a migration that first adds a db_column property, and then renames the field. Django understands that the first is a no-op (because it changes the db_column to stay the same), and that the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)