django model specify table name

Solutions on MaxInterview for django model specify table name by the best coders in the world

showing results for - "django model specify table name"
Angèle
11 Jun 2020
1class TempUser(models.Model):
2    first_name = models.CharField(max_length=100)
3    // ....
4    class Meta:
5        db_table = "tbl_temp_users"