Re: [Recipe] Rename a model and its table

2016-02-15 Thread Mike Dewhirst
The trouble with fixtures has been fixed. It was caused by the existence of group_permissions including Oldname. As soon as I removed them everything is sweetness and light :) I'm still interested in comments on sequences and indexes using Oldname embedded in their names even though it doesn't

[Recipe] Rename a model and its table

2016-02-15 Thread Mike Dewhirst
I was postponing this but shouldn't have worried. Despite the complexities evident in various web recipes after googling, this is my simple recipe: Python 2.7 and 3.4, Django 1.8 and Postgres 9.3 on Windows 8.1 and Python 2.7, Django 1.8 and Postgres 9.1 on Ubuntu 12.04 1. Run all unit tests