Tests and AGENTS.md updated

This commit is contained in:
2026-01-05 09:33:39 +01:00
parent 73b39ec189
commit 5c0b09f78e
3 changed files with 269 additions and 258 deletions

View File

@@ -240,7 +240,7 @@ def add_things(request, box_id):
things = formset.save(commit=False)
created_count = 0
for thing in things:
if thing.name or thing.thing_type or thing.description or thing.picture:
if thing.name or thing.description or thing.picture:
thing.box = box
thing.save()
created_count += 1