Wednesday, July 27, 2011

Re: any recipes for 'live' updating a site with model changes

On Jul 27, 10:04 am, Uros Trebec <uros.tre...@gmail.com> wrote:
> Hi,
>
> for your DB migration problem you should take a look at South[0].

+1

I've just started using it and wonder why I spent so much time doing
things the painfull and error-prone manual way...

> As for your 'under maintenance' step you will have to do that manually

Here are two examples of doing it using apache rewrite rules -
possibly the most common solution, which I also used on most projects
(whether PHP, Django, Zope or whatever) so far:

http://garthhumphreys.com/2011/06/11/painless-django-maintenance-mode-with-fabric/
http://zebert.blogspot.com/2007/12/maintenance-mode-for-apache.html

For a latest Django project I use a in-house fork of django-
maintenance-mode. It still have a few quirks I hope to fix soon so we
can publish it.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate