To develop a Django application to store and retrieve data from a database using Object Relational Mapping(ORM).
Include your ER diagram here
Fork and clone the repositary in to your IDE.
Create a django project and an app and a superuser account and run the server.
Modify changes in settings and write ur code on models and admin and run the server.
###STEP 4: Login in to admin using your superuser account and populate the records.
from django.db import models
from django.contrib import admin
# Create your models here.
class Student(models.Model):
studentname = models.CharField(max_length=100,primary_key= True)
refno = models.CharField(max_length=100)
lastname= models.CharField(max_length=80)
emailid = models.EmailField()
age=models.CharField(max_length=10)
mobile=models.CharField(max_length=10)
class StudentAdmin(admin.ModelAdmin):
list_display = ('studentname','refno','lastname','emailid','age','mobile')
Thus we developed a Django application to store and retrieve data from a database using Object Relational Mapping(ORM).

