Re: heavy refactoring

2015-06-11 Thread Mike Dewhirst
On 11/06/2015 6:02 PM, Andre Avorio wrote: Hi Mike, I had the exact same problem and after investigating I ended up creating a new app from scratch and porting the code and data across. I don't remember finding any specific documentation on this on Django's website. Did I miss something, or shou

Re: heavy refactoring

2015-06-11 Thread Andre Avorio
Hi Mike, I had the exact same problem and after investigating I ended up creating a new app from scratch and porting the code and data across. I don't remember finding any specific documentation on this on Django's website. Did I miss something, or should we consider adding a couple of notes on

Re: heavy refactoring

2015-06-09 Thread Mike Dewhirst
On 9/06/2015 6:43 PM, Erik Cederstrand wrote: Den 09/06/2015 kl. 10.09 skrev Mike Dewhirst : Does anyone have any experience with app-renames and maybe some refactoring advice for me? Maybe I don't even need to replace and destroy ... If you wanted, you could set Meta.db_table for all model

Re: heavy refactoring

2015-06-09 Thread Erik Cederstrand
> Den 09/06/2015 kl. 10.09 skrev Mike Dewhirst : > > Does anyone have any experience with app-renames and maybe some refactoring > advice for me? > > Maybe I don't even need to replace and destroy ... If you wanted, you could set Meta.db_table for all models to the current table name. Then yo

heavy refactoring

2015-06-09 Thread Mike Dewhirst
With Django 1.7 and Postgres I want to change the name of an app. From my initial investigation it looks like I need to create a new app with the desired name and then blow the old one away after pumping the data across. Then comes the refactoring. At the moment I just use a vanilla text edi