Skip to content

Alternative Django project template with focus on standalone applications and best practices

Notifications You must be signed in to change notification settings

steingrd/django-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-project-template

The project model created by the standard django-admin.py tool does not promote best practices.

The create_django_project.py script creates an alternate Django project structure with functional skeleton applications and templates. The main goal is to create a directory structure that promotes best practices such as standalone applications and easily deployable units.

Project structure

The project structure created by the script is a bit different than the standard Django project structure:

myproject/
    environment.sh
    manage.py
    templates/
        base.html
        myapp/
            index.html
    scripts/
    python/
        myapp/
            __init__.py
            urls.py
            views.py
            forms.py
            models.py
        myproject/
            __init__.py
            urls.py
            settings.py
    media/
        default.css

About

Alternative Django project template with focus on standalone applications and best practices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published