bendog / django_htmx_demo

PythonWA demo for Django and HTMX

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django HTMX Demo

Combining Django with HTMX

An example app for showing simple ajax calls using htmx in django templates. No API required.

install and run

create the virtual env

pipenv sync
pipenv shell

setup the local database

python manage.py migrate

run the local server

python manage.py runserver

open http://localhost:8000/ in your browser.

thanks and acknowledgement

Thanks to Muhammed Ali @khabdrick for their blog post which was used as inspiration for this demo https://www.section.io/engineering-education/how-to-build-templates-for-django-applications-with-htmx/

About

PythonWA demo for Django and HTMX


Languages

Language:Python 73.6%Language:HTML 26.4%