-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Fixed #35485 Added how to guide for project and app templates. #18804
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
base: main
Are you sure you want to change the base?
Conversation
cf9187e
to
08ca7b9
Compare
Hi- problems with misspellings of... "Javascript" "Kubernetes" "toml" and "frontend". Also, I mention "settings" as a string within a file, and it gets flagged. Perhaps I should remove the backticks for that example? Also, having trouble with the links to the source code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @MisterRios I really like this ⭐
I have some initial comments
Also you should:
- add this to
docs/howto/index.txt
- add a link to this how-to in the startapp startproject ref docs
Creating your own Project and App Templates | ||
=========================================== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should add a verbose example with template files doing something common
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sarahboyce Do you mean an example of running default commands and the resulting default structure before even getting into the custom examples? Interesting. A bit redundant, but if you're coming to this page not from the command documentation, it does show what the current behavior is. I'll work on it, and let you know how far I get.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean an example of running default commands and the resulting default structure before even getting into the custom examples?
No sorry. I mean having an explicit example customization for this howto.
For example, for the app template this could add a urls.py
file or replace the tests.py
with a folder with test_models.py
and test_views.py
6320db5
to
971d960
Compare
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
ca71cf4
to
fb093a0
Compare
Trac ticket number
ticket-35485
Branch description
Provide a concise overview of the issue or rationale behind the proposed changes.
Checklist
main
branch.