redefined & added arguments to existing FBVs in apps.dashboard.views; added new FBV to add to-do items to existing lists; added capture groups to some paths in .urls (tho these are now due for DRY refactor); django templating added to form action in templates/apps/dashboard/list.html; DashViewTest(), NewListTest() & NewItemTest() refactored for dynamic ids in .tests

This commit is contained in:
Disco DeDisco
2026-01-03 01:30:51 -05:00
parent b09bec02dc
commit ada383c81a
4 changed files with 58 additions and 15 deletions

View File

@@ -6,5 +6,6 @@ urlpatterns = [
path('admin/', admin.site.urls),
path('', views.home_page, name='home'),
path('apps/dashboard/newlist', views.new_list, name='new_list'),
path('apps/dashboard/the-only-list-in-the-world/', views.view_list, name='view_list'),
path('apps/dashboard/<int:list_id>/', views.view_list, name='view_list'),
path('apps/dashboard/<int:list_id>/add-item', views.add_item, name='add_item'),
]