开发者

Please advice the folder structure for Handling multiple sites in Django

alt text http://www.freeimageho开发者_如何学编程sting.net/image.php?387990357b.jpg

Please see the folder structure image in the above url mentioned please advice which structure would be best suited for better code managibility. If the above image is not gettign please use this url http://www.freeimagehosting.net/image.php?387990357b.jpg


As far as automated deployment goes, It would appear to me that your second option would be better... that will allow you to "pick up" either site 1 or site 2 all at once and drop it anywhere you want.


I use virtualenv to manage multiple sites, which is basically an extension of the second option: each with their own code base and settings file and modules.


this looks good: http://www.mail-archive.com/django-users@googlegroups.com/msg75840.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜