Una semplice app Todo in Django con CRUD, priorità, scadenze e conferma di eliminazione via modal.
- Python 3.12+
- Virtualenv consigliato
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt # se non hai il file, puoi usare: pip install Django
python manage.py migratesource .venv/bin/activate
python manage.py runserverApri http://127.0.0.1:8000/ per usare l'app. Vai su /admin per l'admin (crea prima un superuser con python manage.py createsuperuser).
source .venv/bin/activate
python manage.py testcosedafare/: configurazione del progetto (settings, urls, wsgi/asgi).tasks/: app con modelloTask, viste/class-based views, form, URL, template e test.tasks/templates/: base layout e pagine per elenco, form e conferma eliminazione (modal).
Simple Django Todo app with CRUD, priorities, due dates, and modal delete confirmation.
- Python 3.12+
- Virtualenv recommended
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt # or pip install Django if requirements.txt is missing
python manage.py migratesource .venv/bin/activate
python manage.py runserverOpen http://127.0.0.1:8000/ to use the app. Admin at /admin (create a superuser first with python manage.py createsuperuser).
source .venv/bin/activate
python manage.py testcosedafare/: project config (settings, urls, wsgi/asgi).tasks/: app withTaskmodel, class-based views, form, URLs, templates, and tests.tasks/templates/: base layout plus list, form, and delete confirmation (modal).