1👍
check out the official example (models)
models in the django orm look like this
from django.db import models
class MyModel(models.Model):
foo = models.IntegerField() # a field in the model
You will need to read the official documentation or check out other django applications.
👤yamm
Source:stackexchange.com