File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
src/reactpy_django/pyscript Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 28
28
- [ Customizable reconnection behavior] ( https://reactive-python.github.io/reactpy-django/latest/reference/settings/#stability-settings )
29
29
- [ Customizable disconnection behavior] ( https://reactive-python.github.io/reactpy-django/latest/reference/template-tag )
30
30
- [ 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 )
32
32
- [ Django view to ReactPy component conversion] ( https://reactive-python.github.io/reactpy-django/latest/reference/components/#view-to-component )
33
33
- [ Django static file access] ( https://reactive-python.github.io/reactpy-django/latest/reference/components/#django-css )
34
34
- [ Django database access] ( https://reactive-python.github.io/reactpy-django/latest/reference/hooks/#use-query )
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ Compatible with sync or async [Function Based Views](https://docs.djangoproject.
160
160
161
161
- Requires manual intervention to change HTTP methods to anything other than `GET`.
162
162
- 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>`).
164
164
165
165
??? question "How do I use this for Class Based Views?"
166
166
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ This is useful to continuously update `#!python last_login` timestamps and refre
87
87
88
88
Multiprocessing-safe database used by ReactPy for database-backed hooks and features.
89
89
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 :
91
91
92
92
=== "settings.py"
93
93
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ def delete_old_workspaces():
107
107
if value .startswith ("user_workspace_" )
108
108
}
109
109
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
111
111
for uuid in python_uuids - dom_uuids :
112
112
task_name = f"task_{ uuid } "
113
113
if task_name in globals ():
You can’t perform that action at this time.
0 commit comments