The TEMPLATE structure has been completely changed.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user