creation of a model in django

from django.db import models

class YourModelName(models.Model): your_field_name = models.CharField(max_length=100) your_another_field = models.IntegerField() # Add more fields as needed

Run python manage.py makemigrations to create migrations for the model

Run python manage.py migrate to apply the model to the database