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
- Host: GitHub
- URL: https://github.com/bendog/django_htmx_demo
- Owner: bendog
- Created: 2023-10-05T04:25:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-05T04:31:56.000Z (over 2 years ago)
- Last Synced: 2025-02-08T03:44:43.968Z (over 1 year ago)
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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