Skip to content
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

Add django command #100

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Add django command #100

wants to merge 7 commits into from

Conversation

ryanhiebert
Copy link

@ryanhiebert ryanhiebert commented Jan 26, 2025

Motivated by a desire to remove confusing papercuts in Django and to follow common convention in the Python ecosystem, this DEP proposes to add a new django command equivalent to the existing django-admin command, and to update the documentation to prefer this new spelling.

Forum discussion
Rendered

Copy link
Member

@shaib shaib left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can mitigate some of the "multiple spelling" issue, by having django-admin not as a completely equivalent alias to django, but as a thin wrapper that invokes django and prints a message along the lines of

The django-admin command is being renamed to django. You can keep using either name, they are equivalent except for the printing of this message. For more details on the naming change, see (link to DEP 100).

draft/0000-name-main-command-django.rst Outdated Show resolved Hide resolved
@ryanhiebert
Copy link
Author

a thin wrapper that invokes django and prints a message

Thanks for that suggestion. I've worked it in. I think it'll make it a little easier to start any discussion about it.

Copy link
Contributor

@RealOrangeOne RealOrangeOne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this idea ❤️

draft/0000-name-main-command-django.rst Show resolved Hide resolved
draft/0000-name-main-command-django.rst Outdated Show resolved Hide resolved
draft/0000-name-main-command-django.rst Show resolved Hide resolved
draft/0000-name-main-command-django.rst Show resolved Hide resolved
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.

5 participants