change default table name django orm 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"