I have a database table called Person contains following columns:
Id,
first_name,
last_name,
So is there any way to assign different name to table fields in django model. like this
class Person(models.Model):
firstname = models.CharField(max_length = 30)
lastname = models.CharField(max_length = 30)
firstname instead of first_name
and
lastname instead of last_name