We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb839d2 commit 328ac4eCopy full SHA for 328ac4e
backend/submissions/tests/test_models.py
@@ -12,14 +12,14 @@ def test_slug_is_not_regenerated_when_changing_title():
12
assert submission.slug == "hello"
13
14
submission.title = LazyI18nString({"en": "ciao", "it": "cia"})
15
- submission.save(update_fields=["title"])
+ submission.save()
16
17
submission.refresh_from_db()
18
19
20
21
submission.slug = ""
22
- submission.save()
+ submission.save(update_fields=["title"])
23
24
25
0 commit comments