Simple example of how to make a SPA using only Django. Or in other words, creating a site with HTML architecture over WebSockets that handles HTMX events.
Go to file
Andros Fenollosa 7764afdc3c
Delete demo.mp4
2021-11-23 22:12:57 +01:00
app/website Add chat 2021-11-23 21:41:52 +01:00
event Add loading 2021-11-20 19:54:57 +01:00
scripts fix foreignkey and loadin 2021-11-21 09:21:39 +01:00
.gitignore Add random profiles 2021-11-11 22:46:49 +01:00
Caddyfile First commit 2021-11-08 23:32:13 +01:00
demo.gif Add files via upload 2021-11-23 22:12:15 +01:00
django-launcher.sh First commit 2021-11-08 23:32:13 +01:00
docker-compose.yaml Add random profiles 2021-11-11 22:46:49 +01:00
Dockerfile Add random profiles 2021-11-11 22:46:49 +01:00
Makefile Add htmx and format 2021-11-12 13:52:41 +01:00
manage.py Add htmx and format 2021-11-12 13:52:41 +01:00
README.md Update README.md 2021-11-23 22:12:44 +01:00
requirements.txt Add random profiles 2021-11-11 22:46:49 +01:00

Simple example of how to make a SPA using only Django. Or in other words, creating a site with HTML architecture over Websockets that handles HTMX events.

demo

Run

You need docker and docker-compose.

make run.server

Optional: Load fake data.

run.loaddata