存储库项目 SiteConf
对于在源代码管理下使用 requirements 和 deployment tools 的 Django 项目。这个例子建立在 Django 的两个 Scoops 的概念之上。他们发布了一个模板 :
repository/
    docs/
    .gitignore
    project/
        apps/
            blog/
                migrations/
                static/ #( optional )
                    blog/
                        some.css
                templates/ #( optional )
                    blog/
                        some.html
                models.py
                tests.py
                admin.py
                apps.py #( django 1.9 and later )
                views.py
            accounts/
                #... ( same as blog )
            search/
                #... ( same as blog )
        conf/
            settings/
                local.py
                development.py
                production.py
            wsgi
            urls.py
        static/
        templates/
    deploy/
        fabfile.py
    requirements/
        base.txt
        local.txt
    README
    AUTHORS
    LICENSE
这里 apps 和 conf 文件夹分别包含项目的 user created applications 和 core configuration folder。
project 目录中的 static 和 templates 文件夹分别包含整个项目中全局使用的静态文件和 html markup 文件。
所有 app 文件夹 blog,accounts 和 search 也可能(大部分)包含 static 和 templates 文件夹。