Konstantin Alekseev

Results 19 issues of Konstantin Alekseev

https://django.doctor/higher-tier/django-doctor-example

new check

> A nice addition would be to prevent indexes on text/fields on PostgreSQL. Not sure if many people are aware, but it creates two indexes: a "regular" one and a...

new check

A starting point for discussion, that pr supports both cases when UniqueConstraint consist of one field -> `UniqueValidator`, and several fields -> `UniqueTogetherValidator`. The implementation of single field unique validator...

Enhancement
Priority

**Current behavior:** In shadow DOM safari doesn't apply some rules, it seems like rules that inserted on first render applied but when new components rendered their rules are not applied....

bug
needs triage

[`__init__`](https://github.com/encode/django-rest-framework/blob/f98b6f35770c6cf7dd964d0fa7b052f6f86d5253/rest_framework/serializers.py#L109) and [`run_validation`](https://github.com/encode/django-rest-framework/blob/f98b6f35770c6cf7dd964d0fa7b052f6f86d5253/rest_framework/serializers.py#L419) methods have default value for data `=empty` so the data type is `Union[None, dict, Type[empty]]`: ``` def run_validation(self, data: Union[None, dict, Type[empty]]=empty): if data is None: ......

blocked
upstream mypy

Start server `moto_server s3 -p9000` the script bellow must success, but it fails with 403 (Forbidden). The policy works in aws and minio. ``` import json import boto3 import urllib3...

enhancement

Partially fixes https://github.com/James1345/django-rest-knox/issues/159. This is a proof of concept that the feature is not that complex and can be added with minimal breaking changes. Would like to receive comments on...

**Describe the bug:** ``` Error detected while processing /Users/user/.vim/bundle/vim-polyglot/after/ftplugin/requirements.vim: line 36: E117: Unknown function: Requirements_matched_filename E15: Invalid expression: fnamemodify(s:filename, ":e") ==# 'in' && Requirements_matched_filename(s:filename) ``` **To Reproduce:** `nvim dev-requirements.in` -...

ruff reports complexity - 11 while flake8 - 9, cc @edgarrmondragon ``` ✦ ❯ flake8 --version 5.0.4 (flake8-bugbear: 22.10.27, flake8-no-pep420: 2.3.0, mccabe: 0.7.0, pep8-naming: 0.13.2, pycodestyle: 2.9.1, pyflakes: 2.5.0) CPython...

bug