Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.82 KB

File metadata and controls

38 lines (23 loc) · 1.82 KB

django-single-folder-project-template

This is a Django project template for use with django-admin startproject.

It implements the single project and app folder layout described by, among others, softwarecrafts.uk (wayback) and noumenal.es (wayback).

Usage

django-admin startproject --template=https://github.com/Kagee/django-single-folder-project-template/archive/refs/heads/main.zip project_name .

This wil make a Django project name project_name in the current folder.

We setup the project in the current folder so we do not make two levels of folders name project_name.

How?

The project folder template is a combination of the upstream project_template and app_template folders.

In addition to this, the template will

Why?

This is a template for a project using Django where, I quote

... building a single Django app is too much boilerplate.

It is useful for very simple prototypes or demos, or where you are sure that your app will not be re-used in another Django project.

LICENSE

Since this is pretty much just a minor modification of the default Django project and app templates, it has the same license as Django, see LICENSE.