Lukas

Avatar
  • Total activity 11
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 1
  • Subscriptions 4
  • Created

    Django - custom middleware variable

    Hi,  I am injecting my custom variable to the request object in middleware but PyCharm does not register that. What can I do so PyCharm starts registering the variable? I'm using the latest version...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    Django follow queryset methods

    Hello, is it possible to make PyCharm follow QuerySet methods? In Django they can be easily chained, but seems like PyCharm does not like that. See the screenshot below. That's a valid call.  Is th...
    • 1 follower
    • 1 comment
    • 0 votes
  • Created

    Function parameters type hinting

    Hello, I would like to enable an inspection that detects bad/wrong type hints in function parameters def func(my_list: list["MyModel"]):    pass the list["MyModel"] is valid with my settings, howev...
    • 2 followers
    • 1 comment
    • 0 votes
  • Edited

    Enable if statement formatting

    Answered
    Hi, I've somehow disabled following python if statement formatting, where can I enable it again?    if a > 50 and b < 50   to if a > 50 > b   Thanks,  Luke
    • 2 followers
    • 2 comments
    • 0 votes