Skip to content
Jason Wallace edited this page Aug 17, 2022 · 3 revisions

Django project template

How to upgrade the Django version

git clone /~https://github.com/jdeanwallace/django-project-template.git
cd django-project-template
# Create a new branch off of the `startproject` branch.
git checkout -b new-django-version-branch startproject
# Clear the template directory.
rm -rf ./*
# Make sure the Django version is up-to-date.
pip install django --upgrade
# Generate a new standard Django project in the current directory.
django-admin startproject example .
# Push your changes to GitHub.
git add .
git commit -m "Django version"
git push --set-upstream origin new-django-version-branch
# On GitHub, make a PR into the `startproject` branch.
Clone this wiki locally