Skip to content

Kagee/django-single-folder-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f5c1e52 · Jul 22, 2024

History

1 Commit
Jul 22, 2024
Jul 22, 2024
Jul 22, 2024
Jul 22, 2024
Jul 22, 2024

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages