mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-13 23:41:55 +08:00
fix django.contrib.auth.models.Group.natural_key no return type (#724)
This commit is contained in:
@@ -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