How to specify the table name for a model? django code example
Example: django model specify table name
class TempUser(models.Model):
first_name = models.CharField(max_length=100)
// ....
class Meta:
db_table = "tbl_temp_users"
class TempUser(models.Model):
first_name = models.CharField(max_length=100)
// ....
class Meta:
db_table = "tbl_temp_users"