99class ComponentSession (models .Model ):
1010 """A model for storing component sessions."""
1111
12- uuid = models .UUIDField (primary_key = True , editable = False , unique = True ) # type: ignore
13- params = models .BinaryField (editable = False ) # type: ignore
14- last_accessed = models .DateTimeField (auto_now = True ) # type: ignore
12+ uuid = models .UUIDField (primary_key = True , editable = False , unique = True )
13+ params = models .BinaryField (editable = False )
14+ last_accessed = models .DateTimeField (auto_now = True )
1515
1616
1717class Config (models .Model ):
1818 """A singleton model for storing ReactPy configuration."""
1919
20- cleaned_at = models .DateTimeField (auto_now_add = True ) # type: ignore
20+ cleaned_at = models .DateTimeField (auto_now_add = True )
2121
2222 def save (self , * args , ** kwargs ):
2323 """Singleton save method."""
@@ -36,8 +36,8 @@ class UserDataModel(models.Model):
3636 # We can't store User as a ForeignKey/OneToOneField because it may not be in the same database
3737 # and Django does not allow cross-database relations. Also, since we can't know the type of the UserModel PK,
3838 # we store it as a string to normalize.
39- user_pk = models .CharField (max_length = 255 , unique = True ) # type: ignore
40- data = models .BinaryField (null = True , blank = True ) # type: ignore
39+ user_pk = models .CharField (max_length = 255 , unique = True )
40+ data = models .BinaryField (null = True , blank = True )
4141
4242
4343@receiver (pre_delete , sender = get_user_model (), dispatch_uid = "reactpy_delete_user_data" )
0 commit comments