in apps.dashboard.tests & .urls, adding a new to-do item to the input field in either home.html or a blank-tabled list.html points to /apps/dashboard/newlist; in .views, home_page() FBV simplified to a mere html page render & new_list() FBV added that currently points to the global list

This commit is contained in:
Disco DeDisco
2026-01-02 21:50:37 -05:00
parent 87e40d977c
commit b4b2b43475
5 changed files with 22 additions and 26 deletions

View File

@@ -4,7 +4,7 @@
</head>
<body>
<h1>Dashboard | Start a new to-do list</h1>
<form method="POST" action="/">
<form method="POST" action="/apps/dashboard/newlist">
<input name="item_text" id="id-new-item" placeholder="Enter a to-do item">
{% csrf_token %}
</form>