issues Search Results · repo:typeddjango/django-stubs language:Python
Filter by
776 results
(57 ms)776 results
intypeddjango/django-stubs (press backspace or delete to remove)Bug report
What s wrong
I have the following models:
# Content from video.models
class BackingVideo(AudioMixin):
asset = models.OneToOneField(
video.Asset , on_delete=models.SET_NULL, ...
bug
yoanis-sl
- 3
- Opened 4 days ago
- #2609
In e.g. django.db.models.Model.[a]refresh_from_db, Self is used in a contravariant position:
https://github.com/typeddjango/django-stubs/blob/0be73ebfbc405d0b9faaa898660b2e51e7d6086a/django-stubs/db/models/base.pyi#L96-L107 ...
bug
jorenham
- 1
- Opened 7 days ago
- #2605
Bug report
!-- Hi, thanks for submitting a bug. We appreciate that.
But, we will need some information about what s wrong to help you.
What s wrong
!-- Describe what is not working.
Please, attach ...
bug
malo-malo
- Opened 8 days ago
- #2602
Enhancement
!-- Hi, thanks for submitting a bug. We appreciate that.
But, we will need some information about what s wrong to help you.
What s wrong
The current type stubs define the authenticate method ...
bug
PedroPerpetua
- Opened 18 days ago
- #2591
Bug report
What s wrong
In django-stubs/contrib/admin/options.pyi, we have that BaseModelAdmin.get_inlines() should return a list:
class BaseModelAdmin(Generic[_ModelT]):
# ...
def get_inlines(self, ...
bug
exonjoe
- Opened on Mar 19
- #2574
Bug report
!-- Hi, thanks for submitting a bug. We appreciate that.
But, we will need some information about what s wrong to help you.
What s wrong
I am working on adding typing for django-polymorphic ...
bug
lucemia
- Opened on Mar 15
- #2552
Suggested by @charettes on a Django forum discussion regrading adding types to Django:
from __future__ import annotations
from typing import Protocol
from django.db.models import fields
from django.db.models.sql ...
adamchainz
- 2
- Opened on Mar 15
- #2551
Bug report
What s wrong
Since Django 5.1 the django.contrib.auth.decorators login_required(), permission_required(), and user_passes_test()
support wrapping async functions.
django-stubs doesn t seem ...
bug
medihack
- 3
- Opened on Mar 14
- #2549
Bug report
!-- Hi, thanks for submitting a bug. We appreciate that.
But, we will need some information about what s wrong to help you.
What s wrong
After upgrading to django-stubs version ** 5.1.1**, ...
bug
pyright
lucemia
- 8
- Opened on Mar 11
- #2534
story_models: QuerySet[StoryModel] = StoryModel.objects.filter(
member_id=owner_member_id,
created__gte=dtz.now() - timedelta(days=1),
is_deleted=False,
).order_by( -created )
class StoryModel(TimeStampedModel): ...
bug
changja88
- 4
- Opened on Feb 20
- #2516

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.