hx-requests

Documentation

  • Overview
  • Tutorials
  • How Tos
  • Reference
  • Explanation
hx-requests
  • hx-requests
  • View page source

hx-requests

Hx-requests is a package to simplify the usage of htmx with Django CBV Views. It enables an application to make asynchronous requests without clogging up views and urls with extra code. It simplifies making django forms post asynchronously with htmx, and many other awesome features.

Documentation

  • Overview
    • What Are hx-requests?
    • Why The Name?
    • Why Use hx-requests?
  • Tutorials
    • Basic Tutorial
    • Form Tutorial
  • How Tos
    • How To Register hx-requests
    • How To Secure HxRequests
    • How To Use Modals
    • How To Do OOB Swaps
    • How To Set Messages
    • How To Delete
    • How To Add Context To HxRequests
    • How To Add Form Kwargs
    • How To Add Headers To Responses
    • How To Access hx_object In Template
    • How To Add GET Parameters To POST Requests
    • How To Create List Page With CRUD Operations
    • More How Tos
  • Reference
    • Configuration
    • Hx Tags
    • hx_requests
  • Explanation
    • How Do HxRequests Work?
    • What Are FormHxRequests?
    • Modals
    • Refreshing Context on POST
    • Object Serialization
    • Why HxRequest Security Is Needed
Next

© Copyright 2023, Yaakov Lowenstein.

Built with Sphinx using a theme provided by Read the Docs.