From d5325bde4850fe222e8d35570758e083da23e681 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Wed, 6 Jul 2022 01:55:10 -0700 Subject: [PATCH 1/3] fix django js example --- docs/features/components.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/components.md b/docs/features/components.md index dc697162..fa6b45f0 100644 --- a/docs/features/components.md +++ b/docs/features/components.md @@ -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!"), ) ``` From 52259890fc07cf69f5e5360461df155d6e99e2a5 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Wed, 6 Jul 2022 02:00:26 -0700 Subject: [PATCH 2/3] standardize quotes on "what is an... " --- docs/features/orm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/orm.md b/docs/features/orm.md index 056db7f1..38454ca2 100644 --- a/docs/features/orm.md +++ b/docs/features/orm.md @@ -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. From e82c0e92212b5fda79dde1a89649ce818deb4465 Mon Sep 17 00:00:00 2001 From: Archmonger <16909269+Archmonger@users.noreply.github.com> Date: Wed, 6 Jul 2022 02:02:42 -0700 Subject: [PATCH 3/3] fix reference --- docs/getting-started/render-view.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started/render-view.md b/docs/getting-started/render-view.md index deb6a14e..d264517b 100644 --- a/docs/getting-started/render-view.md +++ b/docs/getting-started/render-view.md @@ -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.