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
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
python manage.py makemigrations
to create migrations for the modelpython manage.py migrate
to apply the model to the database