mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-16 11:01:34 +08:00
fix django.contrib.auth.models.Group.natural_key no return type (#724)
This commit is contained in:
1 file changed
+1
-1
@@ -39,7 +39,7 @@ class Group(models.Model):
|
||||
|
||||
name = models.CharField(max_length=150)
|
||||
permissions = models.ManyToManyField(Permission)
|
||||
def natural_key(self): ...
|
||||
def natural_key(self) -> Tuple[str]: ...
|
||||
|
||||
_T = TypeVar("_T", bound=Model)
|
||||
|
||||
|
||||
Reference in new issue
Block a user