我正在通过django-registration的source code。下面是一个定义的基于类的视图。我很难理解get_success_url是如何工作的?从, Determine the URL to redirect to when the form is successfully validated.Returnsdjango.views.gen
我在做一个Django项目。因为这是一个新项目,所以我希望用python 3.6+类型注释对其进行完整的注释。我试图注释模型,但我很难找到一个很好的方法。# number 1int_field: models.IntegerFieldassignment (expression has type "IntegerField[<nothin