nefrob

Results 6 issues of nefrob

Resolves #204. ~~Resolves #205.~~ Adds support for counter based 2fa codes for all 2fa methods except app/yubi key. - HOTP codes are guaranteed to be unique by incrementing a counter...

SMS based codes should be unique each time they are generated by using a counter as part of the code generation. Each time a code is generated the counter increases....

Rich 13 dropped Python 3.6 support. DLSR supports Python 3.7 onwards so hopefully this is an easy transition. Ref DSLR dependencies: https://github.com/mixxorz/DSLR/blob/4879ea6ca70686faa93c65f7751bb01dc0a91ebc/pyproject.toml#L25C1-L25C17.

## Description Update just language grammar to use maintained https://github.com/nefrob/vscode-just. This has been updated as the suggested vscode extension by the just language repo here: https://github.com/casey/just?tab=readme-ov-file#visual-studio-code. ## Checklist: - [x]...

**Issue:** Adding the following test to TestUniqueConstraintValidation demonstrates an issue in the serializer’s unique constraint validation logic: ```python def test_unique_constraint_create(self): class SourceUniqueConstraintSerializer(serializers.ModelSerializer): raceName = serializers.CharField(source="race_name") class Meta: model = UniqueConstraintModel...

## Description Resolves: [#9707](https://github.com/encode/django-rest-framework/issues/9707). - Apply unique together constraint validation to unique constraint with a single constraint field **if** there are other fields used in the constraint conditions