Skip to content

Commit 75edbb9

Browse files
committed
docs and comment cleanup
1 parent edd8496 commit 75edbb9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
- [Customizable reconnection behavior](https://reactive-python.github.io/reactpy-django/latest/reference/settings/#stability-settings)
2929
- [Customizable disconnection behavior](https://reactive-python.github.io/reactpy-django/latest/reference/template-tag)
3030
- [Multiple root components](https://reactive-python.github.io/reactpy-django/latest/reference/template-tag/)
31-
- [Cross-process communication/signaling (Channel Layers)](https://reactive-python.github.io/reactpy-django/latest/reference/hooks/#use-channel-layer)
31+
- [Cross-process communication/signaling](https://reactive-python.github.io/reactpy-django/latest/reference/hooks/#use-channel-layer)
3232
- [Django view to ReactPy component conversion](https://reactive-python.github.io/reactpy-django/latest/reference/components/#view-to-component)
3333
- [Django static file access](https://reactive-python.github.io/reactpy-django/latest/reference/components/#django-css)
3434
- [Django database access](https://reactive-python.github.io/reactpy-django/latest/reference/hooks/#use-query)

docs/src/reference/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Compatible with sync or async [Function Based Views](https://docs.djangoproject.
160160

161161
- Requires manual intervention to change HTTP methods to anything other than `GET`.
162162
- ReactPy events cannot conveniently be attached to converted view HTML.
163-
- Has no option to automatically intercept local anchor link (such as `#!html <a href='example/'></a>`) click events.
163+
- Has no option to automatically intercept click events from hyperlinks (such as `#!html <a href='example/'></a>`).
164164

165165
??? question "How do I use this for Class Based Views?"
166166

docs/src/reference/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ This is useful to continuously update `#!python last_login` timestamps and refre
8787

8888
Multiprocessing-safe database used by ReactPy for database-backed hooks and features.
8989

90-
If configuring this value, it is mandatory to enable our database router like such:
90+
If configuring this value, it is mandatory to configure Django to use the ReactPy database router:
9191

9292
=== "settings.py"
9393

src/reactpy_django/pyscript/layout_handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def delete_old_workspaces():
107107
if value.startswith("user_workspace_")
108108
}
109109

110-
# Delete the workspace if it exists at the moment when we check
110+
# Delete the workspace if it doesn't exist at this moment
111111
for uuid in python_uuids - dom_uuids:
112112
task_name = f"task_{uuid}"
113113
if task_name in globals():

0 commit comments

Comments
 (0)