better stubs

This commit is contained in:
Maxim Kurnikov
2018-08-05 03:13:19 +03:00
parent 4013fe4d03
commit fa718b8e55
380 changed files with 11805 additions and 8503 deletions

View File

@@ -0,0 +1,10 @@
from typing import Any, Dict, Optional
from django.forms.forms import Form
from django.http.response import HttpResponseRedirect
class SuccessMessageMixin:
success_message: str = ...
def form_valid(self, form: Form) -> HttpResponseRedirect: ...
def get_success_message(self, cleaned_data: Dict[str, str]) -> str: ...