[Answer]-Why does django/tastypie with postgresql concatenate models_?

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'

Leave a comment