File tree Expand file tree Collapse file tree
django/{{ cookiecutter.project_slug }}
{{ cookiecutter.project_slug }}/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.idea /
2+ .env
23.env. *
34! .env.example
45.venv
Original file line number Diff line number Diff line change 2929 ` ` ` bash
3030 git init --initial-branch=main
3131 ` ` `
32- 3. Enable pre-commit hooks:
32+
33+ 3. Create a venv and install dependencies:
34+
35+ ` ` ` bash
36+ uv venv
37+ source .venv/bin/activate
38+ uv sync
39+ ` ` `
40+
41+ 4. Enable pre-commit hooks:
3342
3443 ` ` ` bash
3544 pre-commit install
3645 ` ` `
3746
38- 4. Delete this section
47+ 5. ** Delete this section, because its only for the initial setup **
3948
40- 5 . Create an initial commit and push to the remote repository:
49+ 6 . Create an initial commit and push to the remote repository:
4150
4251 ` ` ` bash
4352 git add .
Original file line number Diff line number Diff line change 3434 "django.contrib.sessions" ,
3535 "django.contrib.messages" ,
3636 "django.contrib.staticfiles" ,
37+ {% if cookiecutter .use_drf % }
38+ "rest_framework" ,
39+ "drf_spectacular" ,
40+ {% endif }
3741]
3842
3943# Security
You can’t perform that action at this time.
0 commit comments