Hi, for your DB migration problem you should take a look at South[0]. As for your 'under maintenance' step you will have to do that manually or use some kind of a tool to automate it, as well as other steps for the upgrade. There are many such tools, Fabric[1] and Chef[2] being two of the most popular.
[0] http://south.aeracode.org/docs/ [1] http://docs.fabfile.org/en/1.2.0/index.html [2] http://www.opscode.com/chef/ Good luck, Uros On Jul 27, 12:04 am, Gelonida N <gelon...@gmail.com> wrote: > Hi, > > Let's imagine I have a web server running with a Django application. > > Now I want to install an update (with a modified model) > > Is there any recommended way to upgrade such a server? > Are there any tools helping with such upgrades or with creating upgrade > scripts? > > If I had to do it 'manually' this is roughly what I'd do: > - reconfigure the web server to redirect to an 'under maintenance' site > - Before unistalling any new code: > dump all tables > - install the new version > - start an upgrade function, which deletes all tables and repopulates > them from the dumps with some potential conversions. > > Thanks in advance for suggestions or examples of projects which handle > updates more or less on the fly. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.