roster app for exploring and demonstrating hx-trigger functionality
take hx-get url from selected option subwidget, so that urls look like '/team/foo' instead of 'team?team=foo'
use absolute_url instead of just slug for nav options
add absolute_url property for team model


browse  log 



You can also use your local clone with git send-email.

#Exploring HX-Trigger header and event handling

This is a sandbox for playing with htmx and events. I've been thinking about that lately, and hit the limit on the amount of thinking I can do without having code in front of me.

All of my original code in this repository may be reused under the terms of the "zero clause BSD" license.

Any third-party code stored here for convenience remains the property of its authors and is used under their respective licenses.

To get started with this repository, set up a virtual environment:

python3 -mvenv venv
source venv/bin/activate
python3 -mpip install -r requirements.txt

and work with it just like you would any other django project. The quick start is to run the following from the activated shell prompt:

python3 ./manage.py migrate
python3 ./manage.py runscript populate_teams
python3 ./manage.py runserver

and visit http://localhost:8000

#Third Party Licenses