1👍
✅
Django prefixes table names with the name of the app in which they’re defined and an underscore. Did you create the table in postgres manually or did you let django create it? You can tell django what the name of the table should be by setting db_table in the model’s meta. More info in the docs.
class Member(models.Model):
id = models.IntegerField()
class Meta:
db_table = 'member'
Source:stackexchange.com