issues Search Results · repo:typeddjango/django-stubs language:Python
Filter by
815 results
(88 ms)815 results
intypeddjango/django-stubs (press backspace or delete to remove)Bug report
The type-stubs for BaseDeleteView and DeleteView incorrectly require the form value to be a ModelForm, while Django
documentation implies a plain Form should be enough.
What s wrong
The Django ...
bug
sjoerdjob
- Opened 10 days ago
- #2777
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
django.views.generic.edit.FormMixin.success_url is ...
bug
pgcd
- 1
- Opened 20 days ago
- #2768
Bug report
What s wrong
django.urls.base.reverse_lazy() is annotated as Any, which results in false negatives in cases like
def myview(request) - HttpResponse:
return reverse_lazy( some-url ) ...
bug
pgcd
- 1
- Opened 21 days ago
- #2765
Refs https://github.com/django/django/commit/ab148c02cedbac492f29930dcd5346e1af052635
enhancement
sobolevn
- Opened 26 days ago
- #2763
Bug report
from typing import Any, assert_type
from django.utils.encoding import force_bytes, force_str
def f(x: Any) - None:
assert_type(force_bytes(x), bytes)
assert_type(force_str(x), str) ...
bug
asottile-sentry
- 1
- Opened 26 days ago
- #2762
to implement a custom django.db.backends.base.base.BaseDatabaseWrapper one may need to super()._prepare_cursor(...) (I m
not sure on the specific types)
mostly making a placeholder to revisit my # type: ...
asottile-sentry
- Opened on Jul 29
- #2760
Bug report
I am creating stubs for django-cte (named django-cte-stubs), but I have some issues since they have their own
as_manager: https://github.com/dimagi/django-cte/blob/v2.0.0/django_cte/cte.py#L189 ...
bug
moranabadie
- 2
- Opened on Jul 29
- #2758
Bug report
What s wrong
When modifying an object in a different thread / using raw sql / just in a different function, using refresh_from_db
doesn t mark the object as new - if we ve asserted something ...
bug
lev-blit
- 2
- Opened on Jul 26
- #2755
Bug report
Repo to reproduce here : https://github.com/BMourguesFieldbox/mypy_bug Install dependencies, and run mypy --config-file
mypy.ini mre/views.py from the mypy_bug directory.
Files of interest: ...
bug
BMourguesFieldbox
- 3
- Opened on Jul 24
- #2753
it s private -- but potentially useful. seems to be (str) - int
https://code.djangoproject.com/ticket/9519#comment:30
asottile-sentry
- 2
- Opened on Jul 8
- #2732

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.
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.