An open API service indexing awesome lists of open source software.

https://github.com/bendog/django_htmx_demo

PythonWA demo for Django and HTMX
https://github.com/bendog/django_htmx_demo

Last synced: about 1 year ago
JSON representation

PythonWA demo for Django and HTMX

Awesome Lists containing this project

README

          

# Django HTMX Demo

Combining [Django](https://www.djangoproject.com/) with [HTMX](https://htmx.org/)

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 in your browser.

## thanks and acknowledgement

Thanks to Muhammed Ali [@khabdrick](https://github.com/khabdrick) for their blog post which was used as inspiration for this demo