Skip to content

tanrax/django-multipage-template-for-html-over-the-wire

Repository files navigation

Complete example of how to create a site with HTML over the Wire architecture in Python using Django, Channels and Stimulus.

  • Change pages.
  • Possibility to hydrate HTML (example with TODO in Home).
  • Log in.
  • Register.
  • Logout.
  • Private area.
  • URL update.
  • Server-Side Rendering (SSR) of pages for SEO.
  • Cross-site request forgery protection over WebSockets.

Run 🏃

docker-compose up

Thanks 😍