我嘗試運行我的服務器然后我得到了這個updated_at=models.DataField(auto_now_add=True) AttributeError: module 'django.db.models' has no attribute 'DataField'根據錯誤行,以下是檢測到錯誤的確切位置的代碼。 id=models.AutoField(primary_key=True) name=models.CharField(max_length=225) email=models.CharField(max_length=224) password=models.CharField(max_length=225) created_at=models.DateField(auto_now_add=True) updated_at=models.DataField(auto_now_add=True) objects=models.Manaager()請幫助我,因為我是 python 新手
AttributeError:模塊“django.db.models”沒有屬性“DataField”
慕蓋茨4494581
2023-07-11 17:12:20