The TEMPLATE structure has been completely changed.

This commit is contained in:
2026-09-06 00:19:36 +03:00
parent 40a36d9b28
commit 86a64f2411
16 changed files with 5 additions and 237 deletions
+5 -7
View File
@@ -1,26 +1,24 @@
# Django Template
This repository contains a reusable Django project template in
`django_template/`. The existing sample project remains available at the
repository root and is not used as the template source.
This repository contains a reusable Django project template at the repository
root.
## Usage
From the directory that contains this repository, create a new project with:
```bash
django-admin startproject myproject --template=djangotemplate/django_template
django-admin startproject myproject --template=djangotemplate
```
```
django-admin startproject myproject \
--template=https://gitea.ta1sph.info/suphicakir/django-template-v2/archive/main.zip
django-admin startproject myproject --template=https://gitea.ta1sph.info/suphicakir/django-template-v2/archive/main.zip
```
For this repository's virtual environment, use:
```bash
djangotemplate/env/bin/django-admin startproject myproject \
--template=djangotemplate/django_template
--template=djangotemplate
```
Then initialize and run the generated project: