File: README.rst

package info (click to toggle)
django-htmx 1.23.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 816 kB
  • sloc: javascript: 3,395; python: 956; makefile: 27; sh: 19
file content (18 lines) | stat: -rw-r--r-- 693 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Example Application
===================

Use Python 3.13 to set up and run with these commands:

.. code-block:: sh

   python -m venv .venv
   source .venv/bin/activate
   python -m pip install -e .. -r requirements.txt
   python manage.py runserver

Open it at http://127.0.0.1:8000/ .

Browse the individual examples, and take them apart!

In your browser’s devtools, you can read the htmx `debug log <https://github.com/bigskysoftware/htmx-extensions/blob/main/src/debug/README.md>`__ in your browser’s console, and see the requests made in the network tab.
In the source code, check out the HTML comments via “view source” or templates, and the view code in ``example/views.py``.