We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4cf7f2 commit 97f80dcCopy full SHA for 97f80dc
django-stubs/contrib/messages/views.pyi
@@ -2,8 +2,9 @@ from typing import Dict
2
3
from django.forms.forms import BaseForm
4
from django.http.response import HttpResponse
5
+from django.utils.functional import _StrOrPromise
6
7
class SuccessMessageMixin:
- success_message: str = ...
8
+ success_message: _StrOrPromise = ...
9
def form_valid(self, form: BaseForm) -> HttpResponse: ...
10
def get_success_message(self, cleaned_data: Dict[str, str]) -> str: ...
0 commit comments