HTMX and Wagtail

This page summarizes the projects mentioned and recommended in the original post on /r/djangolearning

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • iraf

    Restaurant rating and food-daap. A glassdoor, but for restaurants.

  • this repo adds views to each app and updates the templates.

  • django-htmx

    Extensions for using Django with htmx.

  • To make things easier, install the django-htmx package. Then, in your Page model's serve(), you can do things like if request.htmx: and return an HTML snippet instead of the full page in that case.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • django-render-block

    Render the content of a specific block tag from a Django template.

  • How you handle breaking the template apart is really up to you, and doesn't have an impact on the Wagtail admin, which only cares about your Page. The author of HTMX is fond of a pattern he calls Template Fragments; to take that approach with Django/Wagtail, you'll want django-render-block. But that might be overkill depending on your use case.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts