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.
Login in to admin using your superuser account and populate the records.
from django.db import models
from django.contrib import admin
class Employee (models.Model):
emp_id=models.CharField(primary_key=True,max_length=4,help_text='Employee ID')
ename=models.CharField(max_length=50)
post=models.CharField(max_length=20)
phonenumber=models.IntegerField()
salary=models.IntegerField()
class EmployeeAdmin(admin.ModelAdmin):
list_display=('emp_id','ename','post','phonenumber','salary')Thus we developed a Django application to store and retrieve data from a database using Object Relational Mapping(ORM).



