django example
✅ Step 1: Model (models.py)
This defines the structure of your database table.
pythonCopyEdit# models.py
from django.db import models
class Patient(models.Model):
name = models.CharField(max_length=100)
email = models.EmailField()
✅ Step 2...
djangopython.hashnode.dev5 min read