mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-18 03:51:30 +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)
|
name = models.CharField(max_length=150)
|
||||||
permissions = models.ManyToManyField(Permission)
|
permissions = models.ManyToManyField(Permission)
|
||||||
def natural_key(self): ...
|
def natural_key(self) -> Tuple[str]: ...
|
||||||
|
|
||||||
_T = TypeVar("_T", bound=Model)
|
_T = TypeVar("_T", bound=Model)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user