开发者

Please advice the folder structure for Handling multiple sites in Django

开发者 https://www.devze.com 2023-01-10 02:47 出处:网络
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

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

精彩评论

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

关注公众号