Sync create-django-project with the updated tutorial - #855
Open
realpython-bot wants to merge 1 commit into
Open
realpython-bot wants to merge 1 commit into
realpython-bot wants to merge 1 commit into
Conversation
…te a Django Project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Companion sync for the maintenance update of How to Create a Django Project.
What changed
The tutorial now targets Django 6.1 (PyPI current: 6.1.1), so the folder is synced to what a reader gets today:
requirements.txtre-pinned todjango==6.1.1,asgiref==3.12.1,sqlparse==0.6.0.pyproject.tomldependency bumped todjango>=6.1.settings.py,urls.py,asgi.py,wsgi.py: generated docs links moved fromen/6.0/toen/6.1/, and the settings header now names Django 6.1.1.settings.pygains theMAILERSblock thatdjango-admin startprojectemits on Django 6.1, written in the folder's existing double-quote style.The hand-applied house style in the folder (double quotes,
# noqa: F401markers, wrappedSECRET_KEY) is preserved — only the 6.0 -> 6.1 scaffolding deltas were applied, not a wholesale regeneration.Verification
requirements.txt(Django reports 6.1.1).python manage.py check-> no issues;python manage.py migrate-> all migrations applied.python manage.py runserversmoke test ->GET /admin/login/returns HTTP 200.ruff format --check(12 files already formatted) andruff checkboth pass.🤖 Generated with Claude Code