This is a proof of concept of creating modal dialogs with forms that you can validate in the backend. It uses Django
, django-crispy-forms
, htmx
, and a few more helper libraries.
To try the project out, follow these steps:
- Get the source code.
- Create a virtual environment.
- Install pip requirements from the
requirements.txt
. - Create the local database by running the
migrate
management command. - Create a user or superuser.
- Run development server.
- Visit
127.0.0.1:8000
and try to log in successfully or not.