Skip to content

Fix some example in docs #89

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

Merged
merged 3 commits into from
Jul 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/features/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def my_component():
@component
def my_component():
return html.div(
html.script({"src": static("https://example.com/external-scripts.js")}),
html.script({"src": "https://example.com/external-scripts.js"}),
html.button("My Button!"),
)
```
Expand Down
2 changes: 1 addition & 1 deletion docs/features/orm.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def simple_list():

This may be resolved in a future version of Django with a natively asynchronous ORM.

??? question "What is an ORM?"
??? question "What is an "ORM"?"

A Python **Object Relational Mapper** is an API for your code to access a database.

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/render-view.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ Now, navigate to `http://127.0.0.1:8000/example/`. If you copy-pasted the compon

Once you reach that point, we recommend creating an individual `urls.py` within each of your **Django apps**.

Then, within your **Django project's** `urls.py` you will use Django's [`include` function](https://docs.djangoproject.com/en/dev/ref/urls/) to link it all together.
Then, within your **Django project's** `urls.py` you will use Django's [`include` function](https://docs.djangoproject.com/en/dev/ref/urls/#include) to link it all together.