Skip to content

fix: changing default project name to my_project #9665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

ryanparsa
Copy link

Description

There is a small issue in the documentation regarding the project name. You cannot use tutorial as a project name, as Django will not accept it. The error message:

(env) ➜  tutorial django-admin startproject tutorial .  # Note the trailing '.' character

CommandError: 'tutorial' conflicts with the name of an existing Python module and cannot be used as a project name. Please try another name.

I have updated the documentation to use my_project instead.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@browniebroke
Copy link
Member

browniebroke commented Mar 11, 2025

That's because of a packaging issue with the latest release, which includes the code from the tutorial in the distribution. It works fine with the previous version and will work again with the next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants