django为model设置表名
class redis_data(models.Model):
class Meta:
db_table='redis_data'
key=models.CharField(max_length=128)
value=models.CharField(max_length=128)
class Meta:
db_table='redis_data'
key=models.CharField(max_length=128)
value=models.CharField(max_length=128)