Improve type annotations.

This commit is contained in:
Tom Hacohen
2020-12-29 16:06:59 +02:00
parent 62eb46ec4e
commit 174e54681d
2 changed files with 3 additions and 1 deletions

View File

@@ -124,6 +124,7 @@ def generate_stoken_uid():
class Stoken(models.Model):
id: int
uid = models.CharField(
db_index=True,
unique=True,