docs: Fix variable name typo in code-style.md.

This commit is contained in:
khadeom
2022-12-28 00:13:52 +05:30
committed by GitHub
parent edab4ec997
commit 9c18641ec4

View File

@@ -141,7 +141,7 @@ You should work with the IDs instead:
```python
obj: UserProfile = get_user_profile_by_id(17)
some_objs = UserProfile.objects.get(id=17)
assert obj.id in set([o.id for i in some_objs])
assert obj.id in set([o.id for o in some_objs])
```
### user_profile.save()